@extends('layouts.account') @section('title', __('My orders')) @section('account') @php $m = $shop->money; @endphp

{{ __('Orders') }}

@if ($orders)
@foreach ($orders as $o)

{{ $o->order_number }}

{{ \Illuminate\Support\Carbon::parse($o->placed_at)->translatedFormat('j M Y') }} ยท {{ trans_choice(':count item|:count items', $o->item_count, ['count' => $o->item_count]) }}

{{ $m->format($o->grand_total) }}
@endforeach
@include('partials.pagination', ['result' => $result]) @else {{ __('Start shopping') }} @endif @endsection