Commit Graph

18 Commits

Author SHA1 Message Date
Nils-Johan Gynther f12d881395 feat(api): add create and update product routes with authentication
refactor(admin): integrate router refresh after product updates in forms
fix(imports): update fetch paths for product creation and update in ReceiptImportClient
2026-04-19 18:12:29 +02:00
Nils-Johan Gynther 4bf5733c76 feat(api): implement product creation and category update endpoints 2026-04-19 17:32:55 +02:00
Nils-Johan Gynther 81a8390bb7 refactor(actions): enhance error handling and ensure serializability in product actions 2026-04-19 17:30:18 +02:00
Nils-Johan Gynther 40b0d5fd3a refactor(actions): return only serializable fields in product actions 2026-04-19 17:28:28 +02:00
Nils-Johan Gynther 7f51829462 feat(receipt-import): integrate server actions for product creation and category updates 2026-04-19 17:26:59 +02:00
Nils-Johan Gynther 2ac6112db2 fix(actions): correct import path for getAuthHeaders in actions.ts 2026-04-19 17:22:37 +02:00
Nils-Johan Gynther 184ecaad61 feat(receipt-import): refactor product creation and category update to use server actions 2026-04-19 17:17:41 +02:00
Nils-Johan Gynther 4e85d1309b feat(receipt-import): add debug logging for isAdmin role in ReceiptImportClient 2026-04-19 15:17:08 +02:00
Nils-Johan Gynther 976a72612e feat(inventory): add origin field to InventoryItem and update related DTOs and services 2026-04-19 15:11:35 +02:00
Nils-Johan Gynther 632d084dbe feat(products): implement category selection and product creation in receipt import 2026-04-19 13:39:26 +02:00
Nils-Johan Gynther f2f9f46502 feat(receipt-import): enhance product search functionality and error handling 2026-04-19 11:23:20 +02:00
Nils-Johan Gynther 054a19ed7c MAJOR UPPDATE: "First Ai"
feat: add AI categorization for products and enhance user management

- Integrated AI service for category suggestions in receipt import and product management.
- Added premium subscription feature for users with corresponding API endpoints.
- Implemented admin interface for managing pending product suggestions.
- Enhanced user management to include premium status and corresponding UI updates.
- Updated database schema to support new fields for premium status and product status.
2026-04-19 10:34:21 +02:00
Nils-Johan Gynther fd188a3f95 refactor(inventory): remove unused fields from InventoryItem and update related DTOs 2026-04-18 09:01:14 +02:00
Nils-Johan Gynther 4474c4da01 feat: implement import functionality with tab navigation for receipts and invoices 2026-04-16 21:39:23 +02:00
Nils-Johan Gynther 2a0da005ff feat: add receiptName field to InventoryItem model and update related DTOs and service 2026-04-16 21:22:34 +02:00
Nils-Johan Gynther af88a0dc81 feat: implement receipt alias functionality with CRUD operations and integrate with receipt import 2026-04-16 21:06:16 +02:00
Nils-Johan Gynther b8744f625b feat: enhance receipt import to support PDF files with updated UI and backend processing 2026-04-16 20:22:27 +02:00
Nils-Johan Gynther a12abe0402 feat: add receipt import functionality with UI and backend integration 2026-04-16 20:02:57 +02:00