{{__('main.my_orders')}}
{{__('main.back')}}
{{__('main.orders')}}
@foreach ($active_orders as $item)
{{__('main.order_id')}}: #{{ $item->order_number }}
{{ \Carbon\Carbon::parse($item->date)->format('h:i A, d-m-Y') }}
{{__('main.total')}} : {{ getFormattedCurrency($item->total) }}
{{getOrderStatus($item->status)}}
{{__('main.view_details')}}
@endforeach
@if ($activeOrder)
{{__('main.order_summary')}} (#{{$activeOrder->order_number}})
@foreach ($activeOrder->details as $detail)
@php $item = \App\Models\Product::whereId($detail->item_id)->first(); @endphp
@if ($item && $item->image && file_exists(public_path($item->image))) @else @endif
{{ $detail->quantity }}
{{ $detail->item_name }}
{{ $detail->notes ?? '-' }}
@endforeach
{{__('main.sub_total')}}
{{ getFormattedCurrency($activeOrder->sub_total) }}
{{__('main.tax_total')}}
{{ getFormattedCurrency($activeOrder->tax_total) }}
{{__('main.total')}}
{{ getFormattedCurrency($activeOrder->total) }}
@else
{{__('main.click_on_order')}}
@endif
@push('head') @endpush