@if($language === "bd") @endif @php $contactDetails = $settings->options['contactDetails']; $customer = $order->customer; $shippingAddress = $order->shipping_address; $products = $order->products; $settings = $settings->options; $authorDetails = $settings['contactDetails']; $authorLocation = $authorDetails['location']; $currency = isset($settings['currency']) ? $settings['currency']: 'USD'; @endphp
@if(isset($translated_text['invoice_no']) || issset($order->tracking_number) )

{{ $translated_text['invoice_no'] }}: {{ $order->tracking_number }}

@endif
@if(isset($translated_text['date']))

{{ $translated_text['date'] }}: {{date("jS F, Y")}}

@endif
@if(isset($translated_text['products']) || isset($translated_text['quantity']) || isset($translated_text['total']) ) @endif @if (!empty($products)) @foreach ($products as $product) @endforeach @endif
@if(isset($order->amount))
{{ $translated_text['subtotal'] }} :
@money($order->amount, $currency)
@endif @if(isset($order->discount))
{{ $translated_text['discount'] }} :
@money($order->discount, $currency)
@endif @if(isset($order->sales_tax))
{{ $translated_text['tax'] }} :
@money($order->sales_tax, $currency)
@endif @if(isset($order->delivery_fee))
{{ $translated_text['delivery_fee'] }} :
@money($order->delivery_fee, $currency)
@endif @if(isset($order->total))
{{ $translated_text['total'] }} :
@money($order->total, $currency)
@endif