1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 22:22:32 +01:00

Fix for quotes on dashboard

This commit is contained in:
Hillel Coren 2016-07-30 22:10:00 +03:00
parent af78a3dd2d
commit 123d704b56

View File

@ -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>