I am building an app to allow my users to generate a Maintenance Summary Report. The user basically fills up the different fields in the form and after submitting the form, they are able to send a pdf version of that form to the client. I have managed to build up the rest of the form with no hitch except when it comes to the list of Service Tasks,
I have problems trying to send the toggled (if true) Service tasks to be recorded in the database for it to then be recalled. The list of Service Task (eg. oil change, valve leak checks, cable integrity etc) is fixed, meaning, everytime a report is to be generated, the user is greeted with the same items and they just have to toggle the checkbox to be true for it to be recorded.
Collections I have created:
• Maintenance Report Summary (the database that consolidates all the necessary info)
• Service Task (consists of 7 different tasks)
• Report Task (records the Service task toggled true as a single line item. Meaning, if the user completes the 7 different tasks, there should be 7 line items recorded.)
Someone please help! Thanks a million!