{{ mb_ucwords(company()->company_name) }}
@if (!is_null($settings) && $order->address)
{!! nl2br($order->address->address) !!}
@endif
{{ company()->company_phone }}
@if ($invoiceSetting->show_gst == 'yes' && $order->address)
{{ $order->address->tax_name }}: {{ $order->address->tax_number }}
@endif
@lang('modules.orders.orderDate'): |
{{ \Carbon\Carbon::parse($order->order_date)->format(company()->date_format) }} |
@lang('app.status'): |
@lang('modules.invoices.'.$order->status) |
{{ $order->order_number }}
@if($order->client && $order->clientDetails)
@if(($order->client->name || $order->client->email || $order->client->mobile || $order->clientDetails->company_name || $order->clientDetails->address )
&& ($invoiceSetting->show_client_name == 'yes' || $invoiceSetting->show_client_email == 'yes' || $invoiceSetting->show_client_phone == 'yes' || $invoiceSetting->show_client_company_name == 'yes' || $invoiceSetting->show_client_company_address == 'yes'))
@lang('modules.invoices.billedTo'):
@if ($order->client->name && $invoiceSetting->show_client_name == 'yes')
{{ mb_ucwords($order->client->name) }}
@endif
@if ($order->client->email && $invoiceSetting->show_client_email == 'yes')
{{ $order->client->email }}
@endif
@if ($order->client->mobile && $invoiceSetting->show_client_phone == 'yes')
{{ $order->client->mobile }}
@endif
@if ($order->clientDetails->company_name && $invoiceSetting->show_client_company_name == 'yes')
{{ mb_ucwords($order->clientDetails->company_name) }}
@endif
@if ($order->show_shipping_address == 'yes' && $order->client->clientDetails->address && $invoiceSetting->show_client_company_address == 'yes')
@lang('app.address') :
{!! nl2br($order->clientDetails->address) !!}
@endif
@endif
@if ($order->show_shipping_address === 'yes')
@lang('app.shippingAddress') :
{!! nl2br($order->clientDetails->shipping_address) !!}
@endif
@if($invoiceSetting->show_gst == 'yes' && !is_null($order->clientDetails) && !is_null($order->clientDetails->gst_number))
@lang('app.gstIn'): {{ $order->clientDetails->gst_number }}
@endif
@endif
# |
@lang("modules.invoices.item") |
@if($invoiceSetting->hsn_sac_code_show)
@lang("app.hsnSac") |
@endif
@lang("modules.invoices.qty") |
@lang("modules.invoices.unitPrice") |
@lang("modules.invoices.tax") |
@lang("modules.invoices.price") ({!! htmlentities($order->currency->currency_code) !!}) |
@foreach($order->items as $item)
@if($item->type == 'item')
{{ ++$count }} |
{{ ucfirst($item->item_name) }}
@if(!is_null($item->item_summary))
{!! nl2br(strip_tags($item->item_summary, ['p', 'b', 'strong', 'a'])) !!}
@endif
@if ($item->orderItemImage)
@endif
|
@if($invoiceSetting->hsn_sac_code_show)
{{ $item->hsn_sac_code ? $item->hsn_sac_code : '--' }} |
@endif
{{ $item->quantity }} |
{{ currency_formatter($item->unit_price, '') }} |
{{ strtoupper($item->tax_list) }} |
{{ currency_formatter($item->amount, '') }} |
@endif
@endforeach
@lang("modules.invoices.subTotal"): |
{{ currency_formatter($order->sub_total, '') }} |
@if($discount != 0 && $discount != '')
@lang("modules.invoices.discount"): |
-{{ currency_formatter($discount, '') }} |
@endif
@foreach($taxes as $key=>$tax)
{{ mb_strtoupper($key) }}: |
{{ currency_formatter($tax, '') }} |
@endforeach
@lang("modules.invoices.total"):
|
{{ currency_formatter($order->total, '') }}
|
@if(!is_null($order->note))
{!! nl2br($order->note) !!}
@endif