From 8bc8f972cbe7b8895e16f47780a887ec986b6c6e Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Wed, 1 Jul 2009 12:34:03 +0000 Subject: [PATCH] *** empty log message *** --- inventory/prices.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inventory/prices.php b/inventory/prices.php index 6268d2bf..29a6530d 100644 --- a/inventory/prices.php +++ b/inventory/prices.php @@ -150,7 +150,8 @@ while ($myrow = db_fetch($prices_list)) end_table(); if (db_num_rows($prices_list) == 0) { - $calculated = true; + if (get_company_pref('add_pct') != -1) + $calculated = true; display_note(_("There are no prices set up for this part."), 1); } div_end(); -- 2.30.2