Update templates/edu.gbai/edu.gbdialog/enrollment.bas
Some checks failed
GBCI / build (push) Failing after 24m25s

This commit is contained in:
rodriguez 2025-08-10 20:59:06 +00:00
parent 9201d7a262
commit 300b5dc258

View file

@ -2,21 +2,8 @@ PARAM name AS string LIKE "Abreu Silva" DESCRIPTION "Required full name of the i
PARAM birthday AS date LIKE "23/09/2001" DESCRIPTION "Required birth date of the individual in DD/MM/YYYY format." PARAM birthday AS date LIKE "23/09/2001" DESCRIPTION "Required birth date of the individual in DD/MM/YYYY format."
PARAM email AS string LIKE "abreu.silva@example.com" DESCRIPTION "Required email address for contact purposes." PARAM email AS string LIKE "abreu.silva@example.com" DESCRIPTION "Required email address for contact purposes."
PARAM personalid AS integer LIKE "12345678900" DESCRIPTION "Required Personal ID number of the individual (only numbers)." PARAM personalid AS integer LIKE "12345678900" DESCRIPTION "Required Personal ID number of the individual (only numbers)."
PARAM address AS string LIKE "Rua das Flores, 123, São Paulo, SP" DESCRIPTION "Required full address of the individual." PARAM address AS string LIKE "Rua das Flores, 123 - SP" DESCRIPTION "Required full address of the individual."
DESCRIPTION "This is a the enrollment process, called when the user wants to enrol. Once all information is collected, confirm the details and inform them that their enrollment request has been successfully submitted. Provide a polite and professional tone throughout the interaction." DESCRIPTION "This is a the enrollment process, called when the user wants to enrol. Once all information is collected, confirm the details and inform them that their enrollment request has been successfully submitted. Provide a polite and professional tone throughout the interaction."
SAVE "enrollments.csv", id, name, birthday, email, personalid, address SAVE "enrollments.csv", id, name, birthday, email, personalid, address
IF name AND birthday AND email AND personalid AND address THEN
TALK "Thank you for providing your details. We have successfully received your enrollment request."
TALK "Here are the details you provided:"
TALK "Name: ${name}"
TALK "Birthday: ${birthday}"
TALK "Email: ${email}"
TALK "Personal ID: ${personalid}"
TALK "Address: ${address}"
TALK "Your enrollment request has been submitted successfully. We will contact you shortly with further information."
ELSE
TALK "It seems that some required information is missing. Please ensure you provide all the necessary details to complete your enrollment."
END IF