Daily Report - EGP
@include('admin.errors.form-errors')
| Date |
@foreach ($current_wallets as $wallet )
{{$wallet->created_at->format('d-m-Y')}} |
@endforeach
| Starting Balance |
@foreach ($current_wallets as $wallet )
{{$wallet->amount}} EGP |
@endforeach
| Income |
| 1-Recharge Transactions |
@foreach ($current_opay_transaction as $total )
{{$total}} EGP |
@endforeach
| 2-Refund Installment & Class |
@foreach ($current_refunded_installments_and_classes as $total )
{{$total}} EGP |
@endforeach
| 3-Salfney |
@foreach ($current_salefny_recharge as $total )
{{$total}} EGP |
@endforeach
| 4-Manual Recharge |
@foreach ($current_manual_recharge as $total )
{{$total}} EGP |
@endforeach
| 5-Wallet Transfer to EGP |
@foreach ($current_wallet_transfer_to_EGP as $total )
{{$total}} EGP |
@endforeach
| Outcome |
| 1-Attendance Transaction |
@foreach ($current_attendance_transactions as $key=> $total )
@if ($current_attendance_transactions_deleted_or_refunded[$key] > 0)
@endif
|
@endforeach
| 2-Intsallment Transaction |
@foreach ($current_installment_transactions as $key =>$total )
@if ($current_installment_transactions_deleted_or_refunded[$key] > 0)
@endif
@endforeach
|
| 3-Refund Visa |
@foreach ($current_refund_visa as $total )
{{$total}} EGP |
@endforeach
| 4-Withdraw Salfney |
@foreach ($current_withdrawn_salefny_recharge as $total )
{{$total}} EGP |
@endforeach
| 5-Wallet Transfer To AED |
@foreach ($current_wallet_transfer_to_AED as $total )
{{$total}} EGP |
@endforeach
| Ending Balance |
@foreach ($ending_balance as $total )
{{$total,2}} EGP |
@endforeach
| Website Calculated Amount |
@foreach ($current_wallets as $key => $total )
@if($key == $current_wallets->count()-1)
@if ($current_wallets_for_progress->count() == $current_wallets->count())
@if ($next_day_website_calculated != null)
{{$next_day_website_calculated->amount}} EGP
@else
In Progress...
@endif
@else
{{($current_wallets_for_progress[$key+1])->amount}} EGP
@endif
@else
{{($current_wallets[$key+1])->amount}} EGP
@endif
|
@endforeach
| Result |
@foreach ($current_wallets as $key => $total )
@if($key == $current_wallets->count()-1)
@if ($current_wallets_for_progress->count() == $current_wallets->count())
@if ($next_day_website_calculated != null)
@if( (($ending_balance[$key]) - $next_day_website_calculated->amount) > -1 && (($ending_balance[$key]) - $next_day_website_calculated->amount) < 1 && (($ending_balance[$key]) - $next_day_website_calculated->amount) != 0 )
{{'0 EGP (R)'}}
@else
{{($ending_balance[$key]) - $next_day_website_calculated->amount}} EGP
@endif
@else
In Progress...
@endif
@else
@if ((($ending_balance[$key]) - ($current_wallets_for_progress[$key+1])->amount) > -1 && (($ending_balance[$key]) - ($current_wallets_for_progress[$key+1])->amount) < 1 && (($ending_balance[$key]) - ($current_wallets_for_progress[$key+1])->amount) != 0)
{{'0 EGP (R)'}}
@else
{{($ending_balance[$key]) - ($current_wallets_for_progress[$key+1])->amount}}
@endif
@endif
@else
@if( (($ending_balance[$key]) - ($current_wallets[$key+1])->amount) > -1 && (($ending_balance[$key]) - ($current_wallets[$key+1])->amount) < 1 && (($ending_balance[$key]) - ($current_wallets[$key+1])->amount) != 0 )
{{'0 EGP (R)'}}
@else
{{($ending_balance[$key]) - ($current_wallets[$key+1])->amount}} EGP
@endif
@endif
|
@endforeach
@endsection
@section('admin-js')
@endsection