bmc_hub/migrations
Christian 3a8288f5a1 feat: Implement quick analysis on PDF upload for CVR, document type, and number extraction
- Added `check_invoice_number_exists` method in `EconomicService` to verify invoice numbers in e-conomic journals.
- Introduced `quick_analysis_on_upload` method in `OllamaService` for extracting critical fields from uploaded PDFs, including CVR, document type, and document number.
- Created migration script to add new fields for storing detected CVR, vendor ID, document type, and document number in the `incoming_files` table.
- Developed comprehensive tests for the quick analysis functionality, validating CVR detection, document type identification, and invoice number extraction.
2025-12-09 14:54:33 +01:00
..
002_auth_system.sql Add Material Blue design templates for dashboard and customer overview pages 2025-12-06 02:22:01 +01:00
003_extend_customers.sql Add Material Blue design templates for dashboard and customer overview pages 2025-12-06 02:22:01 +01:00
004_contacts_relationships.sql Add Material Blue design templates for dashboard and customer overview pages 2025-12-06 02:22:01 +01:00
005_vendors.sql feat: Implement supplier invoices management with e-conomic integration 2025-12-07 03:29:54 +01:00
006_settings.sql feat: Implement Vendors API and Frontend 2025-12-06 11:04:19 +01:00
007_dev_portal.sql feat: Implement DEV Portal with Kanban board, idea management, and workflow editor 2025-12-06 21:27:47 +01:00
008_credit_notes.sql feat: Enhance billing frontend with Jinja2 templates and improve invoice handling 2025-12-08 09:15:52 +01:00
008_supplier_invoices.sql feat: Implement supplier invoices management with e-conomic integration 2025-12-07 03:29:54 +01:00
009_document_extraction.sql feat: Implement supplier invoices management with e-conomic integration 2025-12-07 03:29:54 +01:00
010_supplier_invoice_templates.sql feat: Implement supplier invoices management with e-conomic integration 2025-12-07 03:29:54 +01:00
011_extraction_lines_context.sql feat: Implement quick analysis on PDF upload for CVR, document type, and number extraction 2025-12-09 14:54:33 +01:00
011_quick_analysis.sql feat: Implement quick analysis on PDF upload for CVR, document type, and number extraction 2025-12-09 14:54:33 +01:00
012_own_invoice_filter.sql feat: Implement quick analysis on PDF upload for CVR, document type, and number extraction 2025-12-09 14:54:33 +01:00
012_template_default_category.sql feat: Implement quick analysis on PDF upload for CVR, document type, and number extraction 2025-12-09 14:54:33 +01:00
init.sql Initial BMC Hub setup 2025-12-05 14:22:39 +01:00