diff --git a/inc_all.php b/inc_all.php index 21a217a8..e772d4a8 100644 --- a/inc_all.php +++ b/inc_all.php @@ -24,6 +24,11 @@ $num_active_projects = $row['num']; $row = mysqli_fetch_assoc(mysqli_query($mysqli, "SELECT COUNT('invoice_id') AS num FROM invoices WHERE (invoice_status = 'Sent' OR invoice_status = 'Viewed' OR invoice_status = 'Partial') AND invoice_archived_at IS NULL")); $num_open_invoices = $row['num']; +// Open Quotes Count +$row = mysqli_fetch_assoc(mysqli_query($mysqli, "SELECT COUNT('quote_id') AS num FROM quotes WHERE (quote_status = 'Sent' OR quote_status = 'Viewed') AND quote_archived_at IS NULL")); +$num_open_quotes = $row['num']; + + require_once "side_nav.php"; require_once "inc_wrapper.php"; diff --git a/side_nav.php b/side_nav.php index a2e2bb74..42964722 100644 --- a/side_nav.php +++ b/side_nav.php @@ -81,7 +81,13 @@ echo "active"; } ?>"> -

Quotes

+

+ Quotes + + + +