@inject('organization_helper', 'App\Helpers\OrganizationHelper')
@inject('fiscal_helper', 'App\Helpers\FiscalHelper')
{{ ym_select([
'label' => __('form.Select Fiscal Year'),
'type' => 'select',
'name' => 'fy_id',
'required' => true,
'options' => $fiscal_helper->dropdown(),
'value' => $model->fy_id,
]) }}
{{ ym_select([
'label' => __('form.Select Organization'),
'type' => 'select',
'name' => 'org_id',
'required' => true,
'options' => $organization_helper->dropdown(),
'value' => $model->org_id,
]) }}
{{ ym_input([
'label' => __('form.Roster Title'),
'type' => 'text',
'name' => 'roster_title',
'required' => true,
]) }}
{{ ym_input([
'label' => __('form.Start Date'),
'type' => 'date',
'name' => 'start_date',
'required' => true,
]) }}
{{ ym_input([
'label' => __('form.End Date'),
'type' => 'date',
'name' => 'end_date',
'required' => true,
]) }}
{{ ym_select([
'label' => __('form.Select Apply Method'),
'type' => 'select',
'name' => 'apply_method',
'required' => true,
'options' => config('dropdown.apply_method'),
'value' => $model->apply_method,
]) }}
{{ ym_textarea([
'label' => __('form.Roster Details'),
'name' => 'roster_details',
'id' => 'editor',
'value' => $model->roster_details,
]) }}