@if ($message = Session::get('success'))
{!! $message !!}
@endif
@if ($message = Session::get('error'))
{!! $message !!}
@endif
 |
@lang('app.invoice') |
{{ mb_ucwords($company->company_name) }}
@if (!is_null($company))
{!! $invoice->address ? nl2br($invoice->address->address) : '' !!}
{{ $company->company_phone }}
@endif
@if ($invoiceSetting->show_gst == 'yes' && $invoice->address)
{{ $invoice->address->tax_name }}:
{{ $invoice->address->tax_number }}
@endif
|
@lang('modules.invoices.invoiceNumber') |
{{ $invoice->invoice_number }} |
@lang('modules.invoices.invoiceDate') |
{{ $invoice->issue_date->format($company->date_format) }}
|
@if (empty($invoice->order_id) && $invoice->status === 'unpaid' && $invoice->due_date->year > 1)
@lang('app.dueDate')
|
{{ $invoice->due_date->format($company->date_format) }}
|
@endif
|
|
@lang('modules.invoices.billedTo')
@if ($invoice->client && $invoice->client->name && $invoice->company->invoiceSetting->show_client_name == 'yes')
{{ mb_ucwords($invoice->client->name) }}
@endif
@if ($invoice->client && $invoice->client->email && $invoice->company->invoiceSetting->show_client_email == 'yes')
{{ $invoice->client->email }}
@endif
@if ($invoice->client && $invoice->client->mobile && $invoice->company->invoiceSetting->show_client_phone == 'yes')
{{ $invoice->client->mobile }}
@endif
@if ($invoice->clientDetails && $invoice->clientDetails->company_name && $invoice->company->invoiceSetting->show_client_company_name == 'yes')
{{ mb_ucwords($invoice->clientDetails->company_name) }}
@endif
@if ($invoice->clientDetails && $invoice->clientDetails->address && $invoice->company->invoiceSetting->show_client_company_address == 'yes')
{!! nl2br($invoice->clientDetails->address) !!}
@endif
@if ($invoiceSetting->show_gst == 'yes' && !is_null($client->clientDetails->gst_number))
@lang('app.gstIn'): {{ $client->clientDetails->gst_number }}
@endif
|
@if ($invoice->shipping_address)
@lang('app.shippingAddress')
{!! nl2br($client->clientDetails->address) !!}
|
@endif
@lang('modules.invoices.' . $invoice->status)
|
|
@if (($invoiceSetting->show_project == 1) && isset($invoice->project->project_name))
@lang('modules.invoices.projectName')
{{ $invoice->project->project_name }}
@endif
@lang('app.description') |
@lang('modules.invoices.qty')
|
@lang('modules.invoices.unitPrice')
({{ $invoice->currency->currency_code }})
|
@lang('modules.invoices.tax') |
@lang('modules.invoices.amount')
({{ $invoice->currency->currency_code }})
|
@foreach ($invoice->items as $item)
@if ($item->type == 'item')
{{ ucfirst($item->item_name) }} |
{{ $item->quantity }} |
{{ currency_formatter($item->unit_price, '') }}
|
{{ $item->tax_list }} |
{{ currency_formatter($item->amount, '') }}
|
@if ($item->item_summary || $item->invoiceItemImage)
{!! nl2br(strip_tags($item->item_summary)) !!}
@if ($item->invoiceItemImage)
@endif
|
@endif
@endif
@endforeach
|
@lang('modules.invoices.subTotal') |
{{ currency_formatter($invoice->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($invoice->total, '') }}
|
@lang('modules.invoices.total')
@lang('modules.invoices.due') |
{{ currency_formatter($invoice->amountDue(), '') }}
{{ $invoice->currency->currency_code }} |
|
|
@foreach ($invoice->items as $item)
@if ($item->type == 'item')
@lang('app.description') |
{{ ucfirst($item->item_name) }} |
@if ($item->item_summary != '' || $item->invoiceItemImage)
{!! nl2br(strip_tags($item->item_summary)) !!}
@if ($item->invoiceItemImage)
@endif
|
@endif
|
@lang('modules.invoices.qty') |
{{ $item->quantity }} |
@lang('modules.invoices.unitPrice')
({{ $invoice->currency->currency_code }})
|
{{ currency_formatter($item->unit_price, '') }} |
@lang('modules.invoices.amount')
({{ $invoice->currency->currency_code }})
|
{{ currency_formatter($item->amount, '') }}
|
|
@endif
@endforeach
@lang('modules.invoices.subTotal')
|
{{ currency_formatter($invoice->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($invoice->total, '') }} |
@lang('modules.invoices.total')
@lang('modules.invoices.due') |
{{ currency_formatter($invoice->amountDue(), '') }}
{{ $invoice->currency->currency_code }} |
|
@lang('app.note')
{!! !empty($invoice->note) ? nl2br($invoice->note) : '--' !!}
|
@lang('modules.invoiceSettings.invoiceTerms')
{!! nl2br($invoiceSetting->invoice_terms) !!}
|