mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-15 03:07:41 +02:00
Investigate issue preventing application functionality and fix errors
Adds debug logging to sales history and database storage for troubleshooting. Replit-Commit-Author: Agent Replit-Commit-Session-Id: e80fed01-7137-4997-b9af-dad57132d430 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/e80fed01-7137-4997-b9af-dad57132d430/dVex23s
This commit is contained in:
1 parent
bdeeced6c6
commit
1c58d8a406
2 files changed
+4
-1
No files matched your search
@@ -50,6 +50,7 @@ export default function SalesHistory({ canDelete = false }: SalesHistoryProps) {
|
||||
});
|
||||
|
||||
const sales = Array.isArray(salesData) ? salesData : [];
|
||||
console.log('DEBUG: Sample sale with photos:', sales.find(s => s.photoRecto || s.photoVerso || s.photoTicket));
|
||||
|
||||
// Filtrer les ventes selon la recherche
|
||||
const filteredSales = useMemo(() => {
|
||||
|
||||
Reference in new issue
Block a user