payone_cron refactoring with max_sum and timerange

This commit is contained in:
Rainer Gümpelein 2022-02-15 13:17:10 +01:00
parent 43dbaba064
commit d2ef211f68
3 changed files with 7 additions and 5 deletions

View file

@ -78,7 +78,7 @@ sub mail_transport(){
$attachBinaryFile = "$sendref->{attachment}";
}
if($dbt->{copri_conf}->{stage} eq "test"){
if($dbt->{copri_conf}->{stage} ne "live"){
$mail_to = $mailxconf->{$sendref->{mailxcfg}}->{mail_to};
$subject = "* offline Test * " . $sendref->{subject};
}