mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
Fix for quotes on dashboard
This commit is contained in:
parent
c0c5fd8c18
commit
5b2f8fd4d4
@ -224,7 +224,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($upcoming as $invoice)
|
||||
@if ($invoice->invoice_type_id == INVOICE_TYPE_STANDARD)
|
||||
@if ($invoice->invoice_type_id == INVOICE_TYPE_QUOTE)
|
||||
<tr>
|
||||
<td>{!! \App\Models\Invoice::calcLink($invoice) !!}</td>
|
||||
<td>{!! link_to('/clients/'.$invoice->client_public_id, trim($invoice->client_name) ?: (trim($invoice->first_name . ' ' . $invoice->last_name) ?: $invoice->email)) !!}</td>
|
||||
@ -255,7 +255,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($pastDue as $invoice)
|
||||
@if ($invoice->invoice_type_id == INVOICE_TYPE_STANDARD)
|
||||
@if ($invoice->invoice_type_id == INVOICE_TYPE_QUOTE)
|
||||
<tr>
|
||||
<td>{!! \App\Models\Invoice::calcLink($invoice) !!}</td>
|
||||
<td>{!! link_to('/clients/'.$invoice->client_public_id, trim($invoice->client_name) ?: (trim($invoice->first_name . ' ' . $invoice->last_name) ?: $invoice->email)) !!}</td>
|
||||
|
Loading…
Reference in New Issue
Block a user