If setting the delivered items in PO Receive Items to 0 the value is not updated
[fa-stable.git] / purchasing / manage / suppliers.php
index ad8e1559756aad7621e48b746d3f3095d6dcd148..dcae253643d3813e487bda3ac6d3b8b1bc6e429c 100644 (file)
@@ -93,7 +93,7 @@ if (isset($_POST['submit']))
                                .db_escape($_POST['contact']). ", "
                                .db_escape($_POST['supp_account_no']). ", "
                                .db_escape($_POST['bank_account']). ", "
-                               .db_escape($_POST['credit_limit']). ", "
+                               .input_num('credit_limit',0). ", "
                                .db_escape($_POST['dimension_id']). ", "
                                .db_escape($_POST['dimension2_id']). ", "
                                .db_escape($_POST['curr_code']). ", "