Aye Aye Aung #77
openElection Managment - Questionnaires
100%
Description
If admin choose questionnaire eletion type while election created, input data will change relevant data.
election_questionnaires_tbl
id (BIGINT UNSIGNED)
election_id (BIGINT UNSIGNED) -- Foreign key referencing election_tbl.id
question (TEXT)
question_type (ENUM: 'yes_no', 'multiple_choice')
options (JSON) -- For multiple choice (nullable for others)
is_required (BOOLEAN)
created_at (TIMESTAMP)
updated_at (TIMESTAMP)
Updated by Aye Aye Aung about 1 year ago
If the admin want to add question details on each question, they can add many question details. [ one to many ]
election_questionnaires_details_tbl
- id (BIGINT UNSIGNED)
- question_id (BIGINT UNSIGNED)
- image (VARCHAR(255))
- name (VARCHAR(255))
- bio (TEXT)
- created_at (TIMESTAMP)
- updated_at (TIMESTAMP)
Updated by Aye Aye Aung about 1 year ago
Just create database table because this table will use from voter side.
election_questionnaire_responses_tbl
- id (BIGINT UNSIGNED)
- election_voter_id (BIGINT UNSIGNED) -- Foreign key referencing election_voters.id
- questionnaire_id (BIGINT UNSIGNED) -- Foreign key referencing election_questionnaires_tbl.id
- response (TEXT) -- yes or no / multiple_choice
- created_at (TIMESTAMP)
- updated_at (TIMESTAMP)
Updated by Aye Aye Aung about 1 year ago
- Subject changed from Election Managment to Election Managment - Questionnaires
Updated by Aye Aye Aung about 1 year ago
Features will include
- crud operation of question
- single entry
- bulk entry by excel
- download question list
Updated by Aye Aye Aung about 1 year ago
- Assignee changed from Win Lae to Aung Tin
Updated by Aung Tin about 1 year ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
Updated by Aung Tin about 1 year ago
- % Done changed from 10 to 80
Need to add excel import and download question list features.
Updated by Aung Tin about 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 80 to 100