{{ $generalSettings['site_name'] }}

{{ trans('public.item_id') }}: #{{ $order->product_id }}

{{ trans('admin/main.buyer') }}:
{{ $buyer->full_name }}
{{ trans('update.buyer_address') }}:
{{ $buyer->getAddress(true) }}
{{ trans('home.platform_address') }}:
{!! nl2br(getContactPageSettings('address')) !!}
{{ trans('admin/main.seller') }}:
{{ $seller->full_name }}
{{ trans('panel.purchase_date') }}:
{{ dateTimeFormat($sale->created_at,'Y M j | H:i') }}

{{ trans('home.order_summary') }}
{{ trans('admin/main.item') }} {{ trans('update.quantity') }} {{ trans('public.price') }} {{ trans('panel.discount') }} {{ trans('update.delivery_fee') }} {{ trans('cart.total') }}
{{ !empty($product) ? $product->title : trans('update.delete_item') }} @if(!empty($order->specifications)) (
@foreach(json_decode($order->specifications,true) as $specificationKey => $specificationValue) {{ str_replace('_',' ',$specificationValue) }}{{ (!$loop->last) ? ', ' : '' }} @endforeach
) @endif
{{ $order->quantity }} {{ trans('cart.item') }} @if(!empty($sale->amount)) {{ handlePrice($sale->amount) }} @else {{ trans('public.free') }} @endif @if(!empty($sale->discount)) {{ handlePrice($sale->discount) }} @else - @endif @if(!empty($sale->product_delivery_fee)) {{ handlePrice($sale->product_delivery_fee) }} @else - @endif @if(!empty($sale->total_amount)) {{ handlePrice($sale->total_amount) }} @else 0 @endif
{{ trans('admin/main.item') }}
{{ !empty($product) ? $product->title : trans('update.delete_item') }} {{ !empty($order->gift_id) ? "(".trans('update.gift').")" : '' }}
{{ trans('update.quantity') }}
{{ $order->quantity }} {{ trans('cart.item') }}
@if(!empty($order->specifications))
{{ trans('update.specifications') }}
@foreach(json_decode($order->specifications,true) as $specificationKey => $specificationValue)
{{ $specificationKey }} {{ str_replace('_',' ',$specificationValue) }}
@endforeach
@endif @if(!empty($order->message_to_seller))
{{ trans('update.message_to_seller') }}
{!! $order->message_to_seller !!}
@endif
{{ trans('cart.sub_total') }}
{{ handlePrice($sale->amount) }}
{{ trans('cart.tax') }} @if(!empty($product)) ({{ $product->getTax() }}%) @endif
@if(!empty($sale->tax)) {{ handlePrice($sale->tax) }} @else - @endif
{{ trans('public.discount') }}
@if(!empty($sale->discount)) {{ handlePrice($sale->discount) }} @else - @endif
{{ trans('update.delivery_fee') }}
@if(!empty($sale->product_delivery_fee)) {{ handlePrice($sale->product_delivery_fee) }} @else - @endif

{{ trans('cart.total') }}
@if(!empty($sale->total_amount)) {{ handlePrice($sale->total_amount) }} @else - @endif