From 464755b87001e90d017df4c6d4e1e4441fc5be28 Mon Sep 17 00:00:00 2001 From: "kin.rinzen" Date: Wed, 10 Sep 2025 15:36:32 +0900 Subject: [PATCH] =?UTF-8?q?=E9=A7=90=E8=BC=AA=E5=A0=B4=E6=89=80=E3=80=81?= =?UTF-8?q?=E6=96=99=E9=87=91=E3=83=9E=E3=82=B9=E3=82=BF=E3=81=AE=E7=B7=A8?= =?UTF-8?q?=E9=9B=86=E7=94=BB=E9=9D=A2=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/admin/prices/_form.blade.php | 18 +- resources/views/admin/prices/list.blade.php | 171 ++++++++++--------- 2 files changed, 105 insertions(+), 84 deletions(-) diff --git a/resources/views/admin/prices/_form.blade.php b/resources/views/admin/prices/_form.blade.php index eeb60ed..56f1139 100644 --- a/resources/views/admin/prices/_form.blade.php +++ b/resources/views/admin/prices/_form.blade.php @@ -99,7 +99,10 @@ @@ -130,22 +133,24 @@ class="form-control form-control-lg" /> - -
- -
+
+ +
+
+
+ {{-- 下部ボタン --}} @if($isEdit) {{-- 編集画面 --}} - +
@csrf @@ -156,5 +161,6 @@ {{-- 新規画面 --}} @endif +
\ No newline at end of file diff --git a/resources/views/admin/prices/list.blade.php b/resources/views/admin/prices/list.blade.php index bb295d8..111dd4c 100644 --- a/resources/views/admin/prices/list.blade.php +++ b/resources/views/admin/prices/list.blade.php @@ -2,17 +2,18 @@ @section('title', '[東京都|〇〇駐輪場] 駐輪場所、料金マスタ') @section('content') + {{-- ▼ コンテンツヘッダー(パンくず) --}}
-

{{__('駐輪場所、料金マスタ')}}

+

{{ __('駐輪場所、料金マスタ') }}

@@ -22,7 +23,8 @@ {{-- ▼ メインコンテンツ --}}
- {{-- 並び替え用 hidden --}} + + {{-- ▼ 並び替え用 hidden --}} @csrf @@ -33,20 +35,30 @@
- - - + + + + +
-
- {{ $list->appends(['sort' => $sort ?? '', 'sort_type' => $sort_type ?? ''])->links('pagination') }} + {{-- ▼ ページネーション --}} +
+
+ {{ $list->appends(['sort' => $sort ?? '', 'sort_type' => $sort_type ?? ''])->links('pagination') }} +
- + {{-- ▼ フラッシュメッセージ --}}
@if(Session::has('success')) @@ -57,93 +69,96 @@ @elseif(Session::has('error'))
-

{{__('誤差')}}:

+

{{ __('誤差') }}:

{!! Session::get('error') !!}
@elseif(isset($errorMsg))
-

{{__('誤差')}}:

+

{{ __('誤差') }}:

{!! $errorMsg !!}
@endif
{{-- ▼ 一覧(市区マスタ準拠:1枚テーブル/先頭が「チェック+編集」統合列) --}} - + @csrf +
- - @csrf - - +
+ + + {{-- ★ チェック + 編集 用の1列 --}} + + + {{-- ▼ ソート対象列 --}} + + + + {{-- ▼ ソート不要 --}} + + + + + + {{-- ▼ ソート対象列 --}} + + + + + + + + @foreach($list as $item) - {{-- ★ チェック + 編集 用の1列 --}} - + {{-- ★ 同じセル内に チェック + 編集ボタン --}} + - {{-- ▼ ソート対象列 --}} - - - - {{-- ▼ ソート不要 --}} - - - - - - {{-- ▼ ソート対象列 --}} - - - + {{-- データ列 --}} + + + + + + + + + - - - - @foreach($list as $item) - - {{-- ★ 同じセル内に チェック + 編集ボタン --}} - - - {{-- データ列 --}} - - - - - - - - - - - @endforeach - -
+ + + 駐輪場所ID + + 駐輪場ID + 商品名期間利用者分類ID駐輪料金(税込) + 車種区分ID + + 駐輪分類 + + 駐車車室ID +
- - +
+ + 編集 +
+
- 駐輪場所ID - - 駐輪場ID - 商品名期間利用者分類ID駐輪料金(税込) - 車種区分ID - - 駐輪分類 - - 駐車車室ID - {{ $item->price_parkplaceid }}{{ $item->park_id }}{{ $item->prine_name }}{{ $item->price_month }}{{ $item->user_categoryid }}{{ $item->price }}{{ $item->psection_id }}{{ $item->price_ptypeid }}{{ $item->pplace_id }}
-
- - 編集 -
-
{{ $item->price_parkplaceid }}{{ $item->park_id }}{{ $item->prine_name }}{{ $item->price_month }}{{ $item->user_categoryid }}{{ $item->price }}{{ $item->psection_id }}{{ $item->price_ptypeid }}{{ $item->pplace_id }}
- + @endforeach + +
- - +
@@ -175,4 +190,4 @@ $(function(){ }); }); -@endsection \ No newline at end of file +@endsection