v0.3.1
[0.3.1] - 2025-11-27
✨ Added
- Supplier & Invoice Display in Product List Table:
- New "Factura" column: Displays the invoice number of the first assigned invoice
- New "Proveedor" column: Displays supplier business name (razon_social) and RUC
- Both columns are visible by default but can be toggled via the "Columnas" button
- View-only columns that link to the supplier invoice dialog for full management
- Quick reference for supplier information directly in product list
🔧 Changed
-
Product List Table Columns:
- Added "Factura" and "Proveedor" columns for better supplier tracking
- Maintains existing column toggle functionality
- Supplier data eagerly loaded from database with product queries
-
Excel Export:
- Removed "Imágenes" (Images) column from export
- Excel now contains only relevant inventory data
- Cleaner export focused on business information
-
InventoryService:
- Enhanced
mapEntityToProduct()to properly map supplier invoice relationships - Maps
product_supplier_invoiceswith supplier data toProduct.supplierInvoices - Maintains database relationship structure (numeroFactura, suppliers entity)
- Enhanced
📚 Documentation
- Updated README.md with supplier columns display information
- Added note about Excel export excluding images