From c45e19189a42987b8a20292937ec40de2036c95a Mon Sep 17 00:00:00 2001
From: Focuslinkstech <45756999+Focuslinkstech@users.noreply.github.com>
Date: Tue, 18 Mar 2025 13:12:30 +0100
Subject: [PATCH] Fix case sensitivity in invoice template file paths

---
 system/autoload/Invoice.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/system/autoload/Invoice.php b/system/autoload/Invoice.php
index 51e54750..542c9a53 100644
--- a/system/autoload/Invoice.php
+++ b/system/autoload/Invoice.php
@@ -11,9 +11,9 @@ class Invoice
                 throw new Exception("Invoice ID is required");
             }
 
-            $templatePath = 'pages/custom_invoice.html';
+            $templatePath = 'pages/Custom_Invoice.html';
             if (!file_exists($templatePath)) {
-                $templatePath = 'pages/default_invoice.html';
+                $templatePath = 'pages/Default_Invoice.html';
             }
 
             $template = file_get_contents($templatePath);