This commit is contained in:
parent
1233c38f37
commit
0162c91d77
@ -1,167 +0,0 @@
|
|||||||
<div class="card-body">
|
|
||||||
<div class="row">
|
|
||||||
<!-- オペレータID(只读) -->
|
|
||||||
@if(isset($ope_id))
|
|
||||||
<div class="form-group col-3">
|
|
||||||
<label>{{__('オペレータID')}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-9">
|
|
||||||
<input type="text" class="form-control form-control-lg" value="{{ $ope_id }}" readonly>
|
|
||||||
</div>
|
|
||||||
@endif
|
|
||||||
|
|
||||||
<!-- オペレータ名 -->
|
|
||||||
<div class="form-group col-3">
|
|
||||||
<label class="required">{{__('validation.attributes.ope_name')}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-9">
|
|
||||||
<input type="text" name="ope_name" class="form-control form-control-lg"
|
|
||||||
value="{{ old('ope_name', $ope_name ?? '') }}"
|
|
||||||
placeholder="{{__('validation.attributes.ope_name')}}" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- ログインID -->
|
|
||||||
<div class="form-group col-3">
|
|
||||||
<label class="required">{{__('ログインID')}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-9">
|
|
||||||
<input type="text" name="login_id" class="form-control form-control-lg"
|
|
||||||
value="{{ old('login_id', $login_id ?? '') }}"
|
|
||||||
placeholder="{{__('validation.attributes.login_id')}}" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- パスワード -->
|
|
||||||
<div class="form-group col-3">
|
|
||||||
<label class="required">{{__('validation.attributes.password')}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-9">
|
|
||||||
<input type="password" name="password" class="form-control form-control-lg"
|
|
||||||
placeholder="{{__('validation.attributes.password')}}" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- パスワード確認 -->
|
|
||||||
<div class="form-group col-3">
|
|
||||||
<label class="required">{{__('validation.attributes.password_confirmation')}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-9">
|
|
||||||
<input type="password" name="password_confirmation" class="form-control form-control-lg"
|
|
||||||
placeholder="{{__('validation.attributes.password_confirmation')}}" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- オペレータ種別 -->
|
|
||||||
<div class="form-group col-3">
|
|
||||||
<label class="required">{{__('validation.attributes.ope_type')}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-9">
|
|
||||||
<select name="ope_type" class="form-control form-control-lg">
|
|
||||||
<option value="">{{__('validation.attributes.ope_type')}}</option>
|
|
||||||
@foreach(\App\Models\Ope::OPE_TYPE as $key => $item)
|
|
||||||
<option value="{{$key}}" {{ old('ope_type', $ope_type ?? '') == $key ? 'selected' : '' }}>{{$item}}</option>
|
|
||||||
@endforeach
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- メールアドレス -->
|
|
||||||
<div class="form-group col-3">
|
|
||||||
<label class="required">{{__('validation.attributes.ope_mail')}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-9">
|
|
||||||
<input type="text" name="ope_mail" class="form-control form-control-lg"
|
|
||||||
value="{{ old('ope_mail', $ope_mail ?? '') }}"
|
|
||||||
placeholder="{{__('validation.attributes.ope_mail')}}" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- 電話番号 -->
|
|
||||||
<div class="form-group col-3">
|
|
||||||
<label>{{__('validation.attributes.ope_phone')}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-9">
|
|
||||||
<input type="text" name="ope_phone" class="form-control form-control-lg"
|
|
||||||
value="{{ old('ope_phone', $ope_phone ?? '') }}"
|
|
||||||
placeholder="{{__('validation.attributes.ope_phone')}}" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- キュー1~13アラート送信(横向き3列) -->
|
|
||||||
@for($i=1;$i<=13;$i++)
|
|
||||||
@if($i == 1 || ($i-1)%3 == 0)
|
|
||||||
<div class="w-100"></div>
|
|
||||||
@endif
|
|
||||||
<div class="form-group col-3">
|
|
||||||
<label>{{__('validation.attributes.ope_sendalart_que'.$i)}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-1">
|
|
||||||
<input type="radio" class="minimal"
|
|
||||||
name="ope_sendalart_que{{$i}}"
|
|
||||||
value="1" {{ old('ope_sendalart_que'.$i, ${'ope_sendalart_que'.$i} ?? 0) == 1 ? 'checked' : '' }}>
|
|
||||||
<label class="form-check-label">{{__("はい")}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-1">
|
|
||||||
<input type="radio" class="minimal"
|
|
||||||
name="ope_sendalart_que{{$i}}"
|
|
||||||
value="0" {{ old('ope_sendalart_que'.$i, ${'ope_sendalart_que'.$i} ?? 0) == 0 ? 'checked' : '' }}>
|
|
||||||
<label class="form-check-label">{{__("いいえ")}}</label>
|
|
||||||
</div>
|
|
||||||
@endfor
|
|
||||||
|
|
||||||
<!-- 権限付与(2列横並び) -->
|
|
||||||
@foreach([1=>'管理者権限付与',2=>'エリアマネージャー権限付与',3=>'エリアオペレーター権限付与',4=>'オペレーター権限付与'] as $n=>$label)
|
|
||||||
@if($n == 1 || $n == 3)
|
|
||||||
<div class="w-100"></div>
|
|
||||||
@endif
|
|
||||||
<div class="form-group col-3">
|
|
||||||
<label>{{__('validation.attributes.ope_auth'.$n)}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-2">
|
|
||||||
<input type="radio" class="minimal"
|
|
||||||
name="ope_auth{{$n}}"
|
|
||||||
value="{{__($label)}}" {{ old('ope_auth'.$n, ${'ope_auth'.$n} ?? '') == __($label) ? 'checked' : '' }}>
|
|
||||||
<label class="form-check-label">{{__($label)}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-2">
|
|
||||||
<input type="radio" class="minimal"
|
|
||||||
name="ope_auth{{$n}}"
|
|
||||||
value="{{__("付与しない")}}" {{ old('ope_auth'.$n, ${'ope_auth'.$n} ?? '') == __("付与しない") ? 'checked' : '' }}>
|
|
||||||
<label class="form-check-label">{{__("付与しない")}}</label>
|
|
||||||
</div>
|
|
||||||
@endforeach
|
|
||||||
|
|
||||||
<!-- 退職フラグ -->
|
|
||||||
<div class="form-group col-3">
|
|
||||||
<label>{{__('validation.attributes.ope_quit_flag')}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-2">
|
|
||||||
<input type="radio" class="minimal"
|
|
||||||
name="ope_quit_flag"
|
|
||||||
value="1" {{ old('ope_quit_flag', $ope_quit_flag ?? 0) == 1 ? 'checked' : '' }}>
|
|
||||||
<label class="form-check-label">{{__('退職')}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-2">
|
|
||||||
<input type="radio" class="minimal"
|
|
||||||
name="ope_quit_flag"
|
|
||||||
value="0" {{ old('ope_quit_flag', $ope_quit_flag ?? 0) == 0 ? 'checked' : '' }}>
|
|
||||||
<label class="form-check-label">{{__('退職しない')}}</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- 退職日 -->
|
|
||||||
<div class="form-group col-3">
|
|
||||||
<label>{{__('validation.attributes.ope_quitday')}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-group col-9">
|
|
||||||
<input type="date" name="ope_quitday" class="form-control form-control-lg"
|
|
||||||
value="{{ old('ope_quitday', $ope_quitday ?? '') }}"
|
|
||||||
placeholder="{{__('validation.attributes.ope_quitday')}}" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="text-center mt-4">
|
|
||||||
@if($isInfo)
|
|
||||||
<a href="{{route('ope_add')}}" class="btn btn-lg btn-success">{{__('登録')}}</a>
|
|
||||||
<a href="{{route('ope_edit',['id'=>$ope_id])}}" class="btn btn-lg btn-danger">{{__('編集')}}</a>
|
|
||||||
@else
|
|
||||||
<button type="submit" class="btn btn-lg btn-success register">{{__('登録')}}</button>
|
|
||||||
@if(isset($isEdit) && $isEdit)
|
|
||||||
<button type="submit" name="delete" value="1" class="btn btn-lg btn-danger ml-2">{{__('削除')}}</button>
|
|
||||||
@endif
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@ -1,51 +0,0 @@
|
|||||||
@extends('layouts.app')
|
|
||||||
@section('title', '[東京都|〇〇駐輪場] オペレータマスタ')
|
|
||||||
|
|
||||||
@section('content')
|
|
||||||
<div class="content-header"></div>
|
|
||||||
<div class="container-fluid">
|
|
||||||
@if ($errors->any())
|
|
||||||
<div class="alert alert-danger">
|
|
||||||
<ul>
|
|
||||||
@foreach ($errors->all() as $error)
|
|
||||||
<li>{{ $error }}</li>
|
|
||||||
@endforeach
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
@endif
|
|
||||||
<form method="post" action="{{ route('ope_add') }}">
|
|
||||||
@csrf
|
|
||||||
@include('admin.opes._form', [
|
|
||||||
'isEdit' => 0,
|
|
||||||
'isInfo' => 0,
|
|
||||||
// 必要な初期値を空で渡す
|
|
||||||
'ope_name' => '',
|
|
||||||
'login_id' => '',
|
|
||||||
'ope_pass' => '',
|
|
||||||
'ope_belong' => '',
|
|
||||||
'ope_type' => '',
|
|
||||||
'ope_mail' => '',
|
|
||||||
'ope_phone' => '',
|
|
||||||
'ope_sendalart_que1' => '',
|
|
||||||
'ope_sendalart_que2' => '',
|
|
||||||
'ope_sendalart_que3' => '',
|
|
||||||
'ope_sendalart_que4' => '',
|
|
||||||
'ope_sendalart_que5' => '',
|
|
||||||
'ope_sendalart_que6' => '',
|
|
||||||
'ope_sendalart_que7' => '',
|
|
||||||
'ope_sendalart_que8' => '',
|
|
||||||
'ope_sendalart_que9' => '',
|
|
||||||
'ope_sendalart_que10' => '',
|
|
||||||
'ope_sendalart_que11' => '',
|
|
||||||
'ope_sendalart_que12' => '',
|
|
||||||
'ope_sendalart_que13' => '',
|
|
||||||
'ope_auth1' => '',
|
|
||||||
'ope_auth2' => '',
|
|
||||||
'ope_auth3' => '',
|
|
||||||
'ope_auth4' => '',
|
|
||||||
'ope_quit_flag' => '',
|
|
||||||
'ope_quitday' => '',
|
|
||||||
])
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
@endsection
|
|
||||||
@ -1,46 +0,0 @@
|
|||||||
|
|
||||||
@extends('layouts.app')
|
|
||||||
@section('title', '[東京都|〇〇駐輪場] オペレータマスタ')
|
|
||||||
|
|
||||||
@section('content')
|
|
||||||
<!-- Content Header (Page header) -->
|
|
||||||
<div class="content-header">
|
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="row mb-2">
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<h1 class="m-0 text-dark">[東京都|〇〇駐輪場] オペレータマスタ</h1>
|
|
||||||
</div><!-- /.col -->
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<ol class="breadcrumb float-sm-right text-sm">
|
|
||||||
<li class="breadcrumb-item"><a href="./index2.html">XX様info(ホーム)</a></li>
|
|
||||||
<li class="breadcrumb-item"><a href="./index3.html">[東京都|〇〇駐輪場]</a></li>
|
|
||||||
<li class="breadcrumb-item"><a href="{{ route('opes') }}">オペレータマスタ</a></li>
|
|
||||||
</ol>
|
|
||||||
</div><!-- /.col -->
|
|
||||||
</div><!-- /.row -->
|
|
||||||
</div><!-- /.container-fluid -->
|
|
||||||
</div>
|
|
||||||
<!-- /.content-header -->
|
|
||||||
|
|
||||||
<!-- Main content -->
|
|
||||||
<section class="content">
|
|
||||||
<div class="container-fluid">
|
|
||||||
<!-- SELECT2 EXAMPLE -->
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-12">
|
|
||||||
<div class="card">
|
|
||||||
<form method="post" action="{{ route('ope_edit',['id'=>$ope_id])}}" enctype="multipart/form-data">
|
|
||||||
<!-- TOKEN FORM -->
|
|
||||||
<input type="hidden" name="_token" value="{{ csrf_token() }}" >
|
|
||||||
<!-- / .TOKEN FORM -->
|
|
||||||
@include('admin.opes._form',['isEdit'=>1,'isInfo'=>0])
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<!-- /.content -->
|
|
||||||
|
|
||||||
@endsection
|
|
||||||
@ -1,46 +0,0 @@
|
|||||||
|
|
||||||
@extends('layouts.app')
|
|
||||||
@section('title', '[東京都|〇〇駐輪場] オペレータマスタ')
|
|
||||||
|
|
||||||
@section('content')
|
|
||||||
<!-- Content Header (Page header) -->
|
|
||||||
<div class="content-header">
|
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="row mb-2">
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<h1 class="m-0 text-dark">[東京都|〇〇駐輪場] オペレータマスタ</h1>
|
|
||||||
</div><!-- /.col -->
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<ol class="breadcrumb float-sm-right text-sm">
|
|
||||||
<li class="breadcrumb-item"><a href="./index2.html">XX様info(ホーム)</a></li>
|
|
||||||
<li class="breadcrumb-item"><a href="./index3.html">[東京都|〇〇駐輪場]</a></li>
|
|
||||||
<li class="breadcrumb-item"><a href="{{ route('opes') }}">オペレータマスタ</a></li>
|
|
||||||
</ol>
|
|
||||||
</div><!-- /.col -->
|
|
||||||
</div><!-- /.row -->
|
|
||||||
</div><!-- /.container-fluid -->
|
|
||||||
</div>
|
|
||||||
<!-- /.content-header -->
|
|
||||||
|
|
||||||
<!-- Main content -->
|
|
||||||
<section class="content">
|
|
||||||
<div class="container-fluid">
|
|
||||||
<!-- SELECT2 EXAMPLE -->
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-12">
|
|
||||||
<div class="card">
|
|
||||||
<form method="post" action="{{ route('ope_info',['id'=>$ope_id])}}" enctype="multipart/form-data">
|
|
||||||
<!-- TOKEN FORM -->
|
|
||||||
<input type="hidden" name="_token" value="{{ csrf_token() }}" >
|
|
||||||
<!-- / .TOKEN FORM -->
|
|
||||||
@include('admin.opes._form',['isEdit'=>0,'isInfo'=>1])
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<!-- /.content -->
|
|
||||||
|
|
||||||
@endsection
|
|
||||||
@ -1,132 +0,0 @@
|
|||||||
@extends('layouts.app')
|
|
||||||
@section('title', '[東京都|〇〇駐輪場] オペレータマスタ')
|
|
||||||
|
|
||||||
@section('content')
|
|
||||||
<div class="content-header">
|
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="row mb-2">
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<h1 class="m-0 text-dark">{{__('オペレータマスタ')}}</h1>
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<ol class="breadcrumb float-sm-right text-sm">
|
|
||||||
<li class="breadcrumb-item"><a href="{{route('home')}}">XX様info(ホーム)</a></li>
|
|
||||||
<li class="breadcrumb-item"><a href="javascript: void(0);">[東京都|〇〇駐輪場]</a></li>
|
|
||||||
<li class="breadcrumb-item active">{{__('オペレータマスタ')}}</li>
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section class="content">
|
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="container-fluid mb20">
|
|
||||||
<button type="button" class="btn btn-sm btn-primary mr10"
|
|
||||||
onclick="location.href='{{ route('ope_add') }}'">新規</button>
|
|
||||||
<button type="submit" class="btn btn-sm btn-danger mr10" form="form_delete" name="delete" id="delete"
|
|
||||||
onclick="return confirm('選択した項目を削除しますか?');">削除</button>
|
|
||||||
<form action="{{ route('opes_import') }}" method="post" enctype="multipart/form-data" style="display:inline;" id="import_form">
|
|
||||||
@csrf
|
|
||||||
<input type="file" name="import_file" id="import_file" style="display:none;" required>
|
|
||||||
<button type="button" class="btn btn-sm btn-info mr10" onclick="document.getElementById('import_file').click();">インポート</button>
|
|
||||||
</form>
|
|
||||||
<form id="csv_export_form" action="{{ route('opes_export') }}" method="post" style="display:inline;">
|
|
||||||
@csrf
|
|
||||||
<button type="submit" class="btn btn-sm btn-success mr10">CSV出力</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="width:100%; text-align: right;">
|
|
||||||
{{ $list->appends(['sort' => $sort, 'sort_type' => $sort_type])->links('pagination') }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form col-lg-12">
|
|
||||||
@if(Session::has('success'))
|
|
||||||
<div class="alert alert-success alert-dismissible" role="alert">
|
|
||||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
||||||
{{ Session::get('success') }}
|
|
||||||
</div>
|
|
||||||
@elseif(Session::has('error'))
|
|
||||||
<div class="alert alert-danger alert-dismissible">
|
|
||||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
||||||
<h4><i class="icon fa fa-ban"></i> {{__('誤差')}}:</h4>
|
|
||||||
{!! Session::get('error') !!}
|
|
||||||
</div>
|
|
||||||
@elseif(isset($errorMsg))
|
|
||||||
<div class="alert alert-danger alert-dismissible">
|
|
||||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
||||||
<h4><i class="icon fa fa-ban"></i> {{__('誤差')}}:</h4>
|
|
||||||
{!! $errorMsg !!}
|
|
||||||
</div>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form action="{{route('opes_delete')}}" method="post" id="form_delete">
|
|
||||||
@csrf
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table table-bordered table-hover" style="min-width:1800px;">
|
|
||||||
<thead class="thead-light">
|
|
||||||
<tr>
|
|
||||||
<th style="width:160px;">
|
|
||||||
<input type="checkbox" id="checkbox_all" >
|
|
||||||
</th>
|
|
||||||
<th>オペレータID</th>
|
|
||||||
<th>オペレータ名</th>
|
|
||||||
<th>オペレータ種別</th>
|
|
||||||
<th>メールアドレス</th>
|
|
||||||
<th>電話番号</th>
|
|
||||||
@for($i=1;$i<=13;$i++)
|
|
||||||
<th>キュー{{$i}}アラート送信</th>
|
|
||||||
@endfor
|
|
||||||
<th>管理者権限付与</th>
|
|
||||||
<th>エリアマネージャー権限付与</th>
|
|
||||||
<th>エリアオペレーター権限付与</th>
|
|
||||||
<th>オペレーター権限付与</th>
|
|
||||||
<th>退職フラグ</th>
|
|
||||||
<th>退職日</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
@foreach($list as $item)
|
|
||||||
<tr>
|
|
||||||
<td style="background:#faebd7;">
|
|
||||||
<input type="checkbox" name="pk[]" value="{{$item->ope_id}}">
|
|
||||||
<a href="{{route('ope_info', ['id' => $item->ope_id])}}"
|
|
||||||
class="btn btn-sm btn-outline-primary ml-2">{{__('編集')}}</a>
|
|
||||||
</td>
|
|
||||||
<td>{{ $item->ope_id }}</td>
|
|
||||||
<td>{{ $item->ope_name }}</td>
|
|
||||||
<td>{{ \App\Models\Ope::OPE_TYPE[$item->ope_type] ?? $item->ope_type }}</td>
|
|
||||||
<td>{{ $item->ope_mail }}</td>
|
|
||||||
<td>{{ $item->ope_phone }}</td>
|
|
||||||
@for($i=1;$i<=13;$i++)
|
|
||||||
@php $field = "ope_sendalart_que{$i}"; @endphp
|
|
||||||
<td>{{ $item->$field ? 'はい' : 'いいえ' }}</td>
|
|
||||||
@endfor
|
|
||||||
<td>{{ $item->ope_auth1 ? '○' : '' }}</td>
|
|
||||||
<td>{{ $item->ope_auth2 ? '○' : '' }}</td>
|
|
||||||
<td>{{ $item->ope_auth3 ? '○' : '' }}</td>
|
|
||||||
<td>{{ $item->ope_auth4 ? '○' : '' }}</td>
|
|
||||||
<td>{{ $item->ope_quit_flag ? "退職" : "在職" }}</td>
|
|
||||||
<td>{{ $item->ope_quitday }}</td>
|
|
||||||
</tr>
|
|
||||||
@endforeach
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<div class="mt-3" style="text-align:right;">
|
|
||||||
{{ $list->appends(['sort' => $sort, 'sort_type' => $sort_type])->links('pagination') }}
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
document.getElementById('checkbox_all')?.addEventListener('change', function(e){
|
|
||||||
document.querySelectorAll('input[name="pk[]"]').forEach(function(el){
|
|
||||||
el.checked = e.target.checked;
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
@endsection
|
|
||||||
Loading…
Reference in New Issue
Block a user