backup: before auth-required booking and phone number feature
This commit is contained in:
1 parent
83d9a67188
commit
900eb24b37
10 files changed
+618
-253
No files matched your search
@@ -18,6 +18,9 @@ class BookingController extends Controller
|
||||
{
|
||||
$validated = $request->validated();
|
||||
|
||||
$lot = \App\Models\ParkingLot::find($validated['parking_lot_id']);
|
||||
$validated['pricing_snapshot'] = $lot?->pricingSnapshot();
|
||||
|
||||
$booking = \App\Models\Booking::create($validated);
|
||||
|
||||
// Note: In production, create CarRegistry here for the booking car
|
||||
|
||||
Reference in new issue
Block a user