projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5ac13c
)
POD für Methode closed in SL/DB/Invoice
author
G. Richardson
<information@kivitendo-premium.de>
Thu, 21 Jul 2016 12:37:24 +0000
(14:37 +0200)
committer
G. Richardson
<information@kivitendo-premium.de>
Fri, 22 Jul 2016 08:13:41 +0000
(10:13 +0200)
Die derzeitige Umsetzung ist mMn falsch bei Überzahlungen, die sollten
auch offen sein.
SL/DB/Invoice.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Invoice.pm
b/SL/DB/Invoice.pm
index
3f337f1
..
121f765
100644
(file)
--- a/
SL/DB/Invoice.pm
+++ b/
SL/DB/Invoice.pm
@@
-700,6
+700,11
@@
active.
See L<SL::DB::Object::basic_info>.
+=item C<closed>
+
+Returns 1 or 0, depending on whether the invoice is closed or not. Currently
+invoices that are overpaid also count as closed.
+
=item C<recalculate_amounts %params>
Calculate and set amount and netamount from acc_trans objects by summing up the