@extends('header') @section('content')
{{ 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('viewByOwner', [ENTITY_CLIENT, $payment->client_user_id]){!! 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->is_quote)|
---|---|---|---|---|
{!! \App\Models\Invoice::calcLink($invoice) !!} | @can('viewByOwner', [ENTITY_CLIENT, $invoice->client_user_id]){!! 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->is_quote)|
---|---|---|---|---|
{!! \App\Models\Invoice::calcLink($invoice) !!} | @can('viewByOwner', [ENTITY_CLIENT, $invoice->client_user_id]){!! 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->is_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->is_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)) }} |