Fix: add option to choose 24 hour working slot (#4018)

* Add option to choose 24 hour working slot

* fix spec

* add check to update open hour and close hour for open all day

* update 24 hour working slot change in widget side

* add validation to check open_all_day and closed_all_day true at the same time
This commit is contained in:
Aswin Dev P.S
2022-02-22 01:28:49 -08:00
committed by GitHub
parent 7ba24b90c4
commit e348db1e37
10 changed files with 151 additions and 19 deletions

View File

@@ -0,0 +1,5 @@
class AddOpenAllDayToWorkingHour < ActiveRecord::Migration[6.1]
def change
add_column :working_hours, :open_all_day, :boolean, default: false
end
end