diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-08-29 21:35:46 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-08-29 21:35:46 +0000 |
commit | 5a1b3f62d0b7babc2443518d88e129cd9faf0711 (patch) | |
tree | a47f75d552e2e74ac3f81e41895b7625cb25ae3f /LedgerSMB | |
parent | 1c140610be6a844aad9a3424587955dcde01bce5 (diff) |
Correcting a few issues with customers.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1473 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r-- | LedgerSMB/CT.pm | 10 | ||||
-rw-r--r-- | LedgerSMB/DBObject/Customer.pm (renamed from LedgerSMB/Customer.pm) | 0 |
2 files changed, 1 insertions, 9 deletions
diff --git a/LedgerSMB/CT.pm b/LedgerSMB/CT.pm index c398b108..e870323e 100644 --- a/LedgerSMB/CT.pm +++ b/LedgerSMB/CT.pm @@ -247,7 +247,6 @@ sub _save_vc { curr = ? startdate = ? enddate = ? - invoice_notes = ? bic = ? iban = ? WHERE id = ?|; @@ -258,7 +257,7 @@ sub _save_vc { $form->{bcc}, $form->{business_id}, $form->{sic_code}, $form->{language_code}, $form->{pricegroup_id}, $form->{curr}, $form->{startdate}, $form->{enddate}, - $form->{invoice_notes}, $form->{bic}, $form->{iban}, $form->{id} + $form->{bic}, $form->{iban}, $form->{id} ) || $form->dberror(__FILE__.":".__LINE__.":$query"); $updated = 1; } @@ -338,13 +337,6 @@ sub _save_vc { $sth = $dbh->prepare($query); $sth->execute($form->{entity_id}, $form->{bic}, $form->{iban}) || $form->dberror($query); - $query = qq| - insert into entity_invoice_notes (entity_id, note) - values (?, ?) - |; - $sth = $dbh->prepare($query); - $sth->execute($form->{entity_id}, $form->{notes}) || - $form->dberror($query); } } diff --git a/LedgerSMB/Customer.pm b/LedgerSMB/DBObject/Customer.pm index ef25c4a1..ef25c4a1 100644 --- a/LedgerSMB/Customer.pm +++ b/LedgerSMB/DBObject/Customer.pm |