X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Far.pl;h=eb344360d7c03fca5ad4f6fc36fe68a264ad9f0d;hb=44718f3e03bc80b897629fe82c6a3af5ed3afed3;hp=97eef052b86043663e11bb36ccc8a00c9f86c916;hpb=102600f0d1e5fc7b3acb620bde45bfd34f31f1cc;p=kivitendo-erp.git diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index 97eef052b..eb344360d 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -869,9 +869,9 @@ sub form_footer { $transdate = $form->datetonum($form->{transdate}, \%myconfig); $closedto = $form->datetonum($form->{closedto}, \%myconfig); - # 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'); + # 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}); print qq|\n|; if ($form->{id}) { @@ -1650,7 +1650,7 @@ sub ar_transactions { $column_data{invnumber} = "