Logo @if(!$is_pdf) Back @endif
{{ $company->company_name }}
{{ $company->address }}, {{ $company->city }}, {{ $company->state }}
Phone: {{ $company->phone1 }}
GST NO: {{ $company->gst_no }}

Today's Order

@if(!$is_pdf)
Reset
@endif @php $grand_total = 0; $advance = 0; @endphp @if(isset($orders) && count($orders) > 0) @foreach($orders as $order) @php $grand_total += $order->grandtotal; $advance += $order->advance; @endphp @endforeach @else @endif
Order No Order Date Customer Name Order Amount Order Status Payment Status
{{$order->order_code}} {{ date('d-m-Y',strtotime($order->order_date))}} {{$order->customer_name}} {{$order->grandtotal}} {{$order->status}} {{$order->payment_status}}
No data available to display.
Order Total {{ number_format($grand_total, 2) }}

@if(!$is_pdf) Download @endif