Revision 9a3d356c
Von Bernd Blessmann vor etwa 13 Jahren hinzugefügt
SL/AR.pm | ||
---|---|---|
156 | 156 |
invnumber = ?, ordnumber = ?, transdate = ?, customer_id = ?, |
157 | 157 |
taxincluded = ?, amount = ?, duedate = ?, paid = ?, |
158 | 158 |
netamount = ?, curr = ?, notes = ?, department_id = ?, |
159 |
employee_id = ?, storno = ?, storno_id = ? |
|
159 |
employee_id = ?, storno = ?, storno_id = ?, globalproject_id = ?
|
|
160 | 160 |
WHERE id = ?|; |
161 | 161 |
my @values = ($form->{invnumber}, $form->{ordnumber}, conv_date($form->{transdate}), conv_i($form->{customer_id}), $form->{taxincluded} ? 't' : 'f', $form->{amount}, |
162 | 162 |
conv_date($form->{duedate}), $form->{paid}, $form->{netamount}, $form->{currency}, $form->{notes}, conv_i($form->{department_id}), |
163 |
conv_i($form->{employee_id}), $form->{storno} ? 't' : 'f', $form->{storno_id}, conv_i($form->{id})); |
|
163 |
conv_i($form->{employee_id}), $form->{storno} ? 't' : 'f', $form->{storno_id}, |
|
164 |
conv_i($form->{globalproject_id}), conv_i($form->{id})); |
|
164 | 165 |
do_query($form, $dbh, $query, @values); |
165 | 166 |
|
166 | 167 |
# add individual transactions for AR, amount and taxes |
Auch abrufbar als: Unified diff
Projektnummer pro Beleg auch für Debitoren- und Kreditorenbuchungen.