From fbea22f48cf57c2215076d5c2b84085227ffe0b5 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Fri, 5 Dec 2008 15:21:15 +0000 Subject: [PATCH] *** empty log message *** --- purchasing/manage/suppliers.php | 2 +- sql/alter2.1.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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; } }; -- 2.30.2