@php
$totalQty = 0;$totalSales = 0;
@endphp
@if(!empty($paymentSummaryData))
@php
$total_cash_amount=$total_card_amount=$total_refund=$total_payments=$total_transactions='0.00';
@endphp
@foreach($paymentSummaryData as $tList)
@if(!empty($tList['date']))
@php
$total_cash_amount+=$tList['total_cash_amount'];
$total_card_amount+=$tList['total_card_amount'];
$total_refund+=$tList['total_refund'];
$total_payments+=$tList['total_payments'];
$total_transactions+=$tList['total_transactions'];
@endphp
{{ $tList['date'] }} |
{{ $tList['total_cash_amount'] }} |
{{ number_format($tList['total_card_amount'],2) }} |
{{ number_format($tList['total_refund'],2) }} |
{{ $tList['station_name'] }} |
{{ number_format($tList['total_payments'],2) }} |
{{ $tList['total_transactions'] }} |
@endif
@endforeach
|
{{ __('lbl.total') }} |
{{ number_format($total_cash_amount,2) }} |
{{ number_format($total_card_amount,2) }} |
{{ number_format($total_refund,2) }} |
|
{{ number_format($total_payments,2) }} |
{{ $total_transactions }} |
@else
{{ __('lbl.no_record_found') }} |
@endif