From 23b02fbff62bb6802da848d2a8920add9d30c0e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 14 Jun 2007 13:26:32 +0000 Subject: [PATCH] Storno auch erlauben, wenn bereits Zahlungen gebucht sind --- bin/mozilla/ap.pl | 2 +- bin/mozilla/ar.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index 2110042c6..7bd3bb181 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -781,7 +781,7 @@ sub form_footer { # ToDO: - insert a global check for stornos, so that a storno is only possible a limited time after saving it print qq| | - if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ap') && !IS->is_storno(\%myconfig, $form, 'ap') && !$form->{paid_1}); + if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ap') && !IS->is_storno(\%myconfig, $form, 'ap')); print qq| diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index 13c3802ea..373405f58 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -821,7 +821,7 @@ sub form_footer { # ToDO: - insert a global check for stornos, so that a storno is only possible a limited time after saving it print qq|| - if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ar') && !IS->is_storno(\%myconfig, $form, 'ar') && !$form->{paid_1}); + if ($form->{id} && !IS->has_storno(\%myconfig, $form, 'ar') && !IS->is_storno(\%myconfig, $form, 'ar')); if ($form->{id}) { if ($form->{radier}) { -- 2.20.1