@extends('layout') @section('title', 'Orders List') @section('content') @if(session('customer_id')) @endif

Order List

@forelse($products as $index => $item) @empty @endforelse
{{ __('text.order')}} {{ __('text.id')}} {{ __('text.name') }} {{ __('text.order_date') }} {{ __('text.status') }} {{ __('text.action')}}
{{ $item->order_id }} {{ $item->first_name }} {{ $item->last_name }} {{ $item->date_added}} @if($item->status == 0) {{ __('text.pending') }} @elseif($item->status == 1) {{ __('text.complete') }} @endif
{{ __('text.no_records_found') }}
@endsection