@extends('admin.layout.master') @section('title') Order @endsection @section('content')
Pending Order
@forelse($pending_orders as $p=>$pending_order) {{-- --}} @empty @endforelse
Id Name Email Phone Date Time Message Status
{{ $p+1 }} {{ $pending_order->fname }} {{ $pending_order->lname }} {{ $pending_order->email }} {{ $pending_order->phone }} {{ $pending_order->date }} {{ $pending_order->time }} Detail

Active Order
@forelse($active_orders as $a=>$active_order) {{-- --}} @empty @endforelse
Id Name Email Phone Date Time Message Status
{{ $a+1 }} {{ $active_order->fname }} {{ $active_order->lname }} {{ $active_order->email }} {{ $active_order->phone }} {{ $active_order->date }} {{ $active_order->time }} Detail

Completed Order
@forelse($completed_orders as $c=>$completed_order) @empty @endforelse
Id Name Email Phone Date Time Message Status
{{ $c+1 }} {{ $completed_order->fname }} {{ $completed_order->lname }} {{ $completed_order->email }} {{ $completed_order->phone }} {{ $completed_order->date }} {{ $completed_order->time }} {{ $completed_order->status }}

Rejected Order
@forelse($rejected_orders as $r=>$rejected_order) @empty @endforelse
Id Name Email Phone Date Time Message Status
{{ $r+1 }} {{ $rejected_order->fname }} {{ $rejected_order->lname }} {{ $rejected_order->email }} {{ $rejected_order->phone }} {{ $rejected_order->date }} {{ $rejected_order->time }} {{ $rejected_order->status }}
@endsection @section('script') @endsection