summaryrefslogtreecommitdiff
path: root/LedgerSMB/CT.pm
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-08-29 21:35:46 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-08-29 21:35:46 +0000
commit5a1b3f62d0b7babc2443518d88e129cd9faf0711 (patch)
treea47f75d552e2e74ac3f81e41895b7625cb25ae3f /LedgerSMB/CT.pm
parent1c140610be6a844aad9a3424587955dcde01bce5 (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/CT.pm')
-rw-r--r--LedgerSMB/CT.pm10
1 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);
}
}