*** empty log message ***
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 5 Dec 2008 15:21:15 +0000 (15:21 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 5 Dec 2008 15:21:15 +0000 (15:21 +0000)
purchasing/manage/suppliers.php
sql/alter2.1.php

index d349b432474b8ea4d8f47ac2f4b64cdab03dc8f6..6a9f3c13be7b9597d94b05e13a5bff93af8dbfaa 100644 (file)
@@ -195,7 +195,7 @@ else
        $_POST['sales_type'] = -1;
        $_POST['email'] = $_POST['phone'] = $_POST['fax'] = $_POST['gst_no'] = $_POST['contact'] = $_POST['bank_account'] = '';
        $_POST['payment_terms']  = '';
-       $_POST['credit_limit']  = price_format(sys_prefs::default_credit_limit());
+       $_POST['credit_limit']  = "";
 
        $company_record = get_company_prefs();
        $_POST['curr_code']  = $company_record["curr_default"];
index 51359ef2ecfc96eeb86ef968a47a89c821ddfd76..e5a5dbf8765bc209f1c7fd3301c9e7cd567f79dc 100644 (file)
@@ -82,6 +82,7 @@ class fa2_1 {
        function installed($pref) {
                if (check_table($pref, 'item_codes')) return false;
                if (check_table($pref, 'company', 'foreign_codes')) return false;
+               if (check_table($pref, 'supplier', 'credit_limit') return false;                
                return true;
        }
 };