Unifiedtransform icon indicating copy to clipboard operation
Unifiedtransform copied to clipboard

Attendance

Open UrAvgCoder opened this issue 6 years ago • 12 comments

How do I take attendance? Can someone please elaborate on the procedure?

UrAvgCoder avatar Dec 10 '19 15:12 UrAvgCoder

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 avatar Mar 05 '20 03:03 Majidkadi

@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

insoftservice avatar Mar 06 '20 10:03 insoftservice

@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

insoftservice avatar Mar 06 '20 10:03 insoftservice

I was able to do it from admin account

Majidkadi avatar Mar 06 '20 12:03 Majidkadi

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.

b-itsoft avatar May 04 '20 08:05 b-itsoft

Thx for ur comments have to check. I left this code as its built of laravel 5.4 or less

insoftservice avatar May 04 '20 12:05 insoftservice

@b-itsoft Could you make a PR?

changeweb avatar May 05 '20 16:05 changeweb

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.

changeweb avatar May 12 '20 18:05 changeweb

Laravel Framework 7.20.0 / PHP 7.3.11 role teacher /admin /student Attendance Not work

  1. My Courses -> Take Attendance -> Adjust Missed Attendance -> No Related Data Found. // role teacher
  2. All Classes and Sections -> Take Attendance -> Present / Adjust Missing Attendances -> No Related Data Found. // role admin
  3. My attendance -> No Related Data Found. // role student

How do I debug ? bug

hrbhot avatar Jul 23 '20 12:07 hrbhot

@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 avatar Jul 23 '20 12:07 changeweb

@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 bug1

hrbhot avatar Jul 23 '20 13:07 hrbhot

You have to be a teacher assigned to proper classroom and course to be able to take attendance for the course.

Majidkadi avatar Jul 23 '20 16:07 Majidkadi