{{ \App\CPU\translate('History_of_Order_No:') }} {{ $histories[0]->order_id?? '##' }} {{ $histories->count() }}
@forelse($histories as $history)

@if($history->status == 'pending') {{\App\CPU\translate('Pending')}} @elseif($history->status == 'confirmed') {{\App\CPU\translate('Confirmed')}} @elseif($history->status == 'processing') {{\App\CPU\translate('Packaging')}} @elseif($history->status == 'out_for_delivery') {{\App\CPU\translate('Out_for_Delivery')}} @elseif($history->status == 'delivered') {{\App\CPU\translate('delivered')}} @elseif($history->status == 'returned') {{\App\CPU\translate('returned')}} @elseif($history->status == 'failed') {{\App\CPU\translate('Failed_to_Deliver')}} @elseif($history->status == 'canceled') {{\App\CPU\translate('Canceled')}} @endif

{{$history->created_at->format('d/m/y')}} {{$history->created_at->format('h:i A')}}

{{ \App\CPU\translate('Service_Time') }} : {{$history->created_at->format('d/m/y')}} {{$history->created_at->format('h:i A')}}

@empty

{{ \App\CPU\translate('No_history_for_this_order') }}

@endforelse