mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 14:42:42 +01:00
Merge remote-tracking branch 'upstream/develop' into develop
This commit is contained in:
commit
a41a7dc842
@ -153,10 +153,10 @@
|
|||||||
@if (!$invoice->is_quote)
|
@if (!$invoice->is_quote)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{!! \App\Models\Invoice::calcLink($invoice) !!}</td>
|
<td>{!! \App\Models\Invoice::calcLink($invoice) !!}</td>
|
||||||
@if (\App\Models\Client::canViewItemByOwner($payment->client_user_id))
|
@if (\App\Models\Client::canViewItemByOwner($invoice->client_user_id))
|
||||||
<td>{!! link_to('/clients/'.$payment->client_public_id, trim($payment->client_name) ?: (trim($payment->first_name . ' ' . $payment->last_name) ?: $payment->email)) !!}</td>
|
<td>{!! link_to('/clients/'.$invoice->client_public_id, trim($invoice->client_name) ?: (trim($invoice->first_name . ' ' . $invoice->last_name) ?: $invoice->email)) !!}</td>
|
||||||
@else
|
@else
|
||||||
<td>{{ trim($payment->client_name) ?: (trim($payment->first_name . ' ' . $payment->last_name) ?: $payment->email) }}</td>
|
<td>{{ trim($invoice->client_name) ?: (trim($invoice->first_name . ' ' . $invoice->last_name) ?: $invoice->email) }}</td>
|
||||||
@endif
|
@endif
|
||||||
<td>{{ Utils::fromSqlDate($invoice->due_date) }}</td>
|
<td>{{ Utils::fromSqlDate($invoice->due_date) }}</td>
|
||||||
<td>{{ Utils::formatMoney($invoice->balance, $invoice->currency_id ?: ($account->currency_id ?: DEFAULT_CURRENCY)) }}</td>
|
<td>{{ Utils::formatMoney($invoice->balance, $invoice->currency_id ?: ($account->currency_id ?: DEFAULT_CURRENCY)) }}</td>
|
||||||
@ -188,10 +188,10 @@
|
|||||||
@if (!$invoice->is_quote)
|
@if (!$invoice->is_quote)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{!! \App\Models\Invoice::calcLink($invoice) !!}</td>
|
<td>{!! \App\Models\Invoice::calcLink($invoice) !!}</td>
|
||||||
@if (\App\Models\Client::canViewItemByOwner($payment->client_user_id))
|
@if (\App\Models\Client::canViewItemByOwner($invoice->client_user_id))
|
||||||
<td>{!! link_to('/clients/'.$payment->client_public_id, trim($payment->client_name) ?: (trim($payment->first_name . ' ' . $payment->last_name) ?: $payment->email)) !!}</td>
|
<td>{!! link_to('/clients/'.$invoice->client_public_id, trim($invoice->client_name) ?: (trim($invoice->first_name . ' ' . $invoice->last_name) ?: $invoice->email)) !!}</td>
|
||||||
@else
|
@else
|
||||||
<td>{{ trim($payment->client_name) ?: (trim($payment->first_name . ' ' . $payment->last_name) ?: $payment->email) }}</td>
|
<td>{{ trim($invoice->client_name) ?: (trim($invoice->first_name . ' ' . $invoice->last_name) ?: $invoice->email) }}</td>
|
||||||
@endif
|
@endif
|
||||||
<td>{{ Utils::fromSqlDate($invoice->due_date) }}</td>
|
<td>{{ Utils::fromSqlDate($invoice->due_date) }}</td>
|
||||||
<td>{{ Utils::formatMoney($invoice->balance, $invoice->currency_id ?: ($account->currency_id ?: DEFAULT_CURRENCY)) }}</td>
|
<td>{{ Utils::formatMoney($invoice->balance, $invoice->currency_id ?: ($account->currency_id ?: DEFAULT_CURRENCY)) }}</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user