summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rw-r--r--LedgerSMB/CT.pm10
-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