@extends('layouts.page') @section('title') DJ 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')
@if (isset($differences) && !empty($differences)) @foreach ($differences as $diff) @endforeach
Some donations are not matching
Sno. DJ Amount Records Amount Difference
{{ $i++ }} {{ $diff->parent_amount }} {{ $diff->child_total_amount }} {{ $diff->difference }}
@endif
@foreach($report as $month => $rep)
Warning: Undefined variable $rep in /var/www/html/pruthvi/resources/views/donation_submission/dj_report.blade.php on line 80

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

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

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

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

Warning: Trying to access array offset on null in /var/www/html/pruthvi/resources/views/donation_submission/dj_report.blade.php on line 82
@endforeach
Month With DJ Without DJ Total Amount
{{ \Carbon\Carbon::createFromFormat('Y-m', $month)->format('M-Y') }} {{ AppHelper::numberUS($rep['with_dj']) }} {{ AppHelper::numberUS($rep['without_dj']) }} {{ AppHelper::numberUS($rep['total']) }}
Total {{AppHelper::numberUS($djt)}} {{AppHelper::numberUS($wdjt)}} {{AppHelper::numberUS($t)}}
@endsection