From 306ed2c5325bc20d2b5974ae1fc80b4ce71cf20b Mon Sep 17 00:00:00 2001 From: einhverfr Date: Wed, 14 May 2008 21:52:10 +0000 Subject: Correcting vendor save issues git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2146 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/IS.pm | 2 +- UI/Contact/contact.html | 9 +++++++++ sql/modules/Company.sql | 12 +++++++----- sql/modules/Location.sql | 1 + sql/modules/Payment.sql | 3 ++- sql/modules/Person.sql | 4 ++-- 6 files changed, 22 insertions(+), 9 deletions(-) diff --git a/LedgerSMB/IS.pm b/LedgerSMB/IS.pm index 8f804089..0fb7203a 100644 --- a/LedgerSMB/IS.pm +++ b/LedgerSMB/IS.pm @@ -787,7 +787,7 @@ sub customer_details { # get rest for the customer my $query = qq| SELECT c.customernumber, e.name, l.line_one as address1, - l.line_two as address2, l.city_province AS city, + l.line_two as address2, l.city AS city, '' as state, l.mail_code AS zipcode, country.name as country, '' as contact, '' as customerphone, '' as customerfax, diff --git a/UI/Contact/contact.html b/UI/Contact/contact.html index 68a14a05..2f1e7d09 100644 --- a/UI/Contact/contact.html +++ b/UI/Contact/contact.html @@ -531,6 +531,15 @@ problems with multi-word single-quoted constructs in PI tags. -CT --> +
+ +