@extends('admin.layout') @section('title', __('Show order')) @section('css') @endsection @section('breadcrump')

{{ __('Order') }} #{{ $order->id }}

@endsection @section('content')
{{ __('Edit') }}

{{ __('Customer Info') }}
{{ __('Name') }}: {{ $order->name }}
{{ __('Phone') }}: {{ $order->phone }}
{{ __('Alternative Phone') }}: {{ $order->phone_2 }}
{{ __('State') }}: @if (isset($order['state'])) {{ $order['state']['name'] }} @endif
{{ __('City') }}: @if (isset($order['city'])) {{ $order['city']['name'] }} @endif
{{ __('Street') }}: {{ $order->street }}
{{ __('House') }}: {{ $order->home }}
{{ __('Flat') }}: {{ $order->flat }}
{{ __('Brand') }}: {{ $order->brand }}
{{ __('notes') }}: {{ $order->note }}
@if (isset($order['user'])) @endif
{{ __('User Info') }}
{{ __('Name') }}: {{ $order['user']['name'] }}
{{ __('Email') }}: {{ $order['user']['email'] }}
{{ __('Phone') }}: {{ $order['user']['phone'] }}
{{ __('State') }}: @if (isset($order['user']['state'])) {{ $order['user']['state']['name'] }} @endif
{{ __('City') }}: @if (isset($order['user']['city'])) {{ $order['user']['city']['name'] }} @endif
{{ __('Commission') }}: {{ price($order->commission) }}
{{ __('Total balance') }}: {{ price($order['user']['total_balance']) }}

{{ __('Seller Comment') }} :

{{ $order['comment'] }}


@foreach ($order->order_products as $key => $order_product) {{-- @dd($order_product) --}} @endforeach
{{ __('Product') }} {{ __('Type') }} {{ __('Serial Number') }} {{ __('Weight') }} {{ __('Quantity') }} {{ __('Return quantity') }} {{ __('Price') }} {{ __('Site commission') }} {{ __('Total commission') }} {{ __('Subtotal') }} {{ __('Merchant Info') }}
{{ $order_product['product']['name'] }} {{ $order_product['product']['type'] }} {{ $order_product['product']['serial_number'] }} {{ $order_product['product']['weight'] }} {{ $order_product->quantity }} {{ $order_product->return_quantity }} {{ price($order_product->product_price) }} {{ price($order_product->site_commission) }} {{ price($order_product->total_commission) }} {{$order_product->total_product_price}} {{ __('Storehouse ' . $order_product->product->storehouse) }} {{ $order_product->product->merchant->name }}
{{ __('Order Summary') }}
{{ __('Subtotal') }}: {{price($order->total_order_product_with_commission)}}
{{ __('Commission') }}: {{ price($order->commission) }}
{{ __('Shipping') }}: {{ price($order->shipping) }}
{{ __('Overweight Total Price') }}: {{ price($order->overweight_price) }}
{{ __('Total') }}: {{ price($order->total_order_price) }}
@include('admin.pages.orders.status_modal') @endsection @section('scripts') @include('admin.pages.orders.order_js') @endsection