{{__('order tracking code')}} {{$order->tracking_code}}

@if ($errors->any())
لطفا نقص های گفته شده را برطرف کنید
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (session('status'))
{{__('The operation was successful')}}
{{session('status')}}
@endif

{{__('Order Details')}}

{{__('Order Tracking code')}}: {{$order->tracking_code}}
{{__('User Name')}}: {{$order->name}}
{{__('Phone Number')}}: {{$order->phone}}
{{__('Email')}}: {{$order->email}}
{{__('Status')}}: {{__('order_status.'.$order->status->value)}}
{{__('date')}}: {{verta($order->created_at)->format('j %B Y (H:i)')}}
{{__('Product Type')}}: {{$order->product_type}}
{{__('Order Type')}}: {{__('dictionary.'.$order->type->value)}}
@foreach($order_meta as $key => $value) @if($key == 'product_id') @continue @endif @if($key == 'link')
{{__('dictionary.'.$key)}}:

{{$value}}

@continue @endif @if($key == 'service_provider')
{{__('dictionary.'.$key)}}: {{$value}}
@continue @endif
{{__('dictionary.'.$key)}}: {{$value}}
@endforeach
@if ($order->products != null && $order->products->isNotEmpty())
@php $total = 0 ; @endphp @forelse ($order->products as $item) @php $total = $total + ($item->price * $item->count) ; @endphp @empty @endforelse
# {{__('Product Name')}} {{__('Unit Price')}} {{__('Count')}} {{__('Total Price')}}
{{$loop->iteration }}
{{ $item->name }}
{{ number_format($item->price) }} {{ $item->count }} {{ number_format($item->price * $item->count) }}
{{__('No product found')}}
{{__('Total Price')}}: {{ number_format($total) }}
@endif
@csrf
@csrf @method('PATCH')
{{__('User Name')}}: {{$user->name ? $user->name : __('not defined')}}
{{__('Phone Number')}}: {{$user->phone ? $user->phone : __('not defined')}}
{{__('email')}}: {{$user->email ? $user->email : __('not defined')}}
{{__('Joined At')}}: {{$user->created_at ? verta($user->created_at)->format(' j %B Y') : __('not defined')}}
@if (isset($order->delivery))

{{__('Delivery Information')}}


{{__('Province')}}: {{$order->delivery->address->getProvinceName()}}
{{__('City')}}: {{$order->delivery->address->city}}
{{__('address')}}: {{$order->delivery->address->address}}
{{__('plaque')}}: {{$order->delivery->address->plaque}}
{{__('ZIP code')}}: {{$order->delivery->address->zip_code}}

{{__('Delivery date')}} {{$order->delivery->date}}
{{__('Period')}}: {{$order->delivery->delivery_time->getNameOfDay()}} ( {{verta($order->delivery->delivery_time->from)->format('h a')}} {{__('up to')}} {{verta($order->delivery->delivery_time->until)->format('h a')}} )
@endif