@extends('website.layouts.app') @section('content') @include('website.layouts.crumb')

{{ trans('home.orderDetails') }}

{{ trans('home.orderNumber') }} #{{ @$order->order_code }}
{{ trans('home.subTotal') }} {{ @$order->price . ' ' . trans('admin.LE') }}
{{ trans('home.tax') }} {{ @$order->tax . ' ' . trans('admin.LE') }}
{{ trans('home.deliverys') }} {{ @$order->delivery . ' ' . trans('admin.LE') }}
{{ trans('home.total') }} {{ @$order->total_price . ' ' . trans('admin.LE') }}
@if(isset($products) && !empty($products))

{{ trans('admin.product') }}

@foreach($products as $product) @endforeach
{{ getProduct($product->product_id)['name_' . getLang()] }} {{ $product->qty . ' x ' . getProduct($product->product_id)->price . ' ' . trans('admin.LE') }}
@endif

{{ trans('home.customerDetails') }}

{{ trans('admin.name') }} {{ @$user->name }}
{{ trans('admin.email') }} {{ @$user->email }}
{{ trans('admin.phone') }} {{ @$order->phone }}
{{ trans('admin.address') }} {{ @$order->address }}
{{ trans('home.orderNotes') }} {{ @$order->order_notes }}
{{ trans('admin.area') }} @if(session()->get('lang') == 'en') {{ @getAreaByID($order->area)->name_en }} @else {{ @getAreaByID($order->area)->name_ar }} @endif
{{ trans('admin.status') }}
{{ trans('admin.WaitingAction') }}
{{ trans('admin.confirmed') }}
{{ trans('admin.shipped') }}
{{ trans('admin.deliverd') }}
@endsection