-
+
このページの使い方
diff --git a/resources/views/regular_contract/create.blade.php b/resources/views/regular_contract/create.blade.php
index 662276b..c0d741a 100644
--- a/resources/views/regular_contract/create.blade.php
+++ b/resources/views/regular_contract/create.blade.php
@@ -2,7 +2,11 @@
@section('content')
+ @if($isRegularContract)
新規定期契約 > 空き駐輪場を確認する
+ @else
+ 駐輪場検索 > 駐輪場選択
+ @endif
@@ -122,9 +126,9 @@
@endphp
@if ($vacancy > 0 && $inGrace)
- @elseif ($vacancy > 0 && !$inGrace)
+ @elseif (!$inGrace)
- @else
+ @elseif ($vacancy <= 0 && $inGrace)
@endif
@empty
diff --git a/routes/web.php b/routes/web.php
index 9b4a6a1..270edd2 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -158,6 +158,9 @@ Route::post('regular_contract/update_period', [RegularContractController::class,
// 定期契約履歴
Route::get('regular_contract/history', [RegularContractController::class, 'showHistory'])
->name('regular_contract.history');
+// 駐輪場検索
+Route::get('park_search', [RegularContractCreateController::class, 'show'])
+ ->name('park_search');
// 空き待ち状況確認画面
Route::get('park_waitlist', [ParkWaitlistController::class, 'index'])