fix minore

This commit is contained in:
MatteoPistorello 2022-11-30 13:18:00 +01:00
parent 144cc81c1a
commit 5b8945f415
1 changed files with 2 additions and 1 deletions

View File

@ -72,6 +72,8 @@ switch (post('op')) {
break;
case 'send-sollecito':
$template = Template::pool('Sollecito di pagamento');
$list = [];
foreach ($id_records as $id) {
$scadenza = Scadenza::find($id);
@ -102,7 +104,6 @@ switch (post('op')) {
}
// Selezione destinatari e invio mail
$template = Template::pool('Sollecito di pagamento');
if (!empty($template)) {
$creata_mail = false;
$emails = [];