Commit Graph

806 Commits

Author SHA1 Message Date
1cae798638 Merge pull request 'feature/process-invoices' (#202) from feature/process-invoices into development
Reviewed-on: ADUANASOFT/anexo76#202
2026-03-13 16:06:44 +00:00
bf954bbdef Merge remote-tracking branch 'origin/development' into feature/process-invoices 2026-03-13 11:06:03 -05:00
513beccc8a Merge pull request 'feature/items-ventana-por-tipo-factura' (#201) from feature/items-ventana-por-tipo-factura into development
Reviewed-on: ADUANASOFT/anexo76#201
2026-03-13 16:05:08 +00:00
ccd81d743e Add invoice processing functionality and enhance models and routes
- Introduced new routes for processing invoices in the router.
- Added `InvoiceStatus` enum to manage invoice states.
- Enhanced `InvoiceHeader` and `InvoiceFinancials` models with new fields for status tracking and total packages.
- Updated schemas to include new fields for invoice processing.
- Implemented API methods for processing invoices and checking process status in the frontend.
- Removed outdated validation files related to invoice processing.
2026-03-13 11:02:49 -05:00
hreyes
4a52e9ec98 feature/visibility-comp-mex 2026-03-13 08:32:29 -06:00
hreyes
8d304fb98b feature/continuacion-vista-tablas-location 2026-03-12 16:17:01 -06:00
hreyes
678f91ecdc feature/checkpoin-before-table 2026-03-12 12:54:33 -06:00
hreyes
e1d4ef4a68 feature/correccion-de-carga-csv-falta-de-datos-fk 2026-03-12 11:41:11 -06:00
6099b9c873 Merge branch 'development' into feature/process-invoices 2026-03-12 10:52:17 -05:00
6aef35337e Refactor router imports for clarity and organization 2026-03-12 09:34:00 -05:00
99a79287ad Implement CountryRuleOct and FractionRuleOctave models, DTOs, routes, services, and tests 2026-03-12 09:32:27 -05:00
hreyes
a57b01b190 feature/items-ventana-por-tipo-factura 2026-03-12 07:27:00 -06:00
0bae0e4d13 Merge pull request 'feature/filtro-pedimentos-tipo-invoices' (#200) from feature/filtro-pedimentos-tipo-invoices into development
Reviewed-on: ADUANASOFT/anexo76#200
2026-03-11 16:44:20 +00:00
hreyes
5b4dabb72a feature/filtro-pedimentos-tipo-invoices 2026-03-11 10:40:41 -06:00
0416264fe9 Merge pull request 'feature/items-validations' (#199) from feature/items-validations into development
Reviewed-on: ADUANASOFT/anexo76#199
2026-03-11 16:10:31 +00:00
ff08994620 Merge pull request 'feature/pestana-series-en-partidas' (#198) from feature/pestana-series-en-partidas into development
Reviewed-on: ADUANASOFT/anexo76#198
2026-03-11 16:09:43 +00:00
hreyes
003d0d54d3 feature/pestana-series-en-partidas 2026-03-11 09:52:15 -06:00
hreyes
3692fd890d feature/series-clarion-csv-validaciones-expo 2026-03-10 17:03:24 -06:00
hreyes
6d56448f9f feature/partidas-clarion-csv-validaciones-expo 2026-03-10 16:21:24 -06:00
c1a9ee789b feat(validators): Add apply_calculations to common validation for items 2026-03-10 14:11:51 -05:00
cef283c6a9 feat(validators): Implement common, create, and update validators for line items
- Added `common.py` to handle shared validation logic for line items, including checks for invoice existence, class validity, and customs data.
- Introduced `create.py` for validating new line items, ensuring required fields are present and calculating costs based on currency type.
- Created `update.py` to manage partial updates of line items, maintaining existing values when new data is not provided.
- Enhanced error handling with specific messages and solutions for various validation failures.
2026-03-10 14:09:32 -05:00
hreyes
663d419ab8 Merge branch 'development' into feature/partidas-clarion-csv-validaciones-expo 2026-03-10 12:44:34 -06:00
hreyes
e6184cb757 feature 2026-03-10 12:43:34 -06:00
2f5972bf74 Refactor item validation and calculation logic
- Moved validation functions for creating and updating line items to dedicated modules.
- Introduced new calculations module for handling financial calculations related to line items.
- Updated import paths for validation functions to reflect new structure.
2026-03-10 12:21:55 -05:00
hreyes
31cd249fd4 feature/custom-brokers-validaciones-new 2026-03-10 11:08:08 -06:00
e0b91728c8 Merge pull request 'feature/invoice-validations' (#197) from feature/invoice-validations into development
Reviewed-on: ADUANASOFT/anexo76#197
2026-03-10 16:32:21 +00:00
hreyes
a1c3b97375 feature/clarion-expo-csv-header 2026-03-10 10:31:30 -06:00
851f1b6eec Merge branch 'development' into feature/invoice-validations 2026-03-10 11:30:03 -05:00
c2d691a4ad feat: Enhance invoice validation and calculations
- Added new validations for pedimento regimes and compliance checks in common_validators.py.
- Implemented missing date checks for consolidated pedimentos.
- Introduced validation for shipped_by_id and manifest_number in invoice compliance.
- Refactored create_validators.py by removing the file as it was no longer needed.
- Updated update validators for exports and imports to use invoice_data instead of invoice.
- Modified schemas.py to set default values for financial fields to avoid None values.
- Created calculations.py to handle invoice calculations, including total increments and regime changes.
- Improved layout responsiveness in various Svelte components for better user experience.
2026-03-10 11:29:38 -05:00
bc41ab40ea Merge pull request 'feat: Enhance Fixed Asset Class form with blur-based lookups and US fraction masking, and refine pedimento creation flow and button labels.' (#196) from fix/modulo-clases into development
Reviewed-on: ADUANASOFT/anexo76#196
2026-03-10 14:14:02 +00:00
8f1fa86ae3 feat: Enhance Fixed Asset Class form with blur-based lookups and US fraction masking, and refine pedimento creation flow and button labels. 2026-03-10 08:48:11 -05:00
hreyes
423d0ac3fd feature/clarion-partidas-series-csv-comp-mex 2026-03-09 15:11:15 -06:00
hreyes
09e20fb109 feature/clarion-validaciones-invoices-csv-headers-comp-mex 2026-03-09 14:34:54 -06:00
hreyes
b0e788d0cd feature/feature/clarion-validaciones-invoices-csv-series-def-impo 2026-03-09 13:17:59 -06:00
hreyes
71d3446351 feature/feature/clarion-validaciones-invoices-csv-partidas-def-impo 2026-03-09 12:26:23 -06:00
hreyes
bcec74a741 feature/feature/clarion-validaciones-invoices-csv-headers-def-impo 2026-03-09 11:29:39 -06:00
hreyes
9d00c504c2 feature/clarion-invoices-temp-headers-csv 2026-03-09 10:13:42 -06:00
hreyes
23a9c1c40a feature/clarion-invoices-temp-partidas-csv 2026-03-09 08:41:14 -06:00
hreyes
ecd32d590c Merge branch 'feature/clarion-validaciones-invoices-csv' into feature/feature/clarion-validaciones-invoices-csv-partidas-temp-impo 2026-03-09 07:31:19 -06:00
hreyes
4dc7fbd8ed feature/series-invoices-clarion-validations-csv 2026-03-09 07:28:05 -06:00
a578135183 Merge branch 'development' into feature/invoice-validations 2026-03-09 08:23:25 -05:00
5441b05114 Merge pull request 'feature/saldos_temporales' (#195) from feature/saldos_temporales into development
Reviewed-on: ADUANASOFT/anexo76#195
2026-03-09 13:19:06 +00:00
7fb7b51128 Merge pull request 'feat: add optional seed data functionality to init_first_time.sh' (#194) from feature/dashboard-ui into development
Reviewed-on: ADUANASOFT/anexo76#194
2026-03-08 07:15:47 +00:00
2aab5c8fdc feat: add optional seed data functionality to init_first_time.sh
- Implemented argument parsing to allow for optional loading of example data with --seed-data flag.
- Added functions to seed example data for customs brokers, clients and providers, packages, classes, parts, pedimentos, and invoices.
- Enhanced user feedback during the seeding process with detailed output of the seeded data counts.
- Updated usage instructions in the script header to reflect the new functionality.
2026-03-08 01:15:08 -06:00
c05c6b9939 Merge pull request 'Refactor code structure for improved readability and maintainability' (#193) from feature/landing-page into development
Reviewed-on: ADUANASOFT/anexo76#193
2026-03-08 05:54:43 +00:00
3eccb66a6f Refactor code structure for improved readability and maintainability 2026-03-07 23:53:53 -06:00
f3d8a7cbf0 Merge pull request 'Refactor code structure for improved readability and maintainability' (#192) from feature/login-ui into development
Reviewed-on: ADUANASOFT/anexo76#192
2026-03-08 05:09:45 +00:00
5478a88f2b Refactor code structure for improved readability and maintainability 2026-03-07 23:09:13 -06:00
d91af9a7fb Refactor invoice validation logic and introduce export validators
- Moved common validation functions to a shared module for reusability.
- Updated create and update validators for import invoices to use the new common validation functions.
- Introduced new validators for export invoices, ensuring they adhere to the required fields and validation rules.
- Enhanced the update logic to handle both import and export invoice types appropriately.
- Cleaned up the code for better readability and maintainability.
2026-03-07 22:17:34 -06:00
ac8c45ec18 Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/saldos_temporales 2026-03-06 16:10:30 -06:00