@extends('layouts.admin') @section('header-content') @endsection @section('content')
Filter @if( Auth::user()->can('modify_sales')) @endif
All Booked Orders
@if(!empty($orders[0]))
@foreach($orders as $key=>$order)
@if(isset($order->book_by)){{$order->book_by->firstname.' '.$order->book_by->lastname}} @endif
  • Order #:  {{$order->id}}
  • Booked on: {{date('d-m-Y', strtotime($order->created_at))}}
  • Price Changes: @if($order->is_discounted==true) Yes @else No @endif
  • Payment: {{round($order->payment,2)}}
  • @if(isset($order->shop)){{$order->shop->name.' ('.$order->shop->customer_type.')'}} @endif
  • Discounted: @if($order->discount!=0) Yes @else No @endif
@endforeach
{{ $orders->links() }}
@else

No Records Found

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