@extends('layout.layout') @section('content') @include('custom::component.reply-btn', ['url' => $replyUrl]) @include('component.alert')
{{csrf_field()}} @include('common.form.select', [ 'title' => '系別', 'class' => ['form-control'], 'name' => 'dep', 'value' => old('dep', (isset($advanced['dep']))? $advanced['dep']:'' ), 'options' => ['' => '--全部--'] + $deps, ]) @include('common.form.input', [ 'title' => '輸出資料類型', 'type' => 'text', 'class' => ['form-control-plaintext'], 'name' => 'type', 'value' => $role === 'student'? '學生資料': '教師資料', 'placeholder' => '輸出資料類型', 'required' => true, 'readonly' => true, 'style' => 'inline', ]) @include('common.form.radio', [ 'title' => '輸出項目', 'class' => [], 'type' => 'checkbox', 'name' => 'options', 'options' => config("$role.exportCheckbox"), 'value' => collect(config("$role.exportCheckbox"))->flip(), 'placeholder' => '輸出模式', ]) @include('common.form.submit', [ 'title' => '匯出 CSV', 'class' => ['btn', 'btn-success'], ])
@endsection