X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fallocations%2Fcustomer_allocation_main.php;h=80783de48c3c90a6d573abea0bc5ce4e3106799c;hb=80dd97a37f674cc3691fa04af4c29607067566b2;hp=4bc5cef61f31d7e617292f5da95a0c51db8bb8f9;hpb=5e645e8c7492625677178e8b52da9456299a7411;p=fa-stable.git diff --git a/sales/allocations/customer_allocation_main.php b/sales/allocations/customer_allocation_main.php index 4bc5cef6..80783de4 100644 --- a/sales/allocations/customer_allocation_main.php +++ b/sales/allocations/customer_allocation_main.php @@ -42,7 +42,7 @@ start_form(); set_global_customer($_POST['customer_id']); - if (isset($_POST['customer_id']) && ($_POST['customer_id'] == reserved_words::get_all())) + if (isset($_POST['customer_id']) && ($_POST['customer_id'] == ALL_TEXT)) { unset($_POST['customer_id']); } @@ -64,7 +64,9 @@ start_form(); //-------------------------------------------------------------------------------- function systype_name($dummy, $type) { - return systypes::name($type); + global $systypes_array; + + return $systypes_array[$type]; } function trans_view($trans)