@extends('admin.layout.master') @section('title') Order @endsection @section('content')
Active Order
@forelse($active_orders as $a=>$active_order) @empty @endforelse
Id Name Email Phone Address City Zipcode Price Status Detail
{{ $a+1 }} {{ $active_order->fname }} {{ $active_order->lname }} {{ $active_order->email }} {{ $active_order->phone }} {{ $active_order->address }} {{ $active_order->city }} {{ $active_order->zipcode }} ${{ $active_order->price }} {{ $active_order->status }} Detail

Completed Order
@forelse($completed_orders as $c=>$completed_order) @empty @endforelse
Id Name Email Phone Address City Zipcode Price Status Detail
{{ $c+1 }} {{ $completed_order->fname }} {{ $completed_order->lname }} {{ $completed_order->email }} {{ $completed_order->phone }} {{ $completed_order->address }} {{ $completed_order->city }} {{ $completed_order->zipcode }} ${{ $completed_order->price }} Detail
@endsection @section('script') @endsection