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