From c2715187a71c1ed09e14e71677b261e98e1e9fad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 18 Jul 2007 14:38:21 +0000 Subject: [PATCH] Storno Bugfix. paid wurde unter bestimmten Bedingungen nicht richtig gesetzt. --- SL/AP.pm | 2 +- SL/AR.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/AP.pm b/SL/AP.pm index b5e252096..66020933c 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -765,7 +765,7 @@ sub storno { $storno_row->{invnumber} = 'Storno-' . $storno_row->{invnumber}; $storno_row->{amount} *= -1; $storno_row->{netamount} *= -1; - $storno_row->{paid} = $storno_amount->{amount}; + $storno_row->{paid} = $storno_row->{amount}; delete @$storno_row{qw(itime mtime)}; diff --git a/SL/AR.pm b/SL/AR.pm index 79653a757..5fc6032a9 100644 --- a/SL/AR.pm +++ b/SL/AR.pm @@ -635,7 +635,7 @@ sub storno { $storno_row->{invnumber} = 'Storno-' . $storno_row->{invnumber}; $storno_row->{amount} *= -1; $storno_row->{netamount} *= -1; - $storno_row->{paid} = $storno_amount->{amount}; + $storno_row->{paid} = $storno_row->{amount}; delete @$storno_row{qw(itime mtime)}; -- 2.20.1