From 5b2f8fd4d41e06701afdb05967373a1932ef42f5 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sat, 30 Jul 2016 22:10:31 +0300 Subject: [PATCH] Fix for quotes on dashboard --- resources/views/dashboard.blade.php | 32 ++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index b661af7a40..ae44fe7bfd 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -4,11 +4,11 @@ @section('content')
-
+
- +
{{ trans('texts.total_revenue') }} @@ -29,8 +29,8 @@
- +
{{ trans('texts.average_invoice') }} @@ -51,8 +51,8 @@
- +
{{ trans('texts.outstanding') }} @@ -94,7 +94,7 @@ @endforeach -
+
@@ -133,7 +133,7 @@
-
+

@@ -201,13 +201,13 @@

-
+
@if ($hasQuotes)
-
+

@@ -224,7 +224,7 @@ @foreach ($upcoming as $invoice) - @if ($invoice->invoice_type_id == INVOICE_TYPE_STANDARD) + @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)) !!} @@ -238,7 +238,7 @@

-
+

@@ -255,7 +255,7 @@ @foreach ($pastDue as $invoice) - @if ($invoice->invoice_type_id == INVOICE_TYPE_STANDARD) + @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)) !!} @@ -267,7 +267,7 @@

-
+
@endif @@ -280,4 +280,4 @@ }); -@stop \ No newline at end of file +@stop