Sep 16 - Optimize code, part 1
This commit is contained in:
@@ -281,7 +281,7 @@ def attendance_report():
|
||||
CONCAT(e.firstName, ' ', e.lastName) as employee_name,
|
||||
ad.verification_required,
|
||||
ad.verification_status,
|
||||
ad.verification_photo,
|
||||
NULL AS verification_photo, -- base64 image, never shown on this page
|
||||
COALESCE(ad.is_dynamic_qr, 0) as is_dynamic_qr
|
||||
FROM attendance_data ad
|
||||
LEFT JOIN qr_codes qc ON ad.qr_code_id = qc.id
|
||||
@@ -310,7 +310,7 @@ def attendance_report():
|
||||
CONCAT(e.firstName, ' ', e.lastName) as employee_name,
|
||||
ad.verification_required,
|
||||
ad.verification_status,
|
||||
ad.verification_photo,
|
||||
NULL AS verification_photo, -- base64 image, never shown on this page
|
||||
COALESCE(ad.is_dynamic_qr, 0) as is_dynamic_qr
|
||||
FROM attendance_data ad
|
||||
LEFT JOIN qr_codes qc ON ad.qr_code_id = qc.id
|
||||
|
||||
Reference in New Issue
Block a user