This commit is contained in:
parent
a17960f61c
commit
1d7e3941b5
@ -3,7 +3,7 @@
|
||||
@section('title', '利用者マスタ')
|
||||
|
||||
@section('content')
|
||||
@php
|
||||
@php
|
||||
$curSort = $sort ?? request('sort', 'user_seq');
|
||||
$curDir = strtolower($dir ?? request('dir', $sort_type ?? 'desc'));
|
||||
if (!in_array($curDir, ['asc', 'desc'], true)) {
|
||||
@ -36,7 +36,7 @@
|
||||
$next = ($curSort === $key && $curDir === 'asc') ? 'desc' : 'asc';
|
||||
return route('users', array_merge($queryBase, ['sort' => $key, 'dir' => $next]));
|
||||
};
|
||||
@endphp
|
||||
@endphp
|
||||
{{-- ▼ コンテンツヘッダー(パンくず) --}}
|
||||
<div class="content-header">
|
||||
<div class="container-fluid">
|
||||
@ -242,6 +242,10 @@
|
||||
<input type="hidden" name="quit_to" value="{{ $quit_to ?? '' }}">
|
||||
</form>
|
||||
|
||||
<div class="text-right mb-2">
|
||||
全 {{ $list->total() }} 件中 {{ $list->firstItem() }}〜{{ $list->lastItem() }} 件を表示
|
||||
</div>
|
||||
|
||||
<div class="d-flex align-items-center mb-2">
|
||||
<div>
|
||||
<a href="{{ route('users_add') }}" class="btn btn-primary">新規</a>
|
||||
@ -259,7 +263,8 @@
|
||||
@csrf
|
||||
|
||||
<div id="users-list" class="table-responsive">
|
||||
<table class="table table-bordered table-hover text-nowrap table-users dataTable" style="min-width:1200px;">
|
||||
<table class="table table-bordered table-hover text-nowrap table-users dataTable"
|
||||
style="min-width:1200px;">
|
||||
<thead class="thead-light">
|
||||
<tr>
|
||||
<th style="width:110px;" class="{{ $thClass('user_id') }}">
|
||||
@ -300,11 +305,12 @@
|
||||
$item->usertype_subject1 ?? '',
|
||||
$item->usertype_subject2 ?? '',
|
||||
$item->usertype_subject3 ?? '',
|
||||
])->filter(fn ($v) => $v !== '')->implode('/');
|
||||
])->filter(fn($v) => $v !== '')->implode('/');
|
||||
@endphp
|
||||
<tr>
|
||||
{{-- 利用者ID(リンク) --}}
|
||||
<td class="text-nowrap"><a href="{{ $userEditUrl }}">{{ $item->user_id }} △ {{ $item->user_name }}</a></td>
|
||||
<td class="text-nowrap"><a href="{{ $userEditUrl }}">{{ $item->user_id }} △
|
||||
{{ $item->user_name }}</a></td>
|
||||
{{-- タグ/QR --}}
|
||||
<td>{{ $item->tag_qr_flag ? 'QR' : 'タグ' }}</td>
|
||||
{{-- 利用者分類ID/氏名/フリガナ --}}
|
||||
@ -345,6 +351,7 @@
|
||||
#users-list tfoot th {
|
||||
background: #fff !important;
|
||||
}
|
||||
|
||||
.table-users thead th .header-link {
|
||||
color: #212529 !important;
|
||||
text-decoration: none !important;
|
||||
@ -352,6 +359,7 @@
|
||||
white-space: nowrap;
|
||||
padding-right: 1.8rem;
|
||||
}
|
||||
|
||||
.table-users.dataTable thead th.sorting,
|
||||
.table-users.dataTable thead th.sorting_asc,
|
||||
.table-users.dataTable thead th.sorting_desc {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user