diff --git a/src/HTMLBuilder/Manager/SMSManager.php b/src/HTMLBuilder/Manager/SMSManager.php index 38bec56cc..51d186400 100644 --- a/src/HTMLBuilder/Manager/SMSManager.php +++ b/src/HTMLBuilder/Manager/SMSManager.php @@ -24,7 +24,7 @@ use Modules\SMS\Sms; /** - * Gestione SMS. + * Gestione SMS e WhatsApp. * * @since 2.4.2 */ @@ -46,7 +46,7 @@ public function manage($options) return ' '; } - // Visualizzo il log delle operazioni di invio SMS + // Visualizzo il log delle comunicazioni SMS e WhatsApp $messages = Sms::whereRaw('id_template IN (SELECT id FROM sms_templates WHERE id_module = '.prepare($options['id_module']).')') ->where('id_record', $options['id_record']) ->orderBy('created_at', 'DESC') @@ -57,38 +57,42 @@ public function manage($options) } // Codice HTML - $result = ' -
-
-

'.tr('SMS inviati: _NUM_', [ + $result = '\n
\n
\n

'.tr('SMS e WhatsApp: _NUM_', [ '_NUM_' => $messages->count(), - ]).'

-
- -
-
-
-
    '; + ]).'

\n
\n \n
\n
\n
\n -
-
'; + $result .= '\n \n \n'; return $result; }