Scheduling Tool
Fields
Sr | Fieldname | Type | Label | Options |
---|---|---|---|---|
1 | student_group |
Link | Student Group | Student Group |
2 | academic_year |
Link | Academic Year | Academic Year |
3 | academic_term |
Link | Academic Term | Academic Term |
4 | column_break_3 |
Column Break | ||
5 | program |
Link | Program | Program |
6 | course |
Link | Course | Course |
7 | section_break_6 |
Section Break | ||
8 | room |
Link | Room | Room |
9 | column_break_9 |
Column Break | ||
10 | instructor |
Link | Instructor | Instructor |
11 | instructor_name |
Read Only | Instructor Name |
instructor.instructor_name |
12 | section_break_7 |
Section Break | ||
13 | from_time |
Time | From Time | |
14 | course_start_date |
Date | Course Start Date | |
15 | day |
Select | Day |
Monday Tuesday Wednesday Thursday Friday Saturday Sunday |
16 | rechedule |
Check | Rechedule | |
17 | column_break_15 |
Column Break | ||
18 | to_time |
Time | To TIme | |
19 | course_end_date |
Date | Course End Date |
Controller
schools.academics.doctype.scheduling_tool.scheduling_tool
Class SchedulingTool
Inherits from frappe.model.document.Document
delete_course_schedule (self, rescheduled, reschedule_errors)
Delete all course schedule within the Date range and specified filters
make_course_schedule (self, date)
Makes a new Course Schedule.
Parameters:
date
- Date on which Course Schedule will be created.
Creates course schedules as per specified parametes
Validates if Course Start Date is greater than Course End Date
Validates all mandatory fields