fix: use passport_number for FIN in Monthly Absence Report
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
4a7a09ba18
commit
4c94f766f9
|
|
@ -60,7 +60,7 @@ def get_data(filters):
|
||||||
SELECT
|
SELECT
|
||||||
e.last_name,
|
e.last_name,
|
||||||
e.first_name,
|
e.first_name,
|
||||||
e.identification_number AS fin,
|
e.passport_number AS fin,
|
||||||
e.ssn,
|
e.ssn,
|
||||||
a.absent_reason,
|
a.absent_reason,
|
||||||
COUNT(*) AS days_absent
|
COUNT(*) AS days_absent
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue