X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fmanage%2Fcustomers.php;h=a82c71b073a346a41862e248ca063ab18acd3473;hb=f63c58475b057c9f4a05894a6935ea351b6d7af3;hp=bba429660282b90b88c392efd39cda1b4df3a34f;hpb=0ad7b92c6cf2e4e65ca0fa94ba31f30f7b292ba8;p=fa-stable.git diff --git a/sales/manage/customers.php b/sales/manage/customers.php index bba42966..a82c71b0 100644 --- a/sales/manage/customers.php +++ b/sales/manage/customers.php @@ -9,7 +9,6 @@ page(_("Customers")); include_once($path_to_root . "/includes/date_functions.inc"); include_once($path_to_root . "/includes/banking.inc"); include_once($path_to_root . "/includes/ui.inc"); -include_once($path_to_root . "/includes/data_checks.inc"); if (isset($_GET['New']) || !isset($_POST['customer_id']) || $_POST['customer_id'] == "") { @@ -93,7 +92,7 @@ function handle_submit() sales_type) VALUES ('" . $_POST['CustName'] ."', '" . $_POST['address'] . "', '" . $_POST['tax_id'] . "', '" . $_POST['email'] . "', " . $_POST['dimension_id'] . ", " . $_POST['dimension2_id'] . ", '" . $_POST['curr_code'] . "', " . $_POST['credit_status'] . ", '" . $_POST['payment_terms'] . "', " . input_num('discount')/100 . ", - " . input_num('pymt_discount')/100 . ", " . $_POST['credit_limit'] . ", '" . $_POST['sales_type'] . "')"; + " . input_num('pymt_discount')/100 . ", " . input_num('credit_limit') . ", '" . $_POST['sales_type'] . "')"; db_query($sql,"The customer could not be added");