@includeIf('invoices.pdf.invoice_pdf_css') @if ($invoiceSetting->hsn_sac_code_show) @endif @foreach ($invoice->items as $item) @if ($item->type == 'item') @if ($invoiceSetting->hsn_sac_code_show) @endif @if ($item->item_summary != '' || $item->invoiceItemImage) {{-- DOMPDF HACK FOR RENDER IN TABLE --}} {{-- DOMPDF HACK FOR RENDER IN TABLE --}} @endif @endif @endforeach
@lang('app.description')@lang('app.hsnSac'){{ (isset($invoice->unit)) ? $invoice->unit->unit_type : 'Qty\hrs' }} @lang('modules.invoices.unitPrice') @lang('modules.invoices.tax') @lang('modules.invoices.amount') ({{ $invoice->currency->currency_code }})
{{ ucfirst($item->item_name) }} {{ $item->hsn_sac_code ? : '--' }}{{ $item->quantity }} {{ currency_format($item->unit_price, $invoice->currency_id, false) }} {{ strtoupper($item->tax_list) }} {{ currency_format($item->amount, $invoice->currency_id, false) }}
{!! nl2br(strip_tags($item->item_summary, ['p', 'b', 'strong', 'a'])) !!} @if ($item->invoiceItemImage)

@endif
@if ($discount != 0 && $discount != '') @endif @foreach ($taxes as $key => $tax) @endforeach @if ($invoice->amountDue()) @endif
@lang('modules.invoices.subTotal')
@lang('modules.invoices.discount')
{{ mb_strtoupper($key) }}
@lang('modules.invoices.total')
@lang('modules.invoices.total') @lang('modules.invoices.due')
@if ($discount != 0 && $discount != '') @endif @foreach ($taxes as $key => $tax) @endforeach @if ($invoice->amountDue()) @endif
{{ currency_format($invoice->sub_total, $invoice->currency_id, false) }}
{{ currency_format($discount, $invoice->currency_id, false) }}
{{ currency_format($tax, $invoice->currency_id, false) }}
{{ currency_format($invoice->total, $invoice->currency_id, false) }}
{{ currency_format($invoice->amountDue(), $invoice->currency_id, false) }} {{ $invoice->currency->currency_code }}
@if(isset($invoice->items[0]) && $invoice->items[0]['itemDetails'] && count($invoice->items[0]['itemDetails'])) @foreach($invoice->items[0]['itemDetails'] as $itemDetail) @endforeach
Ticket Person's Information
Client Info Carrier Trip Type Ticket Type Total Person Departure Date Arrival Date
Name: {{ $itemDetail->name }}
Gender: {{ $itemDetail->gender ?? 'N/A' }}
Birth Date: {{ $itemDetail->birth_date ? date($company->date_format, strtotime($itemDetail->birth_date)) : 'N/A' }}
Person Type: {{ $itemDetail->person_type ?? 'N/A' }}
Job Status: {{ $itemDetail->job_status ?? 'N/A' }}
{{ $itemDetail->carrier->name ?? 'N/A' }} {{ $itemDetail->trip_type ?? 'N/A' }} {{ $itemDetail->ticket_type ?? 'N/A' }} {{ $itemDetail->total_person ?? 'N/A' }} {{ $itemDetail->departure_date ? date($company->date_format, strtotime($itemDetail->departure_date)) : 'N/A' }} {{ $itemDetail->arrival_date ? date($company->date_format, strtotime($itemDetail->arrival_date)) : 'N/A' }}
@endif @if ($invoiceSetting->authorised_signatory && $invoiceSetting->authorised_signatory_signature && $invoice->status == 'paid') @endif @if (!($invoiceSetting->authorised_signatory && $invoiceSetting->authorised_signatory_signature && $invoice->status == 'paid')) @endif @if ($invoice->note != '') @endif @if (isset($taxes) && $invoiceSetting->tax_calculation_msg == 1) @endif {{--Custom fields data--}} @if(isset($fields) && count($fields) > 0)

@lang('modules.projects.otherInfo')

@foreach($fields as $field) @endforeach @endif @if (count($payments) > 0)

@lang('app.menu.payments') ({{ $invoice->invoice_number }})

@forelse($payments as $key => $payment) @empty @endforelse
# @lang('modules.invoices.price') @lang('modules.invoices.paymentMethod') @lang('modules.invoices.paidOn')
{{ $key + 1 }} {{ currency_format($payment->amount, $invoice->currency_id, false) }} {{ $invoice->currency->currency_code }} @php $method = '--'; if (!is_null($payment->offline_method_id)) { $method = $payment->offlineMethod->name; } elseif (isset($payment->gateway)) { $method = $payment->gateway; } @endphp {{ $method }} {{ $payment->paid_on->translatedFormat($company->date_format) }}
@lang('messages.noRecordFound')
@endif