@extends('layouts.page') @section('title') DR Donation Report @endsection @section('navs') {{ Form::open(['method' => 'get', 'id' => 'idThisForm']) }} {!! Form::select('date_type', ['' => 'Date Range']+AppHelper::options('DateRange'), request()->date_type, ['class' => 'form-control1 mr-2', 'onchange'=>'updateDatesRange(this)']) !!} {{ Form::date('from_date', $from_date) }} {{ Form::date('to_date', $to_date) }} {!! Form::select('account', ['' => 'Account']+AppHelper::options('accounts_lc'), request()->account, ['class' => 'form-control1 me-1', 'style' => 'width: 100px;']) !!} {{ Form::submit('Get', ['class' => 'btn btn-primary btn-sm me-1']) }} {{ Form::button('Reset', ['class' => 'btn btn-outline-info btn-sm', 'onclick' => 'clearForm(document.getElementById("idThisForm"))']) }} {{ Form::close() }} @endsection @section('content')
@foreach($report as $month => $rep)
Warning: Undefined variable $rep in /var/www/html/pruthvi/resources/views/donation_submission/dr_report.blade.php on line 43

Warning: Trying to access array offset on null in /var/www/html/pruthvi/resources/views/donation_submission/dr_report.blade.php on line 43

Warning: Undefined variable $rep in /var/www/html/pruthvi/resources/views/donation_submission/dr_report.blade.php on line 44

Warning: Trying to access array offset on null in /var/www/html/pruthvi/resources/views/donation_submission/dr_report.blade.php on line 44

Warning: Undefined variable $rep in /var/www/html/pruthvi/resources/views/donation_submission/dr_report.blade.php on line 45

Warning: Trying to access array offset on null in /var/www/html/pruthvi/resources/views/donation_submission/dr_report.blade.php on line 45
@endforeach
Month With DR Without DR Total Amount
{{ \Carbon\Carbon::createFromFormat('Y-m', $month)->format('M-Y') }} {{ AppHelper::numberUS($rep['with_dr']) }} {{ AppHelper::numberUS($rep['without_dr']) }} {{ AppHelper::numberUS($rep['total']) }}
Total {{AppHelper::numberUS($drt)}} {{AppHelper::numberUS($wdrt)}} {{AppHelper::numberUS($t)}}
@endsection