Commit Graph

246 Commits

Author SHA1 Message Date
0c43c252a4 Se completo la integracion del celery en la creacion de reportes 2026-01-13 14:22:15 -06:00
9d8e1283a8 Merge branch 'development' into feature/reportes_facturas 2026-01-13 11:40:24 -06:00
6214973eaf Implementacion de celery y problemas con relacioines 2026-01-13 11:27:58 -06:00
34e71b3114 Merge pull request 'feature/dashboard' (#53) from feature/dashboard into development
Reviewed-on: ADUANASOFT/anexo76#53
2026-01-13 14:23:25 +00:00
e68f24fe20 feat(dashboard): add pedimentos metrics and chart data to dashboard service 2026-01-13 08:21:57 -06:00
3865a53c5c feat(dashboard): add dashboard module for business metrics and statistics
- Implemented DTOs for KPIs, activity items, chart data points, and dashboard statistics.
- Created API routes for fetching dashboard statistics, operations overview, and inventory metrics.
- Developed a service layer to handle the logic for generating dashboard statistics, including invoice metrics, client/provider metrics, and recent activity.
- Added frontend API client methods for fetching dashboard data.
- Created TypeScript types for dashboard data structures.
- Developed Svelte components for displaying recent activity, KPI cards, trend charts, and donut charts.
2026-01-12 18:09:06 -06:00
962e0a057b Merge pull request 'fix(api): add missing slashes in endpoint URLs for clients and unit measures' (#52) from fix/prod into development
Reviewed-on: ADUANASOFT/anexo76#52
2026-01-12 22:43:27 +00:00
a4f1b217b4 fix(api): add missing slashes in endpoint URLs for clients and unit measures 2026-01-12 16:42:43 -06:00
ce37aa77b2 Se edito el reporte de factura, se le puso las partidas, ademas se inicio todo el procedo de celery 2026-01-12 16:29:07 -06:00
802ab8dc01 Merge pull request 'fix/unit_of_measure' (#51) from fix/unit_of_measure into development
Reviewed-on: ADUANASOFT/anexo76#51
2026-01-12 19:31:32 +00:00
Galindo97
659a9ea6cf fix(models): simplify foreign key constraints in UnitOfMeasureGeneral by removing tenant_id and company_id 2026-01-12 13:30:38 -06:00
7aa5b09d33 fix(models): simplify unique constraints by removing tenant_id and company_id 2026-01-12 12:49:58 -06:00
e960716fe4 Merge branch 'feature/invoices' into development 2026-01-12 12:31:22 -06:00
281b198950 Merge pull request 'fix(api): add missing slashes in endpoint URLs for reference data APIs' (#49) from fix/fetch into development
Reviewed-on: ADUANASOFT/anexo76#49
2026-01-12 18:24:35 +00:00
8dab1d6e46 feat: Implement Fixed Asset (FA) line item management
- Added new schemas for FA line items in the backend, including creation, update, and response DTOs.
- Updated existing line item schemas to include FA data.
- Modified database models to reflect new table names for line quantities and references.
- Enhanced ItemService to handle FA data during item creation and updates.
- Introduced new routes and service layer for FA line items, including CRUD operations.
- Updated frontend components to support FA line item data, including new fields and UI adjustments.
- Implemented data flattening for improved item display in the dashboard.
2026-01-12 12:23:40 -06:00
Galindo97
f4cebc1963 fix(api): add missing slashes in endpoint URLs for reference data APIs
- Added a trailing slash to the GET, POST, PUT, and DELETE requests for incoterms, invoice types, material types, payment methods, pedimento codes, pedimento regimens, sectors, states, transport modes, transport types, and valuation methods APIs.
- Ensured that the pagination endpoints include a leading slash before query parameters.
2026-01-12 12:23:04 -06:00
9201557645 Merge pull request 'feature/classes' (#48) from feature/classes into development
Reviewed-on: ADUANASOFT/anexo76#48
2026-01-12 17:41:23 +00:00
Galindo97
27e18c9d0b feat(database): add deleted_at column to units of measure tables and update DTO field lengths 2026-01-12 11:38:12 -06:00
Galindo97
0aea981cf1 feat(api): add Units of Measure API client with CRUD operations
- Implemented interfaces for UnitOfMeasure, UnitOfMeasureListResponse, CreateUnitOfMeasureData, and UpdateUnitOfMeasureData.
- Added API methods for listing, retrieving, creating, updating, and deleting units of measure.
- Included pagination support for the list method.
2026-01-12 10:36:43 -06:00
6845dcd670 feat: update unit of measure references and improve input handling in item service 2026-01-12 09:22:13 -06:00
803645aa61 feat: update currency display from MXP to MXN for accuracy 2026-01-12 08:07:15 -06:00
69fd1a7e10 feat: update currency and type display to uppercase for consistency 2026-01-11 19:07:56 -06:00
6e4e14285d feat: enhance invoice validation and logistics handling for improved data integrity 2026-01-11 18:58:43 -06:00
8bf0ac8969 feat: add Pedimento relationship and update invoice handling for improved data management 2026-01-11 17:49:13 -06:00
20aff5ff7b Refactor invoice schemas and services for improved clarity and structure
- Updated schemas in `schemas.py` to enhance readability by aligning field definitions and descriptions.
- Consolidated optional fields and improved default values for better data handling.
- Modified the `InvoiceService` class in `services.py` to streamline error handling and data extraction for nested invoice components.
- Ensured that nested data is processed correctly before creating invoice entries, improving overall service reliability.
2026-01-11 17:09:04 -06:00
0ce35b2440 Merge pull request 'refactor: remove console.log statements and unnecessary logging in various components' (#47) from fix/console.log into development
Reviewed-on: ADUANASOFT/anexo76#47
2026-01-11 06:01:50 +00:00
AlexeerCT
d276909488 refactor: remove console.log statements and unnecessary logging in various components 2026-01-11 00:00:45 -06:00
AlexeerCT
887cbfa5ce feat: enhance invoice validation and error handling with detailed messages 2026-01-10 23:42:05 -06:00
50ef340df8 Se creo la rutina de creacion de reportes parcial 2026-01-09 18:03:08 -06:00
Galindo97
c2d1961994 feat: remove unit of measure tables migration script 2026-01-09 15:38:07 -06:00
Galindo97
7abe79405e feat: add unit of measure tables and seed data for material types management 2026-01-09 15:34:13 -06:00
9ce75c6bb4 Merge remote-tracking branch 'origin/development' into feature/reportes_facturas 2026-01-09 08:30:40 -06:00
ff2df90dbe WIP: Guardando trabajo antes de actualizar con development 2026-01-09 08:26:44 -06:00
AlexeerCT
25c51120f9 feat: update sidebar navigation for fixed asset classes and add tariff fractions page 2026-01-08 21:14:16 -06:00
AlexeerCT
8dca19413b feat: add Fixed Asset Classes management page with CRUD functionality 2026-01-08 21:14:08 -06:00
AlexeerCT
08416d6cad Refactor Part model and related components
- Updated the Part model in models.py to improve readability and maintainability by organizing imports and formatting.
- Enhanced relationships in the Part model for better clarity.
- Modified main.py to streamline imports for parts and related models.
- Adjusted partForm.svelte to correctly reference properties from inv_data and fa_data.
- Updated +page.svelte to fix the import path for DataTable and refine data handling.
- Changed edit/[[id]]/+page.svelte to enforce type safety for the 'type' variable.
2026-01-08 21:12:31 -06:00
AlexeerCT
41282d68ef Remove embedded page for fixed asset classes from the dashboard 2026-01-08 21:09:47 -06:00
Galindo97
9d007b6af3 feat: implement create/edit dialog for class management with form validation and data loading 2026-01-08 17:01:16 -06:00
AlexeerCT
181648d0cb Merge branch 'feature/invoices' into development 2026-01-08 16:57:13 -06:00
AlexeerCT
c15d0cda51 Merge branch 'feature/clases-activo-fijo' into development 2026-01-08 16:53:30 -06:00
AlexeerCT
609bf5501c Merge branch 'feature/creacion_modulo_mercancias' into development 2026-01-08 16:48:23 -06:00
AlexeerCT
10f50a6c46 Merge branch 'feature/pedimentos' into development 2026-01-08 16:43:34 -06:00
Galindo97
ea0e570678 feat: add fixed asset classes management page and embed functionality
- Implemented a new page for managing fixed asset classes with full CRUD functionality.
- Added filtering options for searching classes by code, description, type, and fraction.
- Integrated dialogs for inserting, editing, and deleting classes with validation.
- Enhanced error handling and user feedback with toast notifications.
- Created an embedded iframe for the fixed asset classes page in the merchandise section.
2026-01-08 16:33:43 -06:00
AlexeerCT
c725a6b11a feat: Refactor line item schemas and service methods for improved readability and consistency 2026-01-08 16:25:28 -06:00
AlexeerCT
c040679fc5 feat: Enhance invoice item management with detailed line item structure
- Introduced nested interfaces for line items including customs, financials, quantities, descriptions, and references.
- Updated Item interface to include lines as an array of LineItem.
- Modified invoice top fields to handle pedimento ID and auto-assign values from the invoice.
- Enhanced item configuration component to manage line item properties and descriptions.
- Updated main data, packages section, summary section, and other components to bind new line item properties.
- Implemented normalization of numeric values when editing items to ensure consistent data types.
- Adjusted save invoice logic to accommodate new line item structure and compliance data.
2026-01-08 16:24:34 -06:00
9c2715e8f0 Se normalizo la tabla de partes para anexo 76 y 24, ademas se parametrizo el formulario 2026-01-08 15:39:40 -06:00
AlexeerCT
09bee94ae6 feat: enhance invoice validation logic and add checks for remesa, exchange rate, and transport details 2026-01-07 18:01:11 -06:00
AlexeerCT
182f472370 feat: enhance pedimento date validation and update date handling in forms 2026-01-07 16:50:20 -06:00
cddd64d730 Se agrego el titulo de busqueda en partes 2026-01-07 13:17:54 -06:00
adbaa0fd18 Se puso los modales de catalogos en el formulario de clases 2026-01-07 12:41:03 -06:00