From: Joe Hunt Date: Fri, 5 Dec 2008 15:21:15 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v2.4.2~19^2~1706 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=fbea22f48cf57c2215076d5c2b84085227ffe0b5;hp=25d5046ec21d88b54257b5fa191ff73b63921146;p=fa-stable.git *** empty log message *** --- diff --git a/purchasing/manage/suppliers.php b/purchasing/manage/suppliers.php index d349b432..6a9f3c13 100644 --- a/purchasing/manage/suppliers.php +++ b/purchasing/manage/suppliers.php @@ -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"]; diff --git a/sql/alter2.1.php b/sql/alter2.1.php index 51359ef2..e5a5dbf8 100644 --- a/sql/alter2.1.php +++ b/sql/alter2.1.php @@ -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; } };