@extends('layouts.admin') @section('header-content') @endsection @section('content')
Filter @if( Auth::user()->can('modify_sales')) @endif
All Orders
@if(!empty($orders[0]))
@foreach($orders as $key=>$order) @endforeach
# Shop Booked By Price Discount Payment Delivery Date Status Remarks Action
{{$key+1}} @if(isset($order->shop->name)) {{$order->shop->name}} @endif {{$order->book_by->firstname.' '.$order->book_by->lastname}} {{$order->price}} {{$order->discount}} {{$order->payment}} {{$order->date_to_deliver}} {{$order->status}} {{$order->remarks}} @if( Auth::user()->can('modify_sales'))
{!! method_field('DELETE') !!} {!! csrf_field() !!}
@endif

{{ $orders->links() }}
@else

No Records Found

@endif
@if(!empty($orders[0]))
@foreach($orders as $key=>$order) @endforeach
# Shop Invoice # Booked By Price Discount Payment Delivery Date Status Remarks
{{$key+1}} @if(isset($order->shop->name)) {{$order->shop->name}} @endif {{$order->invoice_no}} {{$order->book_by->firstname.' '.$order->book_by->lastname}} {{$order->price}} {{$order->discount}} {{$order->payment}} {{$order->date_to_deliver}} {{$order->status}} {{$order->remarks}}

{{ $orders->links() }}
@else

No Records Found

@endif
@if(!empty($orders[0]))
@foreach($orders as $key=>$order) @endforeach
# Shop Booked By Price Discount Payment Delivery Date Status Remarks Action
{{$key+1}} @if(isset($order->shop)) {{$order->shop->name}} @endif {{$order->book_by->firstname.' '.$order->book_by->lastname}} {{$order->price}} {{$order->discount}} {{$order->payment}} {{$order->date_to_deliver}} {{$order->status}} {{$order->remarks}} @if( Auth::user()->can('modify_sales'))
{!! method_field('DELETE') !!} {!! csrf_field() !!}
@endif

{{ $orders->links() }}
@else

No Records Found

@endif
@if(!empty($orders[0]))
@foreach($orders as $key=>$order) @endforeach
# Shop Booked By Price Discount Payment Delivery Date Status Remarks Action
{{$key+1}} @if(isset($order->shop->name)) {{$order->shop->name}} @endif {{$order->book_by->firstname.' '.$order->book_by->lastname}} {{$order->price}} {{$order->discount}} {{$order->payment}} {{$order->date_to_deliver}} {{$order->status}} {{$order->remarks}} @if( Auth::user()->can('modify_sales'))
{!! method_field('DELETE') !!} {!! csrf_field() !!}
@endif

{{ $orders->links() }}
@else

No Records Found

@endif
@if(!empty($orders[0]))
@foreach($orders as $key=>$order) @endforeach
# Shop Booked By Price Discount Payment Delivery Date Status Remarks
{{$key+1}} @if(isset($order->shop->name)) {{$order->shop->name}} @endif {{$order->book_by->firstname.' '.$order->book_by->lastname}} {{$order->price}} {{$order->discount}} {{$order->payment}} {{$order->date_to_deliver}} {{$order->status}} {{$order->remarks}}

{{ $orders->links() }}
@else

No Records Found

@endif
@endsection @section('footer-content') @endsection