Revision 55ef0ec5
Von Moritz Bunkus vor fast 16 Jahren hinzugefügt
SL/AR.pm | ||
---|---|---|
195 | 195 |
VALUES (?, (SELECT id FROM chart WHERE accno = ?), ?, ?, (SELECT taxkey_id FROM chart WHERE accno = ?))|; |
196 | 196 |
@values = (conv_i($form->{id}), $form->{AR_amounts}{receivables}, conv_i($form->{receivables}), conv_date($form->{transdate}), $form->{AR_amounts}{receivables}); |
197 | 197 |
do_query($form, $dbh, $query, @values); |
198 |
|
|
199 |
} else { |
|
200 |
# Record paid amount. |
|
201 |
do_query($form, $dbh, qq|UPDATE ar SET paid = ? WHERE id = ?|, $form->{paid}, conv_i($form->{id})); |
|
198 | 202 |
} |
199 | 203 |
|
200 | 204 |
# add paid transactions |
Auch abrufbar als: Unified diff
Beim Buchen von Zahlungseingängen zu Debitorenrechnungen das Feld "bezahlt" bei der Rechnung aktualisieren.