From 82c599683ab05518b77cd42f86fc9ae1f4e479e7 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 14 Apr 2016 16:08:28 +0300 Subject: [PATCH] Hid converted quotes from the dashboard --- app/Http/Controllers/DashboardController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Http/Controllers/DashboardController.php b/app/Http/Controllers/DashboardController.php index 08948f17f79b..5daa8827883a 100644 --- a/app/Http/Controllers/DashboardController.php +++ b/app/Http/Controllers/DashboardController.php @@ -105,6 +105,7 @@ class DashboardController extends BaseController ->where('contacts.deleted_at', '=', null) ->where('invoices.is_recurring', '=', false) //->where('invoices.is_quote', '=', false) + ->where('invoices.quote_invoice_id', '=', null) ->where('invoices.balance', '>', 0) ->where('invoices.is_deleted', '=', false) ->where('invoices.deleted_at', '=', null) @@ -129,6 +130,7 @@ class DashboardController extends BaseController ->where('invoices.deleted_at', '=', null) ->where('invoices.is_recurring', '=', false) //->where('invoices.is_quote', '=', false) + ->where('invoices.quote_invoice_id', '=', null) ->where('invoices.balance', '>', 0) ->where('invoices.is_deleted', '=', false) ->where('contacts.is_primary', '=', true)