Controller could construct it by using the date range to find all:
granted requests
scheduled shifts
Half or Closed Days
a list of deliveries
Save schedule to localstorage, and send to database when published?
Probably best to treat a schedule like a dataset from datagatherer, save it to localstorage, but save separate components to database separately. The controller can build the schedule after finding all the necessary pieces.
Past schedules are not editable, they should be saved as PDF-whkhtmltopdf or as an image - The PDFs should be downloaded? I don't think they should/can be stored to the database.
Controller could construct it by using the date range to find all:
Save schedule to localstorage, and send to database when published? Probably best to treat a schedule like a dataset from datagatherer, save it to localstorage, but save separate components to database separately. The controller can build the schedule after finding all the necessary pieces.
Past schedules are not editable, they should be saved as PDF-whkhtmltopdf or as an image - The PDFs should be downloaded? I don't think they should/can be stored to the database.