add date group field to reports editor
This commit is contained in:
@ -37,6 +37,13 @@
|
||||
) }}
|
||||
@elseif ($type == 'textareaGroup')
|
||||
{{ Form::$type($field['name'], $field['title']) }}
|
||||
@elseif ($type == 'dateGroup')
|
||||
{{ Form::$type($field['name'], $field['title'], $field['icon'], array_merge([
|
||||
'data-field' => 'settings',
|
||||
],
|
||||
$field['attributes']),
|
||||
isset($class->model->settings->{$field['name']}) ? $class->model->settings->{$field['name']}: null
|
||||
) }}
|
||||
@elseif ($type == 'selectGroup')
|
||||
{{ Form::$type($field['name'], $field['title'], $field['icon'], $field['values'], $report->settings->{$field['name']}, array_merge([
|
||||
'data-field' => 'settings'
|
||||
|
Reference in New Issue
Block a user