mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-16 11:48:31 +02:00
Add photo data to Excel exports and correct database column mappings
Adds a "Photos" sheet to Excel exports with links to images and fixes DB column mappings for sales photos. 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/z4eyzzt
This commit is contained in:
1 parent
58a06455f6
commit
91f5c13f33
4 files changed
+73
-42
No files matched your search
@@ -50,7 +50,6 @@ 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