@includeIf('invoices.pdf.invoice_pdf_css')
{{ 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)->translatedFormat(company()->date_format) }}
{{ $order->custom_order_number }}
@if(!is_null($order->client_id))
@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->client->clientDetails->address && $invoiceSetting->show_client_company_address == 'yes')
@lang('app.address') :
{!! nl2br($order->clientDetails->address) !!}
@endif @endif @if ($order->show_shipping_address === 'yes' && $client->clientDetails->shipping_address && $invoiceSetting->show_client_company_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('app.status'): @lang('modules.invoices.'.$order->status)

 

 

 

@if($invoiceSetting->hsn_sac_code_show) @endif @if ($order->unit != null) @else @endif @foreach($order->items as $item) @if($item->type == 'item') @if($invoiceSetting->hsn_sac_code_show) @endif @endif @endforeach
# @lang("modules.invoices.item")@lang("app.hsnSac"){{ ucwords($order->unit->unit_type) }} @lang("modules.invoices.unitPrice") @lang("modules.invoices.tax") @lang("modules.invoices.price") ({!! htmlentities($order->currency->currency_code) !!})
{{ ++$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
{{ $item->hsn_sac_code ? $item->hsn_sac_code : '--' }}{{ $item->quantity }} {{ currency_format($item->unit_price, $order->currency_id, false) }} {{ strtoupper($item->tax_list) }} {{ currency_format($item->amount, $order->currency_id, false) }}
@if($discount != 0 && $discount != '') @endif @foreach($taxes as $key=>$tax) @endforeach
@lang("modules.invoices.subTotal"): {{ currency_format($order->sub_total, $order->currency_id, false) }}
@lang("modules.invoices.discount"): {{ currency_format($discount, $order->currency_id, false) }}
{{ mb_strtoupper($key) }}: {{ currency_format($tax, $order->currency_id, false) }}
@lang("modules.invoices.total"): {{ currency_format($order->total, $order->currency_id, false) }}
@if(!is_null($order->note))
{!! nl2br($order->note) !!} @endif