@extends('header') @section('head') @parent @include('money_script') @stop @section('content')
@endif
{{ trans('texts.invoice_number_short') }} | {{ trans('texts.client') }} | {{ trans('texts.payment_date') }} | {{ trans('texts.amount') }} | @foreach ($payments as $payment)|
---|---|---|---|---|
{!! \App\Models\Invoice::calcLink($payment) !!} | @can('view', [ENTITY_CLIENT, $payment]){!! link_to('/clients/'.$payment->client_public_id, trim($payment->client_name) ?: (trim($payment->first_name . ' ' . $payment->last_name) ?: $payment->email)) !!} | @else{{ trim($payment->client_name) ?: (trim($payment->first_name . ' ' . $payment->last_name) ?: $payment->email) }} | @endcan{{ Utils::fromSqlDate($payment->payment_date) }} | {{ Utils::formatMoney($payment->amount, $payment->currency_id ?: ($account->currency_id ?: DEFAULT_CURRENCY)) }} |
{{ trans('texts.invoice_number_short') }} | {{ trans('texts.client') }} | {{ trans('texts.due_date') }} | {{ trans('texts.balance_due') }} | @foreach ($upcoming as $invoice) @if ($invoice->invoice_type_id == INVOICE_TYPE_STANDARD)|
---|---|---|---|---|
{!! \App\Models\Invoice::calcLink($invoice) !!} | @can('view', [ENTITY_CLIENT, $invoice]){!! link_to('/clients/'.$invoice->client_public_id, trim($invoice->client_name) ?: (trim($invoice->first_name . ' ' . $invoice->last_name) ?: $invoice->email)) !!} | @else{{ trim($invoice->client_name) ?: (trim($invoice->first_name . ' ' . $invoice->last_name) ?: $invoice->email) }} | @endcan{{ Utils::fromSqlDate($invoice->due_date) }} | {{ Utils::formatMoney($invoice->balance, $invoice->currency_id ?: ($account->currency_id ?: DEFAULT_CURRENCY)) }} |
{{ trans('texts.invoice_number_short') }} | {{ trans('texts.client') }} | {{ trans('texts.due_date') }} | {{ trans('texts.balance_due') }} | @foreach ($pastDue as $invoice) @if ($invoice->invoice_type_id == INVOICE_TYPE_STANDARD)|
---|---|---|---|---|
{!! \App\Models\Invoice::calcLink($invoice) !!} | @can('view', [ENTITY_CLIENT, $invoice]){!! link_to('/clients/'.$invoice->client_public_id, trim($invoice->client_name) ?: (trim($invoice->first_name . ' ' . $invoice->last_name) ?: $invoice->email)) !!} | @else{{ trim($invoice->client_name) ?: (trim($invoice->first_name . ' ' . $invoice->last_name) ?: $invoice->email) }} | @endcan{{ Utils::fromSqlDate($invoice->due_date) }} | {{ Utils::formatMoney($invoice->balance, $invoice->currency_id ?: ($account->currency_id ?: DEFAULT_CURRENCY)) }} |
{{ trans('texts.quote_number_short') }} | {{ trans('texts.client') }} | {{ trans('texts.valid_until') }} | {{ trans('texts.amount') }} | @foreach ($upcoming as $invoice) @if ($invoice->invoice_type_id == INVOICE_TYPE_QUOTE)
---|---|---|---|
{!! \App\Models\Invoice::calcLink($invoice) !!} | {!! link_to('/clients/'.$invoice->client_public_id, trim($invoice->client_name) ?: (trim($invoice->first_name . ' ' . $invoice->last_name) ?: $invoice->email)) !!} | {{ Utils::fromSqlDate($invoice->due_date) }} | {{ Utils::formatMoney($invoice->balance, $invoice->currency_id ?: ($account->currency_id ?: DEFAULT_CURRENCY)) }} |
{{ trans('texts.quote_number_short') }} | {{ trans('texts.client') }} | {{ trans('texts.valid_until') }} | {{ trans('texts.amount') }} | @foreach ($pastDue as $invoice) @if ($invoice->invoice_type_id == INVOICE_TYPE_QUOTE)
---|---|---|---|
{!! \App\Models\Invoice::calcLink($invoice) !!} | {!! link_to('/clients/'.$invoice->client_public_id, trim($invoice->client_name) ?: (trim($invoice->first_name . ' ' . $invoice->last_name) ?: $invoice->email)) !!} | {{ Utils::fromSqlDate($invoice->due_date) }} | {{ Utils::formatMoney($invoice->balance, $invoice->currency_id ?: ($account->currency_id ?: DEFAULT_CURRENCY)) }} |