diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index b661af7a40fc..ae44fe7bfd0b 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