Invoice Report
Period : {{ $period }}
@php $total_qty = 0; $total_gross = 0; $total_disc = 0; $total_nett = 0; $total_cash = 0; $total_card = 0; @endphp @foreach ($data as $item) @php $total_qty += $item->qty; $total_gross += $item->gross; $total_disc += $item->disc; $total_nett += $item->nett; $total_cash += $item->cash; $total_card += $item->card; @endphp @endforeach
{{ __('Warehouse') }} {{ __('No') }} {{ __('Date') }} {{ __('Time') }} {{ __('User') }} {{ __('Sales') }} {{ __('Remark') }} {{ __('Qty') }} {{ __('Gross') }} {{ __('Disc') }} {{ __('Nett') }} {{ __('Cash') }} {{ __('Card') }}
{{ Str::limit(strip_tags($item->whs), 50) }} {{ $item->no }} {{ \Carbon\Carbon::parse($item->date)->format('d/m/Y') }} {{ $item->time }} {{ $item->user }} {{ $item->sales }} {{ $item->remark }} {{ $item->qty }} {{ $item->gross }} {{ $item->disc }} {{ $item->nett }} {{ $item->cash }} {{ $item->card }}
Total {{ $total_qty }} {{ $total_gross }} {{ $total_disc }} {{ $total_nett }} {{ $total_cash }} {{ $total_card }}