X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep104.php;h=53d8fea1df6d438c4bfdd79e1fa27afdd993d297;hb=fa600790f955f0a95856ea4c2327d1230e35c083;hp=42eed72221a47de131e3e05ce6171b0fd705220d;hpb=21290a4a16ca78fe736f62cf1cb039c06cb53fca;p=fa-stable.git diff --git a/reporting/rep104.php b/reporting/rep104.php index 42eed722..53d8fea1 100644 --- a/reporting/rep104.php +++ b/reporting/rep104.php @@ -9,7 +9,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License here . ***********************************************************************/ -$page_security = 2; +$page_security = 'SA_PRICEREP'; // ---------------------------------------------------------------- // $ Revision: 2.0 $ // Creator: Joe Hunt @@ -83,13 +83,13 @@ function print_price_listing() $dec = user_price_dec(); $home_curr = get_company_pref('curr_default'); - if ($currency == reserved_words::get_all()) + if ($currency == ALL_TEXT) $currency = $home_curr; $curr = get_currency($currency); $curr_sel = $currency . " - " . $curr['currency']; - if ($category == reserved_words::get_all_numeric()) + if ($category == ALL_NUMERIC) $category = 0; - if ($salestype == reserved_words::get_all_numeric()) + if ($salestype == ALL_NUMERIC) $salestype = 0; if ($category == 0) $cat = _('All');