@extends('layouts.admin.app') @section('title', translate('Customer Details')) @push('css_or_js') @endpush @section('content')
{{ translate('SL') }} | {{ translate('order_ID') }} | {{ translate('total_Amount') }} | {{ translate('order_status') }} | {{ translate('order_date') }} | {{ translate('action') }} |
---|---|---|---|---|---|
{{ $orders->firstItem() + $key }} | {{ $order['id'] }} | {{ \App\CentralLogics\Helpers::set_symbol($order['order_amount']) }} | @if ($order['order_status'] == 'pending') {{ translate('pending') }} @elseif($order['order_status'] == 'confirmed') {{ translate('confirmed') }} @elseif($order['order_status'] == 'processing') {{ translate('processing') }} @elseif($order['order_status'] == 'out_for_delivery') {{ translate('out_for_delivery') }} @elseif($order['order_status'] == 'delivered') {{ translate('delivered') }} @elseif($order['order_status'] == 'failed') {{ translate('failed_to_deliver') }} @else {{ str_replace('_', ' ', $order['order_status']) }} @endif |
{{ date('d M Y', strtotime($order['created_at'])) }}
{{ date('h:i A', strtotime($order['created_at'])) }}
|