MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
-$page_security = 2;
-$path_to_root="..";
+$page_security = 'SA_SALESPRICE';
+$path_to_root = "..";
include_once($path_to_root . "/includes/session.inc");
page(_("Inventory Item Sales prices"));
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();