*** empty log message ***
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 1 Jul 2009 12:34:03 +0000 (12:34 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 1 Jul 2009 12:34:03 +0000 (12:34 +0000)
inventory/prices.php

index 6268d2bf697324d13870bba256ff594b4ae40c0a..29a6530dcfcc85177d3085386bc7bce843403ebb 100644 (file)
@@ -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();