added date field to module settings #1522
This commit is contained in:
		| @@ -33,6 +33,8 @@ | ||||
|                             {{ Form::$type($field['name'], trans($field['title']), $field['items'], $field['value'], $field['id'], $field['attributes']) }} | ||||
|                         @elseif ($type == 'fileGroup') | ||||
|                             {{ Form::$type($field['name'], trans($field['title']), $field['attributes']) }} | ||||
|                         @elseif ($type == 'dateGroup') | ||||
|                             {{ Form::$type($field['name'], trans($field['title']), $field['icon'], array_merge(['id' => $field['name'], 'date-format' => 'Y-m-d', 'autocomplete' => 'off'], $field['attributes']), Date::parse($setting[$field['name']] ?? now())->toDateString()) }} | ||||
|                         @elseif ($type == 'accountSelectGroup') | ||||
|                             {{ Form::selectGroup($field['name'], trans_choice('general.accounts', 1), 'university', $accounts, setting($module->getAlias() . '.' . $field['name']), $field['attributes']) }} | ||||
|                         @elseif ($type == 'categorySelectGroup') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user