From b3da61d072c51774b65167b65c827e64a0b5838d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=A0=E7=9A=84=E5=90=8D=E5=AD=97?= <你的邮箱> Date: Sat, 23 Aug 2025 22:07:08 +0900 Subject: [PATCH] =?UTF-8?q?=E7=94=BB=E9=9D=A2=E3=82=A8=E3=83=A9=E3=83=BC?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/admin/usertypes/_form.blade.php | 88 +++++++++++-------- resources/views/admin/usertypes/add.blade.php | 6 -- .../views/admin/usertypes/edit.blade.php | 53 +++++------ .../views/admin/usertypes/info.blade.php | 7 -- .../views/admin/usertypes/list.blade.php | 32 ++++++- 5 files changed, 101 insertions(+), 85 deletions(-) diff --git a/resources/views/admin/usertypes/_form.blade.php b/resources/views/admin/usertypes/_form.blade.php index 0dbf186..0591f4f 100644 --- a/resources/views/admin/usertypes/_form.blade.php +++ b/resources/views/admin/usertypes/_form.blade.php @@ -19,55 +19,72 @@ @endif
-
-
- @if($isInfo) - {{__('登録')}} - {{__('編集')}} - @else - - @endif -
-
+
+
+ @if($isInfo) + {{__('登録')}} + {{__('編集')}} + @else + + + @endif +
@csrf @if($isInfo || $isEdit) - - - - + + + + @endif - + - + - + + + + + + + + + + + + + + + + + + @@ -75,13 +92,14 @@
@if($isInfo) {{__('登録')}} - {{__('編集')}} + {{__('編集')}} @else - + + @endif
- - + \ No newline at end of file diff --git a/resources/views/admin/usertypes/add.blade.php b/resources/views/admin/usertypes/add.blade.php index 6de2833..c7926c9 100644 --- a/resources/views/admin/usertypes/add.blade.php +++ b/resources/views/admin/usertypes/add.blade.php @@ -40,12 +40,6 @@ - -
- - - -
diff --git a/resources/views/admin/usertypes/edit.blade.php b/resources/views/admin/usertypes/edit.blade.php index d354f51..5c45f02 100644 --- a/resources/views/admin/usertypes/edit.blade.php +++ b/resources/views/admin/usertypes/edit.blade.php @@ -1,53 +1,40 @@ - @extends('layouts.app') -@section('title', '[東京都|〇〇駐輪場] 利用者分類マスタ') +@section('title', '編集 | 利用者分類マスタ') @section('content') - +
-

[東京都|〇〇駐輪場] 利用者分類マスタ

-
+

編集

+
-
-
-
+ + + -
- -
-
-
-
- - - - @include('admin.usertypes._form',['isEdit'=>1,'isInfo'=>0]) - -
-
-
+ {{-- 上部の操作ボタン(登録/削除) --}} -
- - - + + {{-- カード本体 --}} +
+ {{-- 既存の共通フォームをそのまま利用 --}} + @include('admin.usertypes._form', ['isEdit' => 1, 'isInfo' => 0]) +
-
- -@endsection + + +@endsection \ No newline at end of file diff --git a/resources/views/admin/usertypes/info.blade.php b/resources/views/admin/usertypes/info.blade.php index 0381004..450ff8e 100644 --- a/resources/views/admin/usertypes/info.blade.php +++ b/resources/views/admin/usertypes/info.blade.php @@ -28,13 +28,6 @@ -
- - - - {{ $list->appends(['sort' => $sort ?? '','sort_type'=>$sort_type ?? ''])->links('pagination') }} -
@if(Session::has('success'))
+ + + + + + + @endforeach
{{__('validation.attributes.user_categoryid')}} - -
{{__('validation.attributes.user_categoryid')}} + +
{{__('validation.attributes.print_name')}}{{__('分類名')}} - +
{{__('validation.attributes.usertype_money')}}{{__('適用料率')}} - +
{{__('validation.attributes.usertype_remarks')}}{{__('備考')}} - + +
{{__('ソートオーダー')}} + +
{{__('分類名1')}} + +
{{__('分類名2')}} + +
{{__('分類名3')}} +
+ {{__('ソート順')}} + + {{__('分類名1')}} + + {{__('分類名2')}} + + {{__('分類名3')}} + {{__('分類名')}} @@ -100,16 +112,28 @@ - {{mb_substr($item->user_categoryid, 0, 10)}} + {{ mb_substr($item->user_categoryid, 0, 10) }} - {{mb_substr($item->print_name, 0, 10)}} + {{ mb_substr($item->sort_order, 0, 10) }} + + {{ mb_substr($item->category_name1, 0, 10) }} + + {{ mb_substr($item->category_name2, 0, 10) }} + + {{ mb_substr($item->category_name3, 0, 10) }} + + {{ mb_substr($item->print_name, 0, 10) }} - {{mb_substr($item->usertype_money, 0, 10)}} + {{ mb_substr($item->usertype_money, 0, 10) }} - {{mb_substr($item->usertype_remarks, 0, 20)}} + {{ mb_substr($item->usertype_remarks, 0, 20) }}