This pull request includes changes to add the functionality of booking a viewing on the public website. It introduces a new ViewController with a store method for handling the booking request. It also adds a checkAvailability method to validate the availability of the requested time slot. Additionally, it includes changes to the Property model and migration to establish a relationship with Viewing model. The Viewing model is also added with its corresponding migration. The BookingCalendar component is created to display the calendar and handle the booking request. Finally, the property/show.blade.php view is updated to include the BookingCalendar component.
Summary
Added ViewController with store method for booking a viewing
Added checkAvailability method to validate availability
Updated Property model and migration to establish relationship with Viewing model
Added Viewing model and migration
Created BookingCalendar component for displaying and handling booking requests
Updated property/show.blade.php view to include BookingCalendar component
Added routes for checking availability and booking a viewing
Fixes #28.
π Latest improvements to Sweep:
New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
PR Feedback (click)
Description
This pull request includes changes to add the functionality of booking a viewing on the public website. It introduces a new
ViewController
with astore
method for handling the booking request. It also adds acheckAvailability
method to validate the availability of the requested time slot. Additionally, it includes changes to theProperty
model and migration to establish a relationship withViewing
model. TheViewing
model is also added with its corresponding migration. TheBookingCalendar
component is created to display the calendar and handle the booking request. Finally, theproperty/show.blade.php
view is updated to include theBookingCalendar
component.Summary
ViewController
withstore
method for booking a viewingcheckAvailability
method to validate availabilityProperty
model and migration to establish relationship withViewing
modelViewing
model and migrationBookingCalendar
component for displaying and handling booking requestsproperty/show.blade.php
view to includeBookingCalendar
componentFixes #28.
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can: