Revision ee2b1ef3
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
SL/AR.pm | ||
---|---|---|
158 | 158 |
invnumber = ?, ordnumber = ?, transdate = ?, customer_id = ?, |
159 | 159 |
taxincluded = ?, amount = ?, duedate = ?, paid = ?, |
160 | 160 |
netamount = ?, curr = ?, notes = ?, department_id = ?, |
161 |
employee_id = ?, storno = ?, storno_id = ?, globalproject_id = ? |
|
161 |
employee_id = ?, storno = ?, storno_id = ?, globalproject_id = ?, |
|
162 |
direct_debit = ? |
|
162 | 163 |
WHERE id = ?|; |
163 | 164 |
my @values = ($form->{invnumber}, $form->{ordnumber}, conv_date($form->{transdate}), conv_i($form->{customer_id}), $form->{taxincluded} ? 't' : 'f', $form->{amount}, |
164 | 165 |
conv_date($form->{duedate}), $form->{paid}, $form->{netamount}, $form->{currency}, $form->{notes}, conv_i($form->{department_id}), |
165 | 166 |
conv_i($form->{employee_id}), $form->{storno} ? 't' : 'f', $form->{storno_id}, |
166 |
conv_i($form->{globalproject_id}), conv_i($form->{id})); |
|
167 |
conv_i($form->{globalproject_id}), $form->{direct_debit} ? 't' : 'f', conv_i($form->{id}));
|
|
167 | 168 |
do_query($form, $dbh, $query, @values); |
168 | 169 |
|
169 | 170 |
# add individual transactions for AR, amount and taxes |
Auch abrufbar als: Unified diff
Debitorenbuchungen: Checkbox für "Lastschrifteinzug"; Vorbelegung aus Stammdaten