diff options
-rw-r--r-- | LedgerSMB/IR.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/LedgerSMB/IR.pm b/LedgerSMB/IR.pm index 2d3c5776..197c9943 100644 --- a/LedgerSMB/IR.pm +++ b/LedgerSMB/IR.pm @@ -286,7 +286,6 @@ sub post_invoice { deliverydate = ?, project_id = ?, serialnumber = ?, - reverse = ? notes = ? WHERE id = ?|; $sth = $dbh->prepare($query); @@ -297,7 +296,7 @@ sub post_invoice { $form->{"discount_$i"}, $allocated, $form->{"unit_$i"}, $form->{"deliverydate_$i"}, $project_id, $form->{"serialnumber_$i"}, - $form->{reverse}, $form->{"notes_$i"}, + $form->{"notes_$i"}, $invoice_id ) || $form->dberror($query); if (defined $form->{approved}) { |