@extends('frontend.layouts.frontend_design') @section('content')
@if($orderDetail) @php $establishmentAddress = ($orderDetail['establishment_address'])?$orderDetail['establishment_address']:[]; @endphp
{!!($orderDetail['topLine'])?nl2br($orderDetail['topLine']):""!!} {{$orderDetail['establishment_address']['contact_name']}}
{{($orderDetail['establishment_address']['phone'])?$orderDetail['establishment_address']['phone']:""}}
{{__('lbl.Order')}} #: {{($orderDetail['app_order_id'])?$orderDetail['app_order_id']:""}}
Date: {{($orderDetail['ogdatetime'])?$orderDetail['ogdatetime']:""}}
@if(!empty($orderDetail['order_items'])) @foreach($orderDetail['order_items'] as $orderItems) @endforeach @endif
{{__('lbl.Item')}} {{__('lbl.Qty')}} {{__('lbl.Rate')}} {{__('lbl.Price')}}
{{$orderItems['product_name']}} {{$orderItems['quantity']}} {{storecurrencyshop().number_format(floatval($orderItems['price']), 2)}} {{storecurrencyshop().number_format(floatval($orderItems['price']) * $orderItems['quantity'],2)}}
 
 
{{__('lbl.OrderSubTotal')}}: {{storecurrencyshop()}}{{($orderDetail['order_sub_total'])?number_format($orderDetail['order_sub_total'],2):0.00}}
{{ __('lbl.tax') }}: {{storecurrencyshop()}}{{($orderDetail['tax_amount'])?number_format($orderDetail['tax_amount'],2):0.00}}
{{__('lbl.Discount')}}: {{storecurrencyshop()}}{{($orderDetail['order_discount_total'])?number_format($orderDetail['order_discount_total'],2):0.00}}
{{ __('lbl.total') }}: {{storecurrencyshop()}}{{($orderDetail['order_total'])?number_format($orderDetail['order_total'],2):0.00}}
@endif
@endsection