@push('css') @endpush
Order Reports

@php $i=0; $total=0; @endphp @foreach ($this->dateFilter($orders) as $order) @endforeach {{-- --}}
SL Order Code Business Name Date Total Status
{{ ++$i }} {{ $order->code }} @if($order->Contact) {{ $order->Contact->business_name }} @endif {{date('d F Y', strtotime($order->date))}} {{ $order->payable_amount }} @php $total += $order->payable_amount; @endphp {{ $order->status }}
Total
{{$total}} 47600.00
{{ $orders->links('pagination::bootstrap-4') }}
@push('scripts') {{-- --}} {{-- --}} {{-- --}} @endpush