diff --git a/app/modules_app/invoices/export_excel.php b/app/modules_app/invoices/export_excel.php index 643bf32..62600cd 100644 --- a/app/modules_app/invoices/export_excel.php +++ b/app/modules_app/invoices/export_excel.php @@ -147,6 +147,11 @@ $totalFont = '065F46'; // Dark green $borderColor = 'E2E1F0'; // Light border $altRowBg = 'F8F7FD'; // Alternating row +$logoPath = ROOT_PATH . '/public/assets/img/logo.jpg'; +if (!file_exists($logoPath)) { + error_log("Excel Export Error: Logo not found at {$logoPath}"); +} + // ══════════════════════════════════════════ // 1. SUMMARY SHEET (First Sheet) // ══════════════════════════════════════════