Fix eliminazione destinatari collegati ad anagrafiche rimosse

This commit is contained in:
Beppe 2024-04-17 11:30:17 +02:00
parent d7822c33bf
commit ec326c35f5
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ foreach ($destinatari_filtrati as $destinatario) {
<a class="btn btn-warning btn-xs" data-type="'.get_class($origine).'" data-id="'.$origine->id.'" data-email="'.$origine->email.'" onclick="testInvio(this)">
<i class="fa fa-paper-plane "></i>
</a>' : '').'
<a class="btn btn-danger ask btn-xs" data-backto="record-edit" data-op="remove_receiver" data-type="'.get_class($origine).'" data-id="'.$origine->id.'">
<a class="btn btn-danger ask btn-xs" data-backto="record-edit" data-op="remove_receiver" data-type="'.$destinatario->record_type.'" data-id="'.$destinatario->record_id.'">
<i class="fa fa-trash"></i>
</a>
</div>',