mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-05 10:18:33 +08:00
[Legacy] Add date start field to alerts
This commit is contained in:
parent
2502279435
commit
5ec05f5363
3 changed files with 26 additions and 0 deletions
|
@ -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();
|
||||||
|
|
|
@ -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',
|
||||||
);
|
);
|
||||||
|
|
|
@ -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' => [],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue