@extends('front::user.layouts.master') @section('user-content')
@if($orders->count())

{{ trans('front::messages.profile.all-orders') }}

@foreach ($orders as $order) @endforeach
# {{ trans('front::messages.profile.order-number') }} {{ trans('front::messages.profile.order-registration-date') }} {{ trans('front::messages.profile.total-amount') }} {{ trans('front::messages.profile.payment-status') }} {{ trans('front::messages.profile.details') }}
{{ $loop->iteration}} {{ $order->id }} {{ jdate($order->created_at)->format('%d %B %Y') }} {{ trans('front::messages.currency.prefix') }}{{ number_format($order->price) }} {{ trans('front::messages.currency.suffix') }} @if($order->status == 'paid') {{ trans('front::messages.profile.paid') }} @if ($order->reserved())(رزرو شده) @endif @elseif($order->status == 'unpaid') {{ trans('front::messages.profile.unpaid') }} @else {{ trans('front::messages.profile.canceled') }} @endif
@else

{{ trans('front::messages.profile.there-nothing-show') }}

@endif
{{ $orders->links('front::components.paginate') }}
@endsection