X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=reporting%2Frep303.php;fp=reporting%2Frep303.php;h=25b7a68ca589dd9a1462cc6e5302e253dc895847;hb=ebc600101ceab69c06eac4b1bd4d1782af45de05;hp=e3ffbc6b2cffb8da3458a3128dfa4d4267956849;hpb=d48f1d6f613ffd8e7ab4fbc8840e0a8aab1ad3b6;p=fa-stable.git diff --git a/reporting/rep303.php b/reporting/rep303.php index e3ffbc6b..25b7a68c 100644 --- a/reporting/rep303.php +++ b/reporting/rep303.php @@ -9,7 +9,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License here . ***********************************************************************/ -$page_security = 2; +$page_security = 'SA_ITEMSVALREP'; // ---------------------------------------------------------------- // $ Revision: 2.0 $ // Creator: Joe Hunt @@ -75,14 +75,14 @@ function print_stock_check() else include_once($path_to_root . "/reporting/includes/pdf_report.inc"); - if ($category == reserved_words::get_all_numeric()) + if ($category == ALL_NUMERIC) $category = 0; if ($category == 0) $cat = _('All'); else $cat = get_category_name($category); - if ($location == reserved_words::get_all()) + if ($location == ALL_TEXT) $location = 'all'; if ($location == 'all') $loc = _('All');