@extends('layouts.delegates_dashboard_layout') @section('title') {{Session::has('lang')&&Session::get('lang')=='en'?' order details':' تفاصيل الطلب'}} @endsection @section('style') @endsection @section('content')
{{trans('delegates_dashboard.order_details')}}

{{trans('delegates_dashboard.orders')}} / {{trans('delegates_dashboard.order_details')}}

@include('delegates_dashboard.orders.'.$order->type) @if($order->store_id)
{{trans('delegates_dashboard.store_details')}}
{{$order->store->name}}

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

{{$order->store->rate}}
@endif
{{trans('delegates_dashboard.details')}}
{{trans('delegates_dashboard.order_number')}}
#{{$order->citc_referenceCode??''}}
{{trans('delegates_dashboard.created_at')}}
{{$order->created_at->format('m-d-y')}}
{{trans('delegates_dashboard.delivery_time')}}
{{$order->deliver_time??''}}
{{trans('delegates_dashboard.payment_type')}}
{{$order->payment_type}}
{{trans('delegates_dashboard.address')}}
{{$order->receive_address}}
{{trans('delegates_dashboard.price')}}
{{$order->price}} {{trans('delegates_dashboard.sr')}}
{{trans('delegates_dashboard.delivery_cost')}}
{{$order->delivery_price}} {{trans('delegates_dashboard.sr')}}
{{trans('delegates_dashboard.discount')}}
{{$order->discount}} {{trans('delegates_dashboard.sr')}}
{{trans('delegates_dashboard.total_price')}}
{{$order->total_price}} {{trans('delegates_dashboard.sr')}}
{{trans('delegates_dashboard.details')}}

{{$order->description}}

@if($order->have_invoice=='true')
{{trans('delegates_dashboard.invoice')}}
@endif
{{trans('delegates_dashboard.details')}}
@foreach($products as $product)
{{$product->name}}

{{$product->desc}}

{{$product->price}} {{trans('delegates_dashboard.sr')}}
{{trans('delegates_dashboard.quantity')}} : {{$product->qty}}

@endforeach
@if($order->user_id)
{{trans('delegates_dashboard.user_info')}}
{{$order->user->name}}

0{{$order->user->phone}}

@endif @if($order->delegate_id)
{{trans('delegates_dashboard.delegate_info')}}
{{$order->delegate->name}}

0{{$order->delegate->phone}}

@endif @endsection @section('scripts') @endsection