feat(data-entry): Add unified receipt form with OCR confidence tracking
New unified receipt creation system with: - UnifiedReceiptForm component with inline OCR preview and confidence indicators - Compact upload zone with drag-drop and camera support - TVA and Payment fields with dynamic add/remove - Supplier dual-field with autocomplete and OCR hint - Receipt form sections with collapsible auxiliary data Backend OCR improvements: - Add confidence_tva and confidence_payment to extraction results - Update TVA extraction to return confidence scores - Include TVA (15%) and payment (10%) in overall_confidence calculation Also includes: - CSS design system rules documentation - Port check helper function for service scripts - Expanded design tokens documentation in CLAUDE.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -70,19 +70,25 @@ const routes = [
|
||||
{
|
||||
path: 'create',
|
||||
name: 'ReceiptCreate',
|
||||
component: () => import('@data-entry/views/receipts/ReceiptCreateView.vue'),
|
||||
component: () => import('@data-entry/views/receipts/ReceiptCreateUnifiedView.vue'),
|
||||
meta: { requiresAuth: true, title: 'Bon Nou - ROA2WEB' }
|
||||
},
|
||||
{
|
||||
path: 'create-old',
|
||||
name: 'ReceiptCreateOld',
|
||||
component: () => import('@data-entry/views/receipts/ReceiptCreateView.vue'),
|
||||
meta: { requiresAuth: true, title: 'Bon Nou (Legacy) - ROA2WEB' }
|
||||
},
|
||||
{
|
||||
path: ':id',
|
||||
name: 'ReceiptDetail',
|
||||
component: () => import('@data-entry/views/receipts/ReceiptCreateView.vue'),
|
||||
component: () => import('@data-entry/views/receipts/ReceiptCreateUnifiedView.vue'),
|
||||
meta: { requiresAuth: true, title: 'Detalii Bon - ROA2WEB' }
|
||||
},
|
||||
{
|
||||
path: ':id/edit',
|
||||
name: 'ReceiptEdit',
|
||||
component: () => import('@data-entry/views/receipts/ReceiptCreateView.vue'),
|
||||
component: () => import('@data-entry/views/receipts/ReceiptCreateUnifiedView.vue'),
|
||||
meta: { requiresAuth: true, title: 'Editare Bon - ROA2WEB' }
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user