As a admin,
I want to implement a new enrollment process with auto unenrollment
1.New users who have not created an account yet.
Existing users who already have an account.
Acceptance Criteria:
The new user enrollment form should include the following fields:
a. First name: A text input field for the user's first name.
b. Last name: A text input field for the user's last name.
c. Phone number/Email: A text input field for the user's phone number or email address, with validation for correct formats.
Phone number should require the country code.
d. Payment gateway: A dropdown menu for selecting the payment gateway, with the following options: None, eSewa, Khalti, Cash, Other.
e. Price: A numeric input field for specifying the price, with a minimum value of 0.
f. Details: A text input field for additional details, which accepts both text and image inputs.
g. Enrollment starting date: A date input field for configuring the enrollment starting date, defaulting to today's date.
h. Enrollment duration: A numeric input field for specifying the enrollment duration in days, defaulting to unlimited.
i. Enrollment ends date: A date input field that is initially disabled and only enabled when the enrollment duration is configured.
The existing user enrollment form should include all the same fields as the new user enrollment form, except for the first name and last name.
New user enrollment forms should only accept one user at a time.
The system should allow the admin to configure the enrollment starting date when required. If not configured, the default starting date will be today's date.
Technical Details:
The enrollment starting date and enrollment ends date should be implemented as date input fields with appropriate validations.
The enrollment duration field should be implemented as a numeric input field with a default value of 0 for unlimited duration.
The enrollment ends date field should be initially disabled and enabled only when the enrollment duration field is configured.
As a admin, I want to implement a new enrollment process with auto unenrollment
1.New users who have not created an account yet.
Existing users who already have an account. Acceptance Criteria:
The new user enrollment form should include the following fields: a. First name: A text input field for the user's first name. b. Last name: A text input field for the user's last name. c. Phone number/Email: A text input field for the user's phone number or email address, with validation for correct formats.
Phone number should require the country code. d. Payment gateway: A dropdown menu for selecting the payment gateway, with the following options: None, eSewa, Khalti, Cash, Other. e. Price: A numeric input field for specifying the price, with a minimum value of 0. f. Details: A text input field for additional details, which accepts both text and image inputs. g. Enrollment starting date: A date input field for configuring the enrollment starting date, defaulting to today's date. h. Enrollment duration: A numeric input field for specifying the enrollment duration in days, defaulting to unlimited. i. Enrollment ends date: A date input field that is initially disabled and only enabled when the enrollment duration is configured.
The existing user enrollment form should include all the same fields as the new user enrollment form, except for the first name and last name.
New user enrollment forms should only accept one user at a time.
The system should allow the admin to configure the enrollment starting date when required. If not configured, the default starting date will be today's date.
Technical Details:
The enrollment starting date and enrollment ends date should be implemented as date input fields with appropriate validations.
The enrollment duration field should be implemented as a numeric input field with a default value of 0 for unlimited duration.
The enrollment ends date field should be initially disabled and enabled only when the enrollment duration field is configured.
Wireframe