Closed edgarf closed 7 years ago
@edgarf I did the change so both the links goes to the proper tab. Regarding the missmatching between the views:
Hey @regiscamimura, thanks for the update on that.
Here is the difference about Attendance
StudentSectionAttendanceEvent. This is the attendance for the Section of class for a day, example: a student might have 4 clasese... Math, Reading, Gym, Geography. There will be four attendance records for that student for each class. GradeSchool will not have any section attendance.
StudentSectionAttendanceEvent. This is the final tally for day... ie.. present,excused, unexcused. Gradeschool will have just this.
Results: For the Student Attendance Tab, let's make it the same as /Attendance (as I understand we will convert it to School Attendance, right?). However, don't delete current implementation with sections, we might use it later.
Thanks!
@edgarf Ok, I'll make the Student Attendance Tab to look for records in StudentSchoolAttendanceEvent, but need to know how to display the data. I mean, currently, it shows a table with columns for period, course code, section. Now, we're going to just display the final tally for the day, what to display? Should it not be a table, but just a summary of how many present/tardy/absence events the student got in total? Or should it be a table, and in that case, we would have a line for the total of present/tardy/absence for each year? Or maybe year and term? Should we have filters?
Another option is to have a table with record for each DAY. So we would have columns for "date", "term", and "type". Type would be present, tardy or absence.
Please share your thoughts.
Hi @regiscamimura your suggestion is logical. Let's maybe have a list of all days with ability to select start-end period and also 1 additional line to show "Sum" of all kind of attendances. How much effort would be required for that? (Please also make sure we won't delete the previous view)
@edgarf Regarding the additional line to show the sum, the datatables already show how many records there are, so it's probably better to just put it more visible, at top instead of bottom. and I'm assuming you will want a column for "type". The effort is around 4h or work. I'll wait for confirmation.
What if we wouldn't add the filter with start/end dates? And just show the list of attendance day-by-day? What's the effort here? We might need to iterate it in a few times.
@regiscamimura - Let me know if that's viable.
@edgarf yes, that's doable. removing the start/end date filters will reduce the effort in 1h, so estimate is 3h.
Let's do it then. (Without removing all code please).
@edgarf this it done and pushed to 350 FYI
Thanks! Will check tomorrow
@regiscamimura, a few things