X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fsupplier_payment.php;h=f4e4f776837b9fe9e08f0158e32e4d3bb2abede2;hb=11e485e4a7c5f12c9424713b7330815a9cc5e4ae;hp=91db00d4e240953529578a803d662db0faa0a39a;hpb=f018643dc04ce130f1729e16a65458af443308a0;p=fa-stable.git diff --git a/purchasing/supplier_payment.php b/purchasing/supplier_payment.php index 91db00d4..f4e4f776 100644 --- a/purchasing/supplier_payment.php +++ b/purchasing/supplier_payment.php @@ -9,8 +9,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License here . ***********************************************************************/ -$path_to_root=".."; -$page_security = 5; +$page_security = 'SA_SUPPLIERPAYMNT'; +$path_to_root = ".."; include_once($path_to_root . "/includes/ui/allocation_cart.inc"); include_once($path_to_root . "/includes/session.inc"); include_once($path_to_root . "/includes/date_functions.inc"); @@ -42,7 +42,6 @@ check_db_has_suppliers(_("There are no suppliers defined in the system.")); check_db_has_bank_accounts(_("There are no bank accounts defined in the system.")); //---------------------------------------------------------------------------------------- -set_editor('supplier', 'supplier_id' , 'bank_account'); if (!isset($_POST['supplier_id'])) $_POST['supplier_id'] = get_global_supplier(false);