@extends('admin.layouts.container') @section('content')

{{ $head ?? '' }}

@method('PUT') @csrf

{{__('orders.details')}}


{{$order->id}}

{{$order->date}}

{{$order->way->currentDescription->title}}

{{__('orders.payment_statuses.'.$order->payment_status)}}

{{$order->shipping->currentDescription->title}}

{{$order->note}}

{{__('orders.payment_info')}}


{{$order->total_tax ?? ''}}

{{$order->shipping_cost ?? ''}}

{{$order->on_hand_cost ?? ''}}

{{$order->total_products ?? ''}}

{{$order->discount ?? ''}}

{{$order->total ?? ''}}

{{__('orders.user_info')}}


{{__('orders.user_statuses.'.$order->user_status)}}

{{$order->user->name ?? ''}}

{{$order->user->email ?? ''}}

{{$order->user->phone ?? ''}}

{{__('orders.address_details')}}


{{$order->address->address}}

{{ $order->address->country->currentDescription->title }}

{{ $order->address->city->currentDescription->title }}

{{__('orders.products')}}


@foreach($order->products as $key=>$row)

{{ $row->product->code }}

{{ $row->product->currentDescription->title }}

{{ $row->product->category->currentDescription->title }}

{{ $row->product->subCategory->currentDescription->title }}

{{ $row->count}}

{{ $row->total}}

@endforeach
@endsection @section('inner_js') - @endsection