Open UrAvgCoder opened 4 years ago
You must be Admin or teacher. Click on Attendance/Student Attendance Then click on any section link (accordeon link) then click on take attendance In the list check some or every student’s checkbox and save
@Majidkadi I have logged in as Admin. Clicked on Section link. was able to view student list but over there i am able to view "View attendance " .Give Attendance column is blank
@Majidkadi please correct me if i am wrong. Login as Teacher Go to My course Select the course and click on Take Attendance It's too complicated system
I was able to do it from admin account
Hi,
The attendance update system was not work properly.
when i debug the attendance update process code. That time i find, They are use a logic, "I think it's wrong" I am note sure.
code
But when i print $exam it's have, and it's have a exam_id, when i print count((array) $exam)
it's return me 23. (I think the number present the ExamForClass model)
So, how can i solve the issue.
temporary i use this if(count((array) $exam) >= 1)
and it's work fine.
Thx for ur comments have to check. I left this code as its built of laravel 5.4 or less
@b-itsoft Could you make a PR?
Thx for ur comments have to check. I left this code as its built of laravel 5.4 or less
Upgraded to Laravel 7.X. Let me know if found any issue.
Laravel Framework 7.20.0 / PHP 7.3.11 role teacher /admin /student Attendance Not work
How do I debug ?
@hrbhot I think you are using auto generated fake data from Seeding(in this case, no fake data may be generated for this student attendance) or No teacher has not taken your attendance yet.
@changeweb Thanks for the quick reply, I used fake data, I tried to adjust attendance, it doesn't take effect. Total Attended / Total Missed/ Total Escaped Always 0
You have to be a teacher assigned to proper classroom and course to be able to take attendance for the course.
How do I take attendance? Can someone please elaborate on the procedure?