@extends('layouts.admin') @section('content')
Daily Report AED @include('admin.errors.form-errors')
@lang('student.filter by')

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