{{ __('profile-edit.label-3') }}

{{ __('profile-edit.txt-4') }}

@php $orders = App\Http\Controllers\HelperController::getOrders(Auth::user()->id); $locale = App::getLocale(); $iso_format = 'MMMM D, YYYY [at] h:mm A'; if($locale == 'fr') { $iso_format = 'D MMMM YYYY [à] HH:mm'; } @endphp @if (count($orders)==0)

{{ __('profile-edit.nothing') }}

@else {{ __('Date') }}{{ __('profile-edit.number-thead') }}{{ __('profile-edit.status-thead') }}{{ __('profile-edit.city-thead') }}{{ __('profile-edit.address-thead') }}{{ __('Total') }} @foreach ($orders as $order) {{ $order->created_at->locale($locale)->isoFormat($iso_format); }} {{ $order->order_number }} {{ $order->status }} {{ $order->city }} {{ $order->address1 . ', ' . $order->address2 }} {{ $order->total_amount }} FCFA @endforeach
@endif