{{-- --}} {{-- --}} {{-- --}} @if (!empty($download) && $download === 'no') @endif {{-- {{ dump ($letter) }}--}}

{{ $station->name }}

تاریخ: {{ $date }}

دیسپنسر

نازل

شیفت صبح A

شروع شیفت
پایان شیفت
جمع فروش

شیفت عصر B

شروع شیفت
پایان شیفت
جمع فروش

شیفت شب C

شروع شیفت
پایان شیفت
جمع فروش
@foreach($sells as $key => $sell) {{-- {{ $sell->sell_id }}--}} @if ($key === 0 || $key%3 === 0)
@php $p = $key-1 @endphp @if($key === 0)

{{ $sell->dispenser_name }}

@elseif($sell->dispenser_id !== $sells[$p]->dispenser_id)

{{ $sell->dispenser_name }}

@else

@endif
{{ $sell->side }}
@endif
{{ $sell->number }}
{{ $sell->end_number }}
{{ $sell->subtraction }}
@if (($key+1)%3 === 0)
@endif @endforeach

جمع کل

@foreach($totals as $key => $total)
{{ number_format($total->total_credit+$total->total_cash) }}
{{ $total->subtraction }}
@endforeach
@foreach($totals as $key => $total)
نفرات شیفت
{{ $total->name }} {{-- @foreach($operator['operator'] as $op)--}} {{-- {{ $op }}
--}} {{-- @endforeach--}}
@endforeach
@foreach($totals as $key => $total)
فروش نقدی
{{ number_format($total->total_cash) }}
@endforeach
@foreach($totals as $key => $total)
فروش کارتخوان
{{ number_format($total->total_credit) }}
@endforeach

جمع کل مقدار فروش

@foreach($totals as $key => $total)
{{ number_format($total->total_cash + $total->total_credit) }}
@endforeach

جمع کارکرد 24 ساعت

{{ $sellTotal }}

کل مبلغ کارت خوان

{{ number_format($creditTotal) }}

مبلغ کل کارت خوان و نقدی

مبلغ کل فروش 24 ساعت

{{ number_format($sellTotalAmount) }}

کل مبلغ واریز نقدی

{{ number_format($cashTotal) }}

{{ number_format($creditTotal+$cashTotal) }}