{{ trans('texts.client') }} {{ trans('texts.email') }} @if ($multiUser) {{ trans('texts.user') }} @endif {{ trans(isset($entityType) && $entityType == ENTITY_QUOTE ? 'texts.quote_number' : 'texts.invoice_number') }} {{ trans('texts.amount') }} {{ trans('texts.paid') }} {{ trans('texts.po_number') }} {{ trans('texts.status') }} {{ trans(isset($entityType) && $entityType == ENTITY_QUOTE ? 'texts.quote_date' : 'texts.invoice_date') }} {{ trans('texts.due_date') }} {{ trans('texts.public_notes') }} {{ trans('texts.private_notes') }} @if ($account->custom_invoice_label1) {{ $account->custom_invoice_label1 }} @endif @if ($account->custom_invoice_label2) {{ $account->custom_invoice_label2 }} @endif @if ($account->custom_invoice_text_label1) {{ $account->custom_invoice_text_label1 }} @endif @if ($account->custom_invoice_text_label2) {{ $account->custom_invoice_text_label2 }} @endif {{ trans('texts.item_product') }} {{ trans('texts.item_notes') }} @if ($account->custom_invoice_item_label1) {{ $account->custom_invoice_item_label1 }} @endif @if ($account->custom_invoice_item_label2) {{ $account->custom_invoice_item_label2 }} @endif {{ trans('texts.item_cost') }} {{ trans('texts.item_quantity') }} @if ($account->invoice_item_taxes) {{ trans('texts.item_tax_name') }} {{ trans('texts.item_tax_rate') }} @if ($account->enable_second_tax_rate) {{ trans('texts.item_tax_name') }} {{ trans('texts.item_tax_rate') }} @endif @endif @foreach ($invoices as $invoice) @if (!$invoice->client->is_deleted) @foreach ($invoice->invoice_items as $item) {{ $invoice->present()->client }} {{ $invoice->present()->email }} @if ($multiUser) {{ $invoice->present()->user }} @endif {{ $invoice->invoice_number }} {{ $account->formatMoney($invoice->amount, $invoice->client) }} {{ $account->formatMoney($invoice->amount - $invoice->balance, $invoice->client) }} {{ $invoice->po_number }} {{ $invoice->present()->status }} {{ $invoice->present()->invoice_date }} {{ $invoice->present()->due_date }} {{ $invoice->public_notes }} {{ $invoice->private_notes }} @if ($account->custom_invoice_label1) {{ $invoice->custom_value1 }} @endif @if ($account->custom_invoice_label2) {{ $invoice->custom_value2 }} @endif @if ($account->custom_invoice_label1) {{ $invoice->custom_text_value1 }} @endif @if ($account->custom_invoice_label2) {{ $invoice->custom_text_value2 }} @endif {{ $item->product_key }} {{ $item->notes }} @if ($account->custom_invoice_item_label1) {{ $item->custom_value1 }} @endif @if ($account->custom_invoice_item_label2) {{ $item->custom_value2 }} @endif {{ $item->cost }} {{ $item->qty }} @if ($account->invoice_item_taxes) {{ $item->tax_name1 }} {{ $item->tax_rate1 }} @if ($account->enable_second_tax_rate) {{ $item->tax_name2 }} {{ $item->tax_rate2 }} @endif @endif @endforeach @endif @endforeach