fix: restore SSN column in Monthly Absence Report
SSN stays in the report but is not populated into hissə_3. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ea66dfcb19
commit
cf3f1f46de
|
|
@ -31,6 +31,12 @@ def get_columns():
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"width": 110
|
"width": 110
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": _("SSN"),
|
||||||
|
"fieldname": "ssn",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"width": 130
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": _("Davamsızlığın səbəbi"),
|
"label": _("Davamsızlığın səbəbi"),
|
||||||
"fieldname": "absent_reason",
|
"fieldname": "absent_reason",
|
||||||
|
|
@ -55,6 +61,7 @@ def get_data(filters):
|
||||||
e.last_name,
|
e.last_name,
|
||||||
e.first_name,
|
e.first_name,
|
||||||
e.passport_number AS fin,
|
e.passport_number AS fin,
|
||||||
|
e.ssn,
|
||||||
a.absent_reason,
|
a.absent_reason,
|
||||||
COUNT(*) AS days_absent
|
COUNT(*) AS days_absent
|
||||||
FROM `tabAttendance` a
|
FROM `tabAttendance` a
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue