Ali
4c94f766f9
fix: use passport_number for FIN in Monthly Absence Report
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 17:15:23 +04:00
Ali
4a7a09ba18
feat: auto-populate hissə_3 from Monthly Absence Report
...
Fetch absence data (employee name, FIN, SSN, reason, days absent) from
Attendance records and fill hissə_3 alongside hissə_1 on year/quarter change.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 16:40:10 +04:00
Ali
3cbe277152
fix: remove ×3 multiplier from insurance formulas
...
Report already returns quarterly data, so (işçi + şirkət) is sufficient.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 13:34:20 +04:00
Ali
8c5639ff7a
change numeric fields in hissə_1 from Data to Currency
...
gəlirlərcəmi, vergiməbləği, and 3 insurance fields now Currency type.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 21:44:08 +04:00
Ali
cc55c02999
fix: populate FIN from Employee.passport_number
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 21:32:52 +04:00
Ali
ff629e7124
fix: remove FIN lookup - Employee doctype has no 'fin' field
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 21:31:37 +04:00
Ali
38d3208aa4
fix: restore original hissə_1 fields, map report data to existing columns
...
Reverted child table to original 7 fields (soyadadataadı, fin, gəlirlərcəmi,
vergiməbləği, and 3 insurance fields). Server method now maps report data
to these fields, fetches FIN from Employee doctype, and leaves vergiməbləği
unfilled. Removed unnecessary 23 extra fields.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 21:22:22 +04:00
Ali
ecc770ca46
fix: move Company defaults fetch to server-side to avoid Unicode field validation
...
frappe.db.get_value rejects Unicode fieldnames (mdssüzrə etc.) even with
backticks. Replace with a whitelisted Python method that uses frappe.get_doc.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 20:46:12 +04:00
Ali
9778ccbca8
fix: silently handle missing Company fields in fillFromCompanyDefaults
...
Add .catch() to frappe.db.get_value call so the form opens without
errors when Company has no mdssüzrə or related fields populated.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 20:39:02 +04:00
Ali
63e9ec5ee4
auto-populate hissə_1 from Employee Payroll Register on year/quarter change
...
Redesign Single Declaration-Elave1_Hisse1 child table with all report columns
(26 fields), add server-side aggregation per employee with insurance formula
(işçi + şirkət) × 3, and client-side triggers on il/hesabatdövrü fields.
Also fix backtick escaping for Unicode field names in frappe.db.get_value.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 19:53:55 +04:00
Ali
4addeb8a05
push from mvp
2026-03-30 15:43:19 +00:00
Ali
8038965814
push from mvp
2026-03-30 15:42:52 +00:00
Ali
0ca80210a2
push from mvp
2026-03-30 14:48:50 +00:00
Ali
4836088c11
push from mvp
2026-03-26 17:21:22 +00:00
Ali
8c7eabc36d
update Employee Payroll Register report config after migrate
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 21:05:42 +04:00
Ali
57f21d3cde
simplify Employee Payroll Register: remove total row, keep only date and company filters, hardcode AZN currency and Submitted status
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 20:52:39 +04:00
Ali
a8a01de845
add Employee Payroll Register report with hardcoded salary columns
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 20:46:37 +04:00
Ali
e5df13a68b
fix absence reason field: use absent_reason instead of leave_type
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 19:12:17 +04:00
Ali
1e1822745e
remove father_name from Monthly Absence Report
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 18:18:12 +04:00
Ali
a1d4d7ab51
add absence reason (leave_type) column to Monthly Absence Report
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 17:59:17 +04:00
Ali
e883f8816f
update Monthly Absence Report to use quarter filter instead of date range
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 17:39:15 +04:00
Ali
5477ad2e91
added Monthly Absence Report
2026-03-19 19:48:01 +04:00
Ali
ae7b0f5d17
added Monthly Absence Report
2026-03-19 19:25:13 +04:00
Ali
51fd779a22
push from mvp
2026-03-19 15:02:39 +00:00
Ali
d5a9a7b14b
opening entryies has been added to vat allocation
2026-02-23 22:20:55 +04:00
Ali
57a5b0ac32
Single declaration related to salaried and non-salaried work updated
2026-02-23 20:00:26 +04:00
Ali
0faed91ea1
push from mvp
2026-02-23 15:57:26 +00:00
Ali
6f1f43cced
push from mvp
2026-02-23 13:08:00 +00:00
Ali
5bc3044bbd
push from mvp
2026-02-18 11:08:24 +00:00
Ali
bc37685f40
Fix Sport and Lottery Report: filter won/lost amounts correctly
...
Issue: Amount columns were showing both won and lost transactions
Fix: Only won=1 transactions now appear in amount columns
Changes:
- Added si.won field to SELECT query
- Amount up to 500: only counts won=1 items
- Amount over 500: only counts won=1 items
- Grand total: still shows all amounts (won + lost)
This ensures gambling report accuracy after won/lost bug fix.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-16 17:41:39 +04:00
Ali
bc08937278
push from mvp
2026-02-12 10:52:19 +00:00
Ali
f5833e3a19
remove debug logging from vat allocation report
2026-02-11 22:30:22 +04:00
Ali
f6227567d4
add debug logging to vat allocation report
2026-02-11 22:28:46 +04:00
Ali
f595a4f4c1
fixed vat allocation report not being in formula editor
2026-02-11 21:40:50 +04:00
Ali
d998dbf47f
fixed vat allocation report not being in formula editor
2026-02-11 21:36:16 +04:00
Ali
0991ecadee
fixed vat allocation report not being in formula editor
2026-02-11 21:26:23 +04:00
Ali
24740d0b44
fixed vat allocation report not being in formula editor
2026-02-11 15:37:38 +04:00
Ali
4d778cf8f1
fixed report vat allocation
2026-02-09 19:55:18 +04:00
Ali
b848bbd1d0
fixed report vat allocation
2026-02-09 19:28:08 +04:00
Ali
b2fd9bbe7b
added new report vat_allocation_tax_articles_report
2026-02-09 18:10:54 +04:00
Ali
211054d0ca
added new report vat_allocation_tax_articles_report
2026-02-09 18:06:21 +04:00
Ali
3b4973f9a8
added new report vat_allocation_tax_articles_report
2026-02-09 17:53:37 +04:00
Ali
9815fbee02
added new totals to vat allocation
2026-02-09 15:14:03 +04:00
Ali
c5fe07a20d
added new totals to vat allocation
2026-02-09 15:07:33 +04:00
Ali
22f68b5073
fixed columns name in report
2026-02-06 16:04:28 +04:00
Ali
e7171835ba
fixed vat allocation total fields
2026-02-06 15:37:03 +04:00
Ali
6741525a74
fixed vat allocation total fields
2026-02-06 15:22:38 +04:00
Ali
1544253f99
fixed vat allocation total fields
2026-02-06 15:13:55 +04:00
Ali
b34621319c
push from mvp
2026-02-06 11:02:33 +00:00
Ali
befe5d6486
fixed tax article report bugs
2026-02-06 14:59:12 +04:00