rauno56 / climbing-card-check

climbing-card-check.vercel.app
0 stars 2 forks source link

A new workflow for adding cards to the database #31

Open taavilooke opened 7 months ago

taavilooke commented 7 months ago

Currently there are two workflows for adding new cards to the database. Both of them are rather complicated. I have a proposal for a new workflow that would make administrating this process easier, although it needs some more development.

A. The manual workflow

  1. The climber fills in the consent form (Andmekaitse and Omavastutus) online (someone needs to direct the climber to the link).
  2. The examiner collects the fee from the climber and transfers the fee to the Association.
  3. The examiner sends an email with the data about the exam and a confirmation of the fee transfer (maksekinnitus).
  4. An admin from the Association needs to read the email, manually match the names in the email with the consent form entries and insert the new cards to the database.
  5. The admin has to send a confirmation email to the climber that the card has been added.

B. Immediate addition workflow

  1. After the exam the examiner immediately fills out a form with the data about the exam. The climber has to be present to give consents.
  2. The card is immediately added to the database with a validity of 6 weeks.
  3. At the beginning of the next month the admin has to create a report about all the cards issued during the previous month and confirm this with the examiners.
  4. The Association has to create a bill and send it to the examiners.
  5. The admin has to check that the bill has been paid and then update the validity of the cards in the database.

New proposal for a workflow of adding cards

  1. There is a page where examiners can log in (possibly with a log in code/link sent by email, so that we don't have store passwords) and fill in a form about the exam
  2. When the card is added by the examiner, an email about this is sent to the climber.
  3. The email has a link that leads the climber to a form to give the necessary consents (Omavastutus and Andmekaitse) and pay the card fee (a Montonio integration seems preferable).
  4. The new card is automatically added to the database.
rauno56 commented 7 months ago

There is a page where examiners can log in (possibly with a log in code/link sent by email, so that we don't have store passwords) and fill in a form about the exam

They kinda do, right? I mean there is a function for that through GForms.

From the rest, I'd prioritize (3) first because we wouldn't have a link to send them in (2) otherwise.