|
|
|
@ -178,6 +178,9 @@ class ExtraField extends Model |
|
|
|
|
case 'attendance_calendar': |
|
|
|
|
$this->extraFieldType = EntityExtraField::ATTENDANCE_CALENDAR_TYPE; |
|
|
|
|
break; |
|
|
|
|
case 'attendance': |
|
|
|
|
$this->extraFieldType = EntityExtraField::ATTENDANCE_TYPE; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$this->pageUrl = 'extra_fields.php?type='.$this->type; |
|
|
|
@ -213,6 +216,7 @@ class ExtraField extends Model |
|
|
|
|
'message', |
|
|
|
|
'document', |
|
|
|
|
'attendance_calendar', |
|
|
|
|
'attendance', |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
if (api_get_configuration_value('allow_scheduled_announcements')) { |
|
|
|
|