initial prototype for seat arrangement
This commit is contained in:
parent
8128ae3c24
commit
586499df04
|
@ -6,7 +6,8 @@
|
|||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"id"
|
||||
"id",
|
||||
"number_of_students"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
|
@ -16,12 +17,19 @@
|
|||
"label": "ID",
|
||||
"options": "Exam Hall",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "number_of_students",
|
||||
"fieldtype": "Int",
|
||||
"label": "Number of students",
|
||||
"reqd": 1
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2023-03-26 16:19:25.251010",
|
||||
"modified": "2023-04-19 18:47:12.824625",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Exam Helper",
|
||||
"name": "Exam Hall Child",
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
{
|
||||
"description": "Exam Halls allocated for the exam. Autogenerated by Exam Helper the first time it is created. Can be manually edited if needed",
|
||||
"fieldname": "allocated_rooms",
|
||||
"fieldtype": "Table MultiSelect",
|
||||
"fieldtype": "Table",
|
||||
"label": "Allocated rooms",
|
||||
"options": "Exam Hall Child"
|
||||
},
|
||||
|
@ -57,7 +57,7 @@
|
|||
"index_web_pages_for_search": 1,
|
||||
"is_submittable": 1,
|
||||
"links": [],
|
||||
"modified": "2023-04-07 13:33:42.695127",
|
||||
"modified": "2023-04-19 18:41:22.243548",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Exam Helper",
|
||||
"name": "Hall Allocation",
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
// Copyright (c) 2023, CSE 2020 Batch and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
// frappe.ui.form.on("Seat Arrangement", {
|
||||
// refresh(frm) {
|
||||
|
||||
// },
|
||||
// });
|
|
@ -0,0 +1,88 @@
|
|||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2023-04-19 18:33:56.264107",
|
||||
"default_view": "List",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"exam_hall",
|
||||
"exam_group",
|
||||
"seat_list",
|
||||
"amended_from"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "exam_hall",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"label": "Exam Hall",
|
||||
"options": "Exam Hall",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "exam_group",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"label": "Exam Group",
|
||||
"options": "Exam Group",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "amended_from",
|
||||
"fieldtype": "Link",
|
||||
"label": "Amended From",
|
||||
"no_copy": 1,
|
||||
"options": "Seat Arrangement",
|
||||
"print_hide": 1,
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "seat_list",
|
||||
"fieldtype": "Table",
|
||||
"label": "Seat list",
|
||||
"options": "Seats And Exams",
|
||||
"reqd": 1
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"is_submittable": 1,
|
||||
"links": [],
|
||||
"modified": "2023-04-19 18:37:30.280739",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Exam Helper",
|
||||
"name": "Seat Arrangement",
|
||||
"owner": "Administrator",
|
||||
"permissions": [
|
||||
{
|
||||
"create": 1,
|
||||
"delete": 1,
|
||||
"email": 1,
|
||||
"export": 1,
|
||||
"print": 1,
|
||||
"read": 1,
|
||||
"report": 1,
|
||||
"role": "System Manager",
|
||||
"share": 1,
|
||||
"submit": 1,
|
||||
"write": 1
|
||||
},
|
||||
{
|
||||
"create": 1,
|
||||
"delete": 1,
|
||||
"email": 1,
|
||||
"export": 1,
|
||||
"print": 1,
|
||||
"read": 1,
|
||||
"report": 1,
|
||||
"role": "Exam Cell Staff",
|
||||
"share": 1,
|
||||
"submit": 1,
|
||||
"write": 1
|
||||
}
|
||||
],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC",
|
||||
"states": []
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
# Copyright (c) 2023, CSE 2020 Batch and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
|
||||
class SeatArrangement(Document):
|
||||
pass
|
|
@ -0,0 +1,9 @@
|
|||
# Copyright (c) 2023, CSE 2020 Batch and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.tests.utils import FrappeTestCase
|
||||
|
||||
|
||||
class TestSeatArrangement(FrappeTestCase):
|
||||
pass
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2023-04-19 18:35:43.409735",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"seat_number",
|
||||
"candidate"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "seat_number",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Seat number",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "candidate",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"label": "Candidate",
|
||||
"options": "Student",
|
||||
"reqd": 1
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2023-04-19 18:35:43.409735",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Exam Helper",
|
||||
"name": "Seats And Exams",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC",
|
||||
"states": []
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
# Copyright (c) 2023, CSE 2020 Batch and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
|
||||
class SeatsAndExams(Document):
|
||||
pass
|
Loading…
Reference in New Issue