@php
$shell_total = !empty($shell) ? $shell->total_amount : '0';
$driveway_acc_total = !empty($driveway_account) ? $driveway_account->total_amount : '0';
$total_sale = $sale_total + $fuel_total;
$cash_sale = $total_sale - $speed->sum('total_amount') - $shell_total - $driveway_acc_total;
$amount_deposit = $deposit;
$total_variance = $amount_deposit - $cash_sale;
@endphp
{{ trans('cruds.report.fuelSale') }} |
{{ $fuel_sale}} |
@foreach($fuelsale as $item)
{{ ucfirst($item->financialCategory->title)}} |
{{ $item->amount}} |
@endforeach
{{ trans('cruds.report.fuelTotal') }} |
{{ $fuel_total}} |
@foreach($shopsale as $item)
{{ ucfirst($item->financialCategory->title)}} |
{{ $item->amount}} |
@endforeach
{{ trans('cruds.report.total_sale') }} |
{{ $total_sale}} |
@foreach($speed as $item)
{{ ucfirst($item->type)}} |
{{ $item->total_amount}} |
@endforeach
{{ trans('cruds.report.sheelCard') }} |
{{ $shell_total}} |
{{ trans('cruds.report.accountSale') }} |
{{ $driveway_acc_total}} |
{{ trans('cruds.report.cashSale') }} |
{{ $cash_sale}} |
{{ trans('cruds.report.amountDeposit') }} |
{{ $amount_deposit}} |
{{ trans('cruds.report.variance') }} |
{{ $total_variance}} |