From d90966c715df9a2f454a9adc00cd01e61516a3bb Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Thu, 21 Jul 2016 14:37:24 +0200 Subject: [PATCH] =?utf8?q?POD=20f=C3=BCr=20Methode=20closed=20in=20SL/DB/I?= =?utf8?q?nvoice?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Die derzeitige Umsetzung ist mMn falsch bei Überzahlungen, die sollten auch offen sein. --- SL/DB/Invoice.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SL/DB/Invoice.pm b/SL/DB/Invoice.pm index 3f337f103..121f7659c 100644 --- a/SL/DB/Invoice.pm +++ b/SL/DB/Invoice.pm @@ -700,6 +700,11 @@ active. See L. +=item C + +Returns 1 or 0, depending on whether the invoice is closed or not. Currently +invoices that are overpaid also count as closed. + =item C Calculate and set amount and netamount from acc_trans objects by summing up the -- 2.20.1