From 48fcdaf4b8dbfa64a3f10fb776dd1a2863f502f6 Mon Sep 17 00:00:00 2001 From: Hamza-Ayed Date: Fri, 15 May 2026 15:08:36 +0300 Subject: [PATCH] Update: 2026-05-15 15:08:36 --- app/modules_app/invoices/export_excel.php | 5 +++++ 1 file changed, 5 insertions(+) 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) // ══════════════════════════════════════════