Revision d18a84df
Von Moritz Bunkus vor fast 18 Jahren hinzugefügt
SL/GL.pm | ||
---|---|---|
75 | 75 |
# check if debit and credit balances |
76 | 76 |
|
77 | 77 |
if ($form->{storno}) { |
78 |
$debit = $debit * -1; |
|
79 |
$credit = $credit * -1; |
|
80 |
$tax = $tax * -1; |
|
81 | 78 |
$form->{reference} = "Storno-" . $form->{reference}; |
82 | 79 |
$form->{description} = "Storno-" . $form->{description}; |
83 | 80 |
} |
Auch abrufbar als: Unified diff
Überflüssigen/unwirksamen Code entfernt.