[Legacy] Add date start field to alerts

This commit is contained in:
Clemente Raposo 2023-02-17 11:26:22 +00:00
parent 2502279435
commit 5ec05f5363
3 changed files with 26 additions and 0 deletions

View file

@ -64,11 +64,31 @@ class Alert extends Basic
public $is_read; public $is_read;
public $snooze; public $snooze;
/**
* @var string
*/
public $url_redirect;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $target_module;
/** /**
* @var string * @var string
*/ */
public $reminder_id; public $reminder_id;
/**
* @var string
*/
public $date_start;
public function __construct() public function __construct()
{ {
parent::__construct(); parent::__construct();

View file

@ -70,6 +70,7 @@ $mod_strings = array(
'LBL_ACTIVITIES_SUBPANEL_TITLE' => 'Activities', 'LBL_ACTIVITIES_SUBPANEL_TITLE' => 'Activities',
'LBL_NEW_FORM_TITLE' => 'New Alert', 'LBL_NEW_FORM_TITLE' => 'New Alert',
'LBL_IS_READ' => 'Is Read', 'LBL_IS_READ' => 'Is Read',
'LBL_DATE_START' => 'Date Start',
'LBL_TYPE' => 'Type', 'LBL_TYPE' => 'Type',
); );

View file

@ -101,6 +101,11 @@ $dictionary['Alert'] = [
'required' => false, 'required' => false,
'studio' => false, 'studio' => false,
'comment' => 'Set Snooze For Notifications', 'comment' => 'Set Snooze For Notifications',
],
'date_start' => [
'name' => 'date_start',
'vname' => 'LBL_DATE',
'type' => 'datetime',
] ]
], ],
'relationships' => [], 'relationships' => [],