Commit Graph

102 Commits

Author SHA1 Message Date
Ali 72cf279a64 refactor: rename EMAS to AMAS throughout application
This commit renames all references from "emas" to "amas" in the invoice_az application, including:

**DocType Changes:**
- Renamed DocType: "Emas Employees" → "Amas Employees"
- Updated autoname: EMAS-EMP-{####} → AMAS-EMP-{####}
- Updated Python class: EmasEmployees → AmasEmployees

**Files Renamed:**
- invoice_az/emas_api.py → amas_api.py
- client/emas_employees.js → amas_employees.js
- doctype/emas_employees/ → amas_employees/ (entire directory)

**Code Updates:**
- Python: All EMAS_ constants → AMAS_ constants
- Python: All emas_ functions → amas_ functions
- JavaScript: All emas references → amas references
- API paths: invoice_az.emas_api → invoice_az.amas_api

**Database Migration:**
- Asan Login fields renamed:
  - emas_section → amas_section
  - emas_auth_status → amas_auth_status
  - emas_account_name → amas_account_name
  - emas_account_number → amas_account_number
  - column_break_emas → column_break_amas
  - emas_account_oid → amas_account_oid
  - emas_last_activity → amas_last_activity
  - emas_session → amas_session
  - emas_csrf_token → amas_csrf_token

**Preserved (Not Changed):**
- User-facing text with "ƏMAS" (Azerbaijani ə character)
- API requirements: ":eroom:emas", "domain": "emas"
- Report ID: "emasValidEmploymentContractOnline"

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-12 13:48:29 +04:00
Ali aa2cab8b22 chore: remove unnecessary bundle file and old docs
- Remove invoice_az.bundle.js (not needed, app uses doctype_js)
- Remove OPTIMIZATION_SUMMARY.md (outdated)
- Remove claude.md (replaced by CLAUDE.md)

The patches.txt file is sufficient to make the app recognizable by Frappe.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-11 14:21:12 +04:00
Ali 27c4c0aaa4 fix: resolve build errors in invoice_az app
Fixed two critical issues preventing app installation:
1. Removed non-existent e_taxes_parties_list.js from hooks.py
2. Added missing patches.txt file (required for Frappe app detection)
3. Added minimal bundle.js file to satisfy build system

Without patches.txt, the app was not recognized as a valid Frappe app,
causing esbuild to fail with "paths[0] must be of type string" error.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-11 14:18:44 +04:00
Ali c917a94e6e fixed classification code being in wrong module 2026-02-10 20:55:01 +04:00
Ali 002b317958 added emas integration and emas employees 2026-02-10 17:53:47 +04:00
Ali 95f685a3a7 bug fix 2026-01-30 20:55:41 +04:00
Ali 70731f7b02 bug fix 2026-01-30 20:50:26 +04:00
Ali 061a71f93d bug fix 2026-01-30 20:38:24 +04:00
Ali 44bed2e82f added purchase invoice act sending 2026-01-29 16:49:01 +04:00
Ali 4879dcc94c Added purchase invoice sending (act) 2026-01-27 20:16:12 +04:00
Ali f1ae840d88 added create if not mapped 2026-01-22 20:30:37 +04:00
Ali c037dfe45c fixed bug with tittle and other 2026-01-21 19:38:10 +04:00
Ali 6ef03d2319 Added expense/income to e-taxes mapping duplicate check 2026-01-20 23:15:08 +04:00
Ali 9a3c705b4e Added expense/income to je list and added load as draft check 2026-01-20 20:20:44 +04:00
Ali 0ef93e4b36 added expense/income to mappings 2026-01-20 16:19:45 +04:00
Ali b3acbfa6e9 fixed fixtures 2026-01-14 23:15:42 +04:00
Ali c87e50fed5 added more fucntionality in journal entry import 2026-01-14 23:00:55 +04:00
Ali 4ed778e567 added import from etaxes to journal entry, with all bugfixes 2026-01-13 22:31:30 +04:00
Ali bd9bf9e2cc added invoice sending to etaxes 2025-12-19 15:39:51 +04:00
Ali 0896971525 added eqm codes to items and etaxes items 2025-09-22 20:57:36 +04:00
Ali 6df36695db fixed invoices date 2025-09-08 21:52:04 +04:00
Ali f0c19854fe Fixed bugs, added new tabs and subtabs, load from everywhere and etc 2025-07-23 12:39:40 +04:00
Ali 85f37a3f67 Parties got separated to customers and suppliers 2025-07-15 17:19:29 +04:00
Ali 295dfb2267 improved items searching code 2025-07-11 15:31:48 +04:00
Ali 94659173f6 fixed a lot of bugs, but some still unfixed 2025-07-10 14:49:30 +04:00
Ali a198d2a59b fixed bug with sales order not importing 2025-07-08 20:14:02 +04:00
Ali 70bf3dd2a3 updated ui and bugfixes 2025-07-08 18:58:06 +04:00
Ali 0064d54f54 fixed bugs with duplicates, page freeze, errors in e-taxes settings and mote 2025-07-04 17:24:22 +04:00
Ali 7e4a7afdc8 Everything load from outbox and inbox 2025-06-12 15:01:34 +04:00
Ali 3893f44be1 added pull from e taxes site to company (first page) 2025-06-09 23:19:39 +04:00
Ali e6a3dac967 Fixed a bunch of bugs, and started sales invoice process 2025-06-02 16:44:30 +04:00
Ali 7b92c6a062 fixed bugs 2025-05-27 00:07:49 +04:00
Ali 49aad69efb added error log and bug fixes 2025-05-26 22:41:42 +04:00
Ali 468078a015 fixed bug with item name in po 2025-05-26 17:41:59 +04:00
Ali 57fc4ce046 fixed a bunch of bugs 2025-05-26 16:03:16 +04:00
Ali 56b24bc644 fixed a bunch of bugs 2025-05-26 14:43:08 +04:00
Ali 6e4c8020b0 fixed bug with code 2025-05-23 14:43:34 +04:00
Ali ea621fa182 test commit 2025-05-22 18:56:02 +04:00
Ali 41aff209e8 test commit 2025-05-22 18:38:06 +04:00
Ali ea76b90848 test commit 2025-05-22 18:30:55 +04:00
Ali a761c46202 added back certificate button 2025-05-22 17:17:48 +04:00
Ali 591d54ea7b Added purchase invoice, and uom mapping, and a lot more 2025-05-22 16:37:53 +04:00
Ali b24e35071d fixed a lot of bugs, optimized code and a lot more 2025-05-21 16:30:39 +04:00
Ali 994917ffbc Added bulk edit, all english, and every doctype of invoice az is read-only 2025-05-16 12:30:56 +04:00
Ali 905cfeac0c Small edits to make app good (read only, anti dublicate and etc) 2025-05-15 15:53:52 +04:00
Ali e12efa781a test commit 2025-05-13 16:20:45 +04:00
Ali 610557e223 test commit 2025-05-13 16:12:23 +04:00
Ali 462b76d0b9 added logs and some error outputs 2025-05-13 16:06:06 +04:00
Ali 0a9ad34362 only 2 buttons in asan login, and re-auth system 2025-05-12 21:05:31 +04:00
Ali 4d9cbc008a Working import and mapping 2025-05-12 13:33:09 +04:00