From: Sven Schöling Date: Thu, 14 Jun 2007 13:26:32 +0000 (+0000) Subject: Storno auch erlauben, wenn bereits Zahlungen gebucht sind X-Git-Tag: release-2.4.3^2~127 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=23b02fbff62bb6802da848d2a8920add9d30c0e7;p=kivitendo-erp.git Storno auch erlauben, wenn bereits Zahlungen gebucht sind --- 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}) {