added prototype for invigilation duty

This commit is contained in:
Pranav Jerry 2023-05-15 19:30:27 +05:30
parent ac43488c4a
commit 0bf8815854
Signed by: pranav
GPG Key ID: F1DCDC4FED0A0C5B
10 changed files with 167 additions and 0 deletions

View File

@ -0,0 +1,8 @@
// Copyright (c) 2023, CSE 2020 Batch and contributors
// For license information, please see license.txt
// frappe.ui.form.on("Duty List", {
// refresh(frm) {
// },
// });

View File

@ -0,0 +1,71 @@
{
"actions": [],
"allow_rename": 1,
"creation": "2023-05-15 19:27:00.610026",
"default_view": "List",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"exam_group",
"date",
"session",
"section_break_hlpy",
"duties"
],
"fields": [
{
"fieldname": "exam_group",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Exam Group",
"options": "Exam Group",
"reqd": 1
},
{
"fieldname": "date",
"fieldtype": "Date",
"label": "Date"
},
{
"fieldname": "session",
"fieldtype": "Select",
"label": "Session",
"options": "Forenoon\nAfternoon"
},
{
"fieldname": "section_break_hlpy",
"fieldtype": "Section Break"
},
{
"fieldname": "duties",
"fieldtype": "Table",
"label": "Duties",
"options": "Invigilator And Duty"
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2023-05-15 19:29:57.812521",
"modified_by": "Administrator",
"module": "Exam Helper",
"name": "Duty List",
"owner": "Administrator",
"permissions": [
{
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"share": 1,
"write": 1
}
],
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}

View File

@ -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 DutyList(Document):
pass

View File

@ -0,0 +1,9 @@
# Copyright (c) 2023, CSE 2020 Batch and Contributors
# See license.txt
# import frappe
from frappe.tests.utils import FrappeTestCase
class TestDutyList(FrappeTestCase):
pass

View File

@ -0,0 +1,8 @@
// Copyright (c) 2023, CSE 2020 Batch and contributors
// For license information, please see license.txt
// frappe.ui.form.on("Invigilator And Duty", {
// refresh(frm) {
// },
// });

View File

@ -0,0 +1,44 @@
{
"actions": [],
"allow_rename": 1,
"creation": "2023-05-15 19:28:50.532292",
"default_view": "List",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"invigilator",
"invigilator_name",
"invigilator_department"
],
"fields": [
{
"fieldname": "invigilator",
"fieldtype": "Link",
"label": "Invigilator",
"options": "Staff"
},
{
"fieldname": "invigilator_name",
"fieldtype": "Data",
"label": "Invigilator Name"
},
{
"fieldname": "invigilator_department",
"fieldtype": "Data",
"label": "Invigilator Department"
}
],
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2023-05-15 19:29:02.090465",
"modified_by": "Administrator",
"module": "Exam Helper",
"name": "Invigilator And Duty",
"owner": "Administrator",
"permissions": [],
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}

View File

@ -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 InvigilatorAndDuty(Document):
pass

View File

@ -0,0 +1,9 @@
# Copyright (c) 2023, CSE 2020 Batch and Contributors
# See license.txt
# import frappe
from frappe.tests.utils import FrappeTestCase
class TestInvigilatorAndDuty(FrappeTestCase):
pass