Commit Graph

33 Commits

Author SHA1 Message Date
pooyarhz99 f939807cf5 Added woodpecker. 2025-10-16 17:39:59 +03:30
ar.azizan 0cb71ea13a feat: integrate QR code generation into the invoice system
- Added QR code functionality for Trust Fund Request documents in the billing.Bill model.
- Implemented automatic QR code generation using the lhdn_qrcode field, with base64 encoding for HTML embedding.
- Updated the main2_2.html template to display the generated QR code.
- Introduced a test script (test_qr.py) to validate QR code generation.
- Added qrcode dependency to requirements.txt and updated .gitignore to include IDE configurations.
2025-08-23 19:34:38 +03:30
Ali Arya c411420b5c Added QRCode and Documnet ID to the billing.Bill model. 2025-08-23 18:40:28 +03:30
Ali Arya dbe07c35fd Added three fields to the billing/Bill model. 2025-07-17 16:00:05 +03:30
Ali Arya 19cdbeb67e Merge branch 'master' of https://github.com/pooyarhz99/iralex-new-back 2025-07-17 15:08:33 +03:30
Ali Arya 80a8245b7b Added three new fields to billing/bill model 2025-07-17 15:07:46 +03:30
ar.azizan 7fd87703f1 c 2025-07-14 19:05:18 +03:30
ar.azizan fffd390093 b 2025-07-14 19:03:18 +03:30
ar.azizan 581bdb6f15 a 2025-07-14 18:52:50 +03:30
ar.azizan 814611b6a8 fix: update error handling in LhdnRequest view
- Changed response methods for error handling in the LhdnRequest view to use NotAllowed() and NotAcceptable() for improved clarity and adherence to HTTP status codes.
2025-07-13 19:00:08 +03:30
ar.azizan 6949161b6d feat: extend TinCode data structure with additional fields
- Included 'sst_registeration_number', 'brn', and 'msic_code' in the TinCode data payload for enhanced data management and completeness.
2025-07-03 13:19:13 +03:30
ar.azizan f5103c1e30 feat: enhance TinCodeCreateView to include additional fields
- Added 'sst_registeration_number', 'brn', and 'msic_code' to the data payload in TinCodeCreateView for improved data capture and management.
2025-07-03 13:11:50 +03:30
ar.azizan 2e92887370 Merge branch 'master' of https://github.com/pooyarhz99/iralex-new-back 2025-06-26 15:09:39 +03:30
ar.azizan b13bf47ca4 refactor: parse JSON for payload data in LhdnRequest and LhdnTestRequest views
- Updated the payload construction in both LhdnRequest and LhdnTestRequest views to parse incoming data as JSON.
- Ensured consistency in data handling for bill, bill data, tax rows, discount rows, and firm settings.
2025-06-26 15:09:20 +03:30
Ali Arya d849c84274 Merge branch 'master' of https://github.com/pooyarhz99/iralex-new-back 2025-06-26 14:59:36 +03:30
Ali Arya 977fdb2824 Added activity migrations 2025-06-26 14:57:45 +03:30
ar.azizan 3673eb3342 fix: correct URL patterns for LhdnRequest and LhdnTestRequest endpoints
- Added missing trailing slashes to the 'lhdn/<int:_id>/' and 'lhdn-test/<int:_id>/' URL patterns for consistency and to adhere to RESTful standards.
2025-06-26 14:38:29 +03:30
ar.azizan 5e0f6a247d feat: add LhdnTestRequest endpoint for testing LHDN data retrieval
- Introduced a new endpoint 'lhdn-test/<int:_id>' to facilitate testing of LHDN data retrieval.
- Implemented LhdnTestRequest view to gather bill, bill data, tax rows, and discount rows, along with firm settings.
- Added error handling for potential exceptions during data retrieval.
2025-06-26 14:37:49 +03:30
ar.azizan 10e6cf590a feat: add LhdnRequest endpoint for external API integration
- Introduced a new endpoint 'lhdn/<int:_id>' to handle requests for LHDN data.
- Implemented LhdnRequest view to gather bill and related data, and send it to an external API.
- Added error handling for API responses, including validation errors and general failures.
2025-06-26 14:32:52 +03:30
Ali Arya aca114a1e7 feat: add misc_code dictionray 2025-06-26 13:20:17 +03:30
Ali Arya 0ad74b8fed Contact migation created 2025-06-12 17:45:20 +03:30
ar.azizan abc4908318 feat: add discount reason and additional fields to models
- Introduced 'discount_reason' field to TimeEntry and ExpenseEntry models for better tracking of discounts.
- Added 'tin', 'brn', and 'sst_registration_number' fields to Person and Company models for enhanced identification.
- Updated Tin_code model to include 'msic_code', 'brn', and 'sst_registration_number' for improved data management.
2025-06-12 17:32:47 +03:30
Pooya Rahimzade 39855cbbd7 feat: sync server version with this 2025-06-12 16:45:03 +03:30
ar.azizan 1241aa9478 Refactor billing payment status logic for clarity
- Simplified the condition for updating the payment status by combining checks for old and new bill versions into a single line.
- Enhanced readability while maintaining the same functionality.
2025-05-17 19:18:15 +03:30
ar.azizan 27df6b0804 Update billing payment logic to handle old version checks
- Added condition to check if the bill is an old version before updating the payment status.
- Adjusted payment status logic to compare against fixed total amount for non-old versions.
2025-05-17 19:16:38 +03:30
ar.azizan 3171f38aa9 Refactor docker-compose.yml to remove unnecessary colons in network configuration 2025-05-07 19:31:11 +03:30
ar.azizan 4b740ec308 Remove unnecessary newline in docker-compose.yml network configuration 2025-05-07 19:30:35 +03:30
ar.azizan e7bf32bc15 Fix formatting in docker-compose.yml by adding a newline at the end of the file 2025-05-07 19:29:45 +03:30
ar.azizan 0625951c9b Add network configuration to docker-compose.yml
- Introduced a new network 'iralex_local_network' for service communication.
- Updated services (Postgres, Redis, MongoDB, Django) to connect to the new network.
2025-05-05 18:35:15 +03:30
ar.azizan cda4ad493a Update requirements.txt to comment out install package version 2025-05-05 18:23:49 +03:30
ar.azizan c79cbd1254 Update docker-compose.yml to include Django service and environment variable support
- Added a new Django service to the Docker Compose configuration.
- Introduced a volume for storage management.
- Replaced hardcoded PostgreSQL password with an environment variable.
- Ensured all necessary environment variables for the Django service are defined.
2025-05-05 18:13:02 +03:30
ar.azizan 6037058471 Add environment configuration and Docker support
- Created .env.example for environment variable management.
- Added Dockerfile for containerization of the application.
- Updated settings.py to load configuration from environment variables, enhancing security and flexibility.
- Removed hardcoded values in settings.py for database, email, and other configurations.
2025-05-05 18:08:37 +03:30
Ali Arya 567fd46741 init commit 2025-05-05 17:50:36 +03:30