Admins should be able to add handwritten scoresheets to the competition:
Upload the handwritten pdf to a storage bucket
Create a flight for all handwritten scoresheets for a user for a session
location, date, user populated by admin prior to ability to upload scoresheets
If user does not exist, admin should be able to create a "mock" user (possibly add admin_added flag or something so if the owner of that email decides to register, they can)
Create field in Scoresheet table that has a flag / field that links to the file in the storage bucket
When an admin views the entry from the entry modal, the scoresheet shows under the entry as "submitted"
Download button grabs the sheet from bucket and passes it to the front end
Download all button generates the digital PDFs like normal, then uses a lib like pdf-merge to concat the handwritten one to the digital ones
When an admin downloads all, the back end should generate the digital PDFs like normal, then use a lib like pdf-merge to concat the handwritten one to the digital ones prior to zipping all.
Admins should be able to add handwritten scoresheets to the competition:
location
,date
,user
populated by admin prior to ability to upload scoresheetsadmin_added
flag or something so if the owner of that email decides to register, they can)aroma
,appearance
,flavor
,mouthfeel
,overall
,judge_total
,consensus
,place
,minibos
populated prior to uploadDownload
button grabs the sheet from bucket and passes it to the front endDownload all
button generates the digital PDFs like normal, then uses a lib likepdf-merge
to concat the handwritten one to the digital onespdf-merge
to concat the handwritten one to the digital ones prior to zipping all.