feat: Enhance email reminder content by including client name in task notifications
This commit is contained in:
@@ -165,7 +165,7 @@ class Cron
|
||||
$text = '<p>Witaj.</p>' .
|
||||
'<p>Otrzymałeś ten email z powodu ustawionego przypomnienia. Poniżej znajdziesz jego treść.</p>' .
|
||||
'<p>---------------------------------------------------------------------------------------</p>' .
|
||||
'<p><b>' . $row['name'] . '</b> (termin zadania: <b>' . $date . ')</b></p>' .
|
||||
'<p><b>' . $row['name'] . ( $row['client_id'] ? ' / ' . \factory\Crm::get_client_name( $row['client_id'] ) : '' ) . '</b> (termin zadania: <b>' . $date . ')</b></p>' .
|
||||
'<p><i>' . \factory\Crm::get_client_name( (int)$task['client_id'] ) . '</i></p>' .
|
||||
'<p>' . htmlspecialchars_decode( $row['text'] ) . '</p>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user