Revision 36666afc
Von Bernd Bleßmann vor mehr als 4 Jahren hinzugefügt
SL/GL.pm | ||
---|---|---|
123 | 123 |
$query = |
124 | 124 |
qq|UPDATE gl SET |
125 | 125 |
reference = ?, description = ?, notes = ?, |
126 |
transdate = ?, department_id = ?, taxincluded = ?, |
|
126 |
transdate = ?, deliverydate = ?, department_id = ?, taxincluded = ?,
|
|
127 | 127 |
storno = ?, storno_id = ?, ob_transaction = ?, cb_transaction = ? |
128 | 128 |
WHERE id = ?|; |
129 | 129 |
|
130 | 130 |
@values = ($form->{reference}, $form->{description}, $form->{notes}, |
131 |
conv_date($form->{transdate}), conv_i($form->{department_id}), $form->{taxincluded} ? 't' : 'f', |
|
131 |
conv_date($form->{transdate}), conv_date($form->{deliverydate}), conv_i($form->{department_id}), $form->{taxincluded} ? 't' : 'f',
|
|
132 | 132 |
$form->{storno} ? 't' : 'f', conv_i($form->{storno_id}), $form->{ob_transaction} ? 't' : 'f', $form->{cb_transaction} ? 't' : 'f', |
133 | 133 |
conv_i($form->{id})); |
134 | 134 |
do_query($form, $dbh, $query, @values); |
... | ... | |
637 | 637 |
|
638 | 638 |
if ($form->{id}) { |
639 | 639 |
$query = |
640 |
qq|SELECT g.reference, g.description, g.notes, g.transdate, g.storno, g.storno_id, |
|
640 |
qq|SELECT g.reference, g.description, g.notes, g.transdate, g.deliverydate, |
|
641 |
g.storno, g.storno_id, |
|
641 | 642 |
g.department_id, d.description AS department, |
642 | 643 |
e.name AS employee, g.taxincluded, g.gldate, |
643 | 644 |
g.ob_transaction, g.cb_transaction |
Auch abrufbar als: Unified diff
Lieferdatum in Dialogbuchung: Speichern und Laden in Belegmaske