Commit Graph

248 Commits

Author SHA1 Message Date
Ali dc273b3f2b fix IBAN masking: support alphanumeric chars, keep AZ prefix
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 15:43:16 +04:00
Ali df9f72be11 add Chart of Accounts export button to list and tree views
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 15:24:00 +04:00
Ali 989cce52b4 delete default HRMS salary components on setup wizard complete
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 15:03:42 +04:00
Ali 6f17b644f2 update default salary components data
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 14:53:18 +04:00
Ali 7cd7b5d887 add salary component export button and default setup from JSON
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 14:46:40 +04:00
Ali 116efda4f2 add test setup_wizard_complete hook that creates TEST COMP salary component
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 14:27:41 +04:00
Ali 24934219f1 added test salary component create 2026-03-26 14:19:38 +04:00
Ali b8b111b74a hide residence_permit_fin when not_available checkbox is checked
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 13:55:44 +04:00
Ali 0a0ef3d032 add Employee custom fields: citizenship_country, residence_permit_fin, residence_permit_not_available
Fields added as Small Text (TEXT in MySQL) to bypass tabEmployee's 65535-byte
row size limit. Added two pre_model_sync patches to fix row format and add
columns directly before Frappe schema sync runs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 20:56:34 +04:00
Ali f7d283cdf1 add job_applicant custom field to Employee to fix EmployeeMaster AttributeError
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 20:08:54 +04:00
Ali 1c292a130f add Employee custom fields: father_name, identification_number, ssn
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 18:45:45 +04:00
Ali 2c7eadc1cd add absent_reason field to Attendance doctype
Adds a Select field 'Absence Reason' visible only when status is Absent,
with 12 predefined Azerbaijani-language absence reason options.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 17:24:40 +04:00
Ali a66945f7d7 added load from cbar currency import 2026-03-12 18:53:47 +04:00
Ali eb62cafbcf brt is now wide and has a bt links 2026-03-11 15:33:33 +04:00
Ali 67518bf4a0 added tittles to je 2026-03-06 23:45:56 +04:00
Ali 0eaa407c1d revert all JE title changes, keep only deductions logic
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 23:34:44 +04:00
Ali 378ccd33ee added tittles to je 2026-03-06 23:24:12 +04:00
Ali f76b09116b added tittles to je 2026-03-06 23:18:50 +04:00
Ali a7deb77e09 added tittles to je 2026-03-06 23:12:53 +04:00
Ali d9c3b02fdc added tittles to je 2026-03-06 23:06:06 +04:00
Ali 4a15e83498 added tittles to je 2026-03-06 22:56:24 +04:00
Ali f300eb3083 added deductions in generated je from payroll entry 2026-03-06 17:22:49 +04:00
Ali d7818af6b0 added deductions in generated je from payroll entry 2026-03-06 17:15:44 +04:00
Ali aaf08e8dc8 added ctc fetch to bulk salary assignment 2026-03-06 16:19:17 +04:00
Ali e02cc9ba06 added ctc fetch to bulk salary assignment 2026-03-06 16:13:24 +04:00
Ali fe8667be50 new vat allocation fields 2026-02-24 15:02:46 +04:00
Ali e68a1deb4c Fix won/lost checkboxes in Sales Invoice for gambling companies
- Rewrote won/lost checkbox logic with clean code approach
- Removed complex HTML synchronization in favor of native Frappe checkboxes
- Added CSS to display checkboxes inline (side by side) instead of stacked
- Implemented automatic enforcement: one checkbox must always be selected
- Added client-side validation that auto-corrects invalid states
- Added server-side validation for gambling companies only
- Removed old column break and section break fields
- Fields now only validate for gambling company main activities

Changes:
- custom_fields.py: Simplified won/lost field definitions, removed HTML field
- sales_invoice_vat.js: Clean logic + CSS for inline display + auto-selection
- sales_invoice.py: Server validation with auto-correction
- hooks.py: Added validate_won_lost_fields hook
- patches: Added cleanup patches for old fields

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-16 17:21:09 +04:00
Ali 4d1739d352 added new amas fields to employee 2026-02-13 17:40:54 +04:00
Ali 14453cbc43 bug fix 2026-01-30 21:04:12 +04:00
Ali 3249ddb318 bug fix 2026-01-30 20:59:46 +04:00
Ali c8237391e7 new fields 2026-01-30 20:43:34 +04:00
Ali 7a57b320af Added purchase invoice sending (act) 2026-01-27 20:21:35 +04:00
Ali f01ab09b4e added new fields 2026-01-21 19:37:54 +04:00
Ali bc31f531ad added new field to 2 reports 2026-01-21 16:18:43 +04:00
Ali add68b8ae3 fixed default vat table 2026-01-16 21:06:33 +04:00
Ali 3863754449 added new fields to po so pi si 2026-01-16 17:46:17 +04:00
Ali b7758589a9 fixed vat issue 2026-01-15 21:20:31 +04:00
Ali 22d22f4529 monkey patched asset categories 2026-01-10 03:44:28 +04:00
Ali 7db5238874 monkey patched asset categories 2026-01-10 03:33:56 +04:00
Ali 0aadaf202d monkey patched asset categories 2026-01-10 02:03:55 +04:00
Ali 64dd4cc631 monkey patched asset categories 2026-01-10 01:50:48 +04:00
Ali 8865bb7b18 monkey patched asset categories 2026-01-09 22:58:43 +04:00
Ali d5c92eef7d made asset categories create on install 2026-01-09 13:53:39 +04:00
Ali 6f0f9aa522 temporary removed custom report from hooks 2025-12-24 16:40:08 +04:00
Ali 3dfd964642 reverted last change, and made function stable 2025-12-22 18:14:43 +04:00
Ali 99d147b00f reverted last change, and made function stable 2025-12-22 18:08:40 +04:00
Ali 880a8f946a reverted last change, and made function stable 2025-12-22 16:24:46 +04:00
Ali ef6e4197ef now assets category creates in patches, instead of hooks 2025-12-22 15:48:34 +04:00
Ali 96a61ac671 fixed bugs 2025-12-02 17:26:22 +04:00
Ali c4b02cf35a fixed bugs 2025-12-02 16:16:40 +04:00