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

{{ $head ?? '' }}

@method('PUT') @csrf

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


{{$order->id}}

{{$order->date}}

{{$order->recieve_date}}

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

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


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

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

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

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

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

{{$order->discount_offer ?? '0'}}

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

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


{{--

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

--}}

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

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

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

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


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

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

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

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

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

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

@if($order->address->latitude && $order->address->longitude)
@endif

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


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

{{ $row->product->currentDescription->title }} {{$row->option_id ? (' - '.$row->option->currentDescription->title ) : '' }}

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

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

{{ $row->count}}

{{ $row->total}}

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