X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fprices.php;h=29a6530dcfcc85177d3085386bc7bce843403ebb;hb=8f7ac519b7aaf8ec219862597e878d3a28316ac6;hp=6268d2bf697324d13870bba256ff594b4ae40c0a;hpb=44012f6736c91bc0811d64544fd90b6181433a5f;p=fa-stable.git 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();