@extends('layouts.master') @section('title', 'Authorize Pending Requests') @section('style') @endsection @section('script') @endsection @section('content') @include('layouts.sidebar') @include('layouts.header-sub')
@yield('title')
History
@if ($orders->isEmpty())
No requests

There are no requests waiting for authorization.

@else @foreach ($orders as $i => $order) {{-- ๐Ÿ”— LINK เน„เธ› summary --}} @endforeach
No. Order Code Customer Name Total Request Date Status Actions
{{ $i + 1 }} {{ $order->order_code }} {{ $order->order_customer_name }} {{ number_format($order->order_total_price, 2) }} {{ $order->order_request_date ? \Carbon\Carbon::parse($order->order_request_date)->format('d M Y') : '-' }} Waiting Authorize
{{-- ๐Ÿ” View --}} ๐Ÿ” {{-- โœ… Approve --}}
@csrf
{{-- โŒ Reject --}}
@endif
@include('layouts.footer') @endsection