@extends('layouts.app') @section('content') @include('business_documents.styles')
| Date | Ref. | Branch | Customer | Items | Collection / Delivery | Total | Status | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $order->created_at->format('d M Y H:i') }} | {{ $order->reference }} | {{ $order->branch?->name }} | {{ $order->name }} {{ $order->phone }} | @foreach($order->items as $item) {{ \App\Models\SystemSetting::formatNumber($item['qty']) }} × {{ $item['name'] }}: {{ \App\Models\SystemSetting::formatMoney($item['total']) }} @endforeach | {{ ucfirst($order->fulfillment) }} {{ $order->address }} {{ $order->notes }} | {{ \App\Models\SystemSetting::formatMoney($order->total) }} | {{ ucfirst($order->status) }} |
@if(!in_array($order->status,['processed','rejected']))
@if($standalone && $order->status==='requested' && auth()->user()->hasPermission('website_orders.confirm'))@endif
@if(auth()->user()->canAccessModule('restaurant_bar') && auth()->user()->hasPermission('restaurant_bar.order') && (!$standalone || auth()->user()->hasPermission('website_orders.process')))@endif
@if($standalone?auth()->user()->hasPermission('website_orders.reject'):auth()->user()->hasPermission('restaurant_bar.order'))@endif
@elseif($order->restaurantOrder)Invoice {{ $order->restaurantOrder->sale?->invoice_no }}@endif
|
| No website orders found. | ||||||||
| {{ $orders->total() }} website orders | ||||||||