Commit Graph

141 Commits

Author SHA1 Message Date
9ca3aabd7a feature/errores-legibles-tabla 2026-04-28 07:34:34 -06:00
eac1aa8ecf feature/focus-error-facturas 2026-04-27 12:37:49 -06:00
38233a9a62 fix/invoices-return-cancelar 2026-04-24 15:47:03 -06:00
d7eacb1761 feature/doble-click-partidas 2026-04-24 14:23:30 -06:00
5fbe6e1bbc feature/fraccion-arancelaria-nico 2026-04-24 12:42:34 -06:00
3c40a48cb7 feature/api-sitar-frac-ame 2026-04-24 09:58:22 -06:00
43caaeffd3 feature/tipo-operacion-invoice 2026-04-24 07:09:28 -06:00
80533c1bf7 feature/campos-obligatorios-relativos 2026-04-23 08:35:41 -06:00
e517ceb020 fix/invoices-features 2026-04-23 08:16:47 -06:00
db6c5a3372 fix/impo-invoice-save 2026-04-17 10:49:14 -06:00
9007bb6c7a Merge branch 'fix/partida-campos-obligatorios' into fix/impo-invoice-save 2026-04-17 10:25:03 -06:00
39fdfca917 fix/partida-campos-obligatorios 2026-04-17 10:22:08 -06:00
eabc3e5b42 Merge branch 'development' into feature/partes-descargadas
# Conflicts:
#	frontend/src/lib/components/dashboard/invoices/edit/InvoiceSelectorModal.svelte
#	frontend/src/lib/components/dashboard/invoices/edit/items/fa/item-sheet-fa.svelte
2026-04-16 16:50:33 -06:00
de8f944a35 feature/reportes 2026-04-16 15:59:18 -06:00
b8a07b5172 Merge development, resolviendo utilidades combinadas y actualizando ClassDialog 2026-04-16 12:13:39 -05:00
cd04841adc Resolviendo conflictos 2026-04-16 12:00:52 -05:00
7ddd85e73b Validaciones de errores 2026-04-16 11:44:18 -05:00
5e6ee5d4d1 Funciones y logia de exportacion, como mejoras CRUD en las partes de exportacion 2026-04-16 11:30:40 -05:00
1130306fc7 feature/bug-no-scroll-input-classes 2026-04-15 15:58:52 -06:00
ce18d81612 feature/tabs-partidas-jerarquia-alt-n 2026-04-15 13:59:50 -06:00
927b5850b5 Merge branch 'development' into feature/tabs-navegation 2026-04-15 10:24:20 -06:00
07f5553fd9 feature/correccion-tabs-funciones-nuevas-nav 2026-04-15 09:56:15 -06:00
e5fa5f0326 TODOS de configuracion general lista 2026-04-13 18:02:39 -05:00
a6e0a04451 Mezlca de migraciones mas recientes 2026-04-07 16:13:01 -05:00
3e97106a5a Se pusieron todos los parametros adcuadamente de facturas 2026-04-07 14:27:58 -05:00
ad4fded2ce Todos los parametros de SCAI montadas y con su sistema CRUD 2026-04-06 16:03:27 -05:00
1a01757c63 Merge branch 'development' into feature/validaciones-invoices-transports 2026-04-01 13:42:49 -06:00
7a029307a8 feature/validaciones-invoices-transortes 2026-03-27 12:56:47 -06:00
dd4eec56f8 Limpieza y correcion de warnings en ultimos cambios 2026-03-27 09:15:58 -05:00
d93c4c6b7b Mecanismo sort para tablas 2026-03-27 08:45:51 -05:00
fbb24f2cd3 Refactor invoice financials to change iva_factor type from string to numeric
- Updated the `iva_factor` field in the `InvoiceFinancials` model to use a numeric type with precision and scale.
- Adjusted related frontend components and API interfaces to reflect the new numeric type for `iva_factor`.
- Enhanced Alembic migration scripts to accommodate the schema changes, ensuring proper index management and data type conversions.

These changes improve data integrity and consistency for financial calculations in invoices.
2026-03-23 09:48:33 -05:00
54c137c156 Refactor invoice processing logic to remove legacy returned quantity fields and enhance data handling
- Updated invoice processing functions to eliminate legacy fields related to returned quantities, now relying on new balance movement and discharge records.
- Adjusted various components and services to reflect changes in quantity handling, including updates to the frontend for displaying used quantities instead of returned ones.
- Improved the logic for invoice total updates and validation processes to ensure consistency with the new data structure.

These changes aim to streamline invoice management and improve data integrity across the application.
2026-03-20 11:42:18 -05:00
cf56ca3a68 Enhance invoice processing and validation logic
- Updated `InvoiceService` to accurately reflect the number of line items in `party_count` for invoices.
- Modified weight calculations in the create and update validators to ensure consistent handling of weight types, now using lowercase comparison for "KGS".
- Adjusted invoice data structure in the frontend to include `total_items` and refined logistics handling.
- Improved table rendering in the invoice edit component for better sticky header behavior and item visibility.

These changes aim to improve data integrity and user experience in invoice management.
2026-03-19 14:22:21 -05:00
97bc407531 feature/partidas-impo-bug-fix 2026-03-18 14:44:45 -06:00
cc8a3582ba Merge branch 'development' into feature/catalog-importation 2026-03-18 13:40:33 -05:00
d37d6ef699 feature/catalog-importation 2026-03-18 08:28:20 -06:00
2a861e480c Enhance invoice and item processing with balance tracking features
- Added `company_id` to `ClientProviderAddress` and `ClientProviderPrograms` for better association.
- Updated `_process_with_discharge` to simplify invoice review by removing redundant parameters.
- Improved `pre_validators` to ensure address validation checks for existence before accessing country.
- Enhanced balance comparison logic in `compare_balances` by tracking consumed quantities.
- Modified `fill_available_balances` to reflect invoice status changes from 'UNPROCESSED' to 'PENDING'.
- Introduced `get_lines_with_balance` method in `ItemService` to fetch invoice lines with available balance.
- Added new API endpoint to retrieve import invoice lines with balance information.
- Updated frontend components to display available balances and improve user experience in invoice selection.
2026-03-18 00:55:17 -05:00
10a37a1102 Merge branch 'development' into feature/item_por_tipo_factura 2026-03-17 22:50:56 -05:00
3eacbf18f2 Refactor 'download' field to 'discharge' across models and services
- Renamed the 'download' field to 'discharge' in the FaLineItem model and updated related services and schemas accordingly.
- Adjusted frontend components to reflect the new 'discharge' terminology.
- Ensured consistency in filtering and validation logic across the application to use the updated field name.
2026-03-17 16:25:23 -05:00
d178ea34fa formulario de items en por tipo de factura: exportaciones y reparaciones de exportacion 2026-03-17 09:26:52 -05:00
63cbdf2124 Importacion de reparacion 2026-03-13 17:56:15 -05:00
dada17b54c Partidas por tipo de factura en importacion 2026-03-13 17:38:30 -05: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
a57b01b190 feature/items-ventana-por-tipo-factura 2026-03-12 07:27:00 -06:00
hreyes
5b4dabb72a feature/filtro-pedimentos-tipo-invoices 2026-03-11 10:40:41 -06:00
hreyes
003d0d54d3 feature/pestana-series-en-partidas 2026-03-11 09:52:15 -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
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