@extends('layouts.app') @push('style') @endpush @section('content')
| {{ __('Invoice No') }} | {{ __('Date') }} | {{ __('Customer') }} | {{ __('Order total') }} | {{ __('Payment') }} | {{ __('Fulfillment') }} | {{ __('Item(s)') }} | {{ __('Invoice') }} |
|---|---|---|---|---|---|---|---|
| {{ $row->order_no }} | {{ $row->created_at->format('d-F-Y') }} | @if(empty($row->user_id)) {{ __('Guest Order') }} @else {{ $row->customer->name ?? '' }} @endif | {{ amount_format($row->total) }} | @if($row->payment_status==2) {{ __('Pending') }} @elseif($row->payment_status==1) {{ __('Complete') }} @elseif($row->payment_status==0) {{ __('Cancel') }} @elseif($row->payment_status==3) {{ __('Incomplete') }} @endif | @if($row->status=='pending') {{ __('Awaiting processing') }} @elseif($row->status=='processing') {{ __('Processing') }} @elseif($row->status=='ready-for-pickup') {{ __('Ready for pickup') }} @elseif($row->status=='completed') {{ __('Completed') }} @elseif($row->status=='archived') {{ __('Archived') }} @elseif($row->status=='canceled') {{ __('Canceled') }} @else {{ $row->status }} @endif | {{ $row->order_items_count }} |