Add the pin for the stimulus-autocomplete
Add the logic for the autocomplete in the views/bookings/new for the services and customers
Also included the autocomplete.rb to be more clean
Fixed the set_ends_at in the booking model that was broking adding the { service.present? }
Fixed the views that was using sum_duration for service.duration
Add the pin for the stimulus-autocomplete Add the logic for the autocomplete in the
views/bookings/new
for theservices
andcustomers
Also included theautocomplete.rb
to be more cleanFixed the
set_ends_at
in the booking model that was broking adding the { service.present? } Fixed the views that was usingsum_duration
forservice.duration
screenshot