|
|
{{\App\CPU\translate('invoice')}}@if($order['seller_is']!='admin' && isset($order['seller']) && $order['seller']->gst != null){{\App\CPU\translate('GST')}} : {{ $order['seller']->gst }}@endif |
|---|
|
{{\App\CPU\translate('invoice')}} #
{{ $order->id }}
|
{{\App\CPU\translate('date')}} : {{date('d-m-Y h:i:s a',strtotime($order['created_at']))}} |
|---|
|
{{\App\CPU\translate('shipping_to')}}:
{{$order->customer !=null? $order->customer['f_name'].' '.$order->customer['l_name']:\App\CPU\translate('name_not_found')}} {{$order->customer !=null? $order->customer['email']:\App\CPU\translate('email_not_found')}} {{$order->customer !=null? $order->customer['phone']:\App\CPU\translate('phone_not_found')}} {{$order->shippingAddress ? $order->shippingAddress['address'] : ""}} {{$order->shippingAddress ? $order->shippingAddress['city'] : ""}} {{$order->shippingAddress ? $order->shippingAddress['zip'] : ""}} |
@else
{{\App\CPU\translate('customer_info')}}:
{{$order->customer !=null?$order->customer['f_name'].' '.$order->customer['l_name']:\App\CPU\translate('customer_name_not_found')}} @if (isset($order->customer) && $order->customer['id']!=0){{$order->customer !=null? $order->customer['email']:\App\CPU\translate('email_not_found')}} {{$order->customer !=null? $order->customer['phone']:\App\CPU\translate('phone_not_found')}} @endif |
@endif
@if ($order->billingAddress)
{{\App\CPU\translate('billing_address')}}:
{{$order->billingAddress ? $order->billingAddress['contact_person_name'] : ""}} {{$order->billingAddress ? $order->billingAddress['phone'] : ""}} {{$order->billingAddress ? $order->billingAddress['address'] : ""}} {{$order->billingAddress ? $order->billingAddress['city'] : ""}} {{$order->billingAddress ? $order->billingAddress['zip'] : ""}} |
@endif
| {{\App\CPU\translate('no.')}} | {{\App\CPU\translate('item_description')}} | {{\App\CPU\translate('unit_price')}} | {{\App\CPU\translate('qty')}} | {{\App\CPU\translate('total')}} |
|---|---|---|---|---|
| {{$key+1}} |
{{$details['product']?$details['product']->name:''}}
{{\App\CPU\translate('variation')}} : {{$details['variant']}} |
{{\App\CPU\BackEndHelper::set_symbol(\App\CPU\BackEndHelper::usd_to_currency($details['price']))}} | {{$details->qty}} | {{\App\CPU\BackEndHelper::set_symbol(\App\CPU\BackEndHelper::usd_to_currency($subtotal))}} |
{{\App\CPU\translate('payment_details')}}{{ str_replace('_',' ',$order->payment_method) }}{{$order->payment_status}}, {{date('y-m-d',strtotime($order['created_at']))}} @if ($order->delivery_type !=null){{\App\CPU\translate('delivery_info')}}@if ($order->delivery_type == 'self_delivery')
{{\App\CPU\translate('self_delivery')}}
{{$order->delivery_service_name}}
|
|
|---|
|
{{\App\CPU\translate('phone')}} : {{\App\Model\BusinessSetting::where('type','company_phone')->first()->value}}
{{\App\CPU\translate('website')}} : {{url('/')}}
{{\App\CPU\translate('email')}} : {{$company_email}}
|
|---|