{{-- SUCCESS MESSAGE --}} @if(session('success'))
{{ session('success') }}
@endif {{-- ERROR MESSAGE --}} @if(session('error'))
{{ session('error') }}
@endif {{-- SEARCH + ACTIONS --}}
Export
@csrf
{{-- BULK ACTION --}}
@forelse($orders as $order) {{-- View Modal --}} @include('merchant.orders.view-modal',['order'=>$order]) @empty @endforelse
Order No Customer Phone Pickup Status Payment Amount Date Actions
#{{ $order->order_no }} {{ $order->customer_name }} {{ $order->customer_phone }} {{ $order->pickup_location }} {{ ucfirst($order->status) }} {{ strtoupper($order->payment_type) }} LKR {{ number_format((float)$order->amount,2) }} {{ $order->created_at->format('d M Y') }} {{-- View --}} {{-- Edit --}} {{-- Delete --}} @csrf @method('DELETE')
No orders found
{{ $orders->links() }}
{{-- SELECT ALL SCRIPT --}}