diff --git a/app/modules_app/invoices/export_excel.php b/app/modules_app/invoices/export_excel.php index c411593..3a5eb9a 100644 --- a/app/modules_app/invoices/export_excel.php +++ b/app/modules_app/invoices/export_excel.php @@ -190,8 +190,8 @@ try { } catch(\Exception $e) { error_log('Logo Summary Error: ' . $e->getMessage()); } // --- Add Clickable Website Link --- -$summarySheet->setCellValue("J1", 'musadaq.intaleqapp.com'); -$summarySheet->getCell("J1")->getHyperlink()->setUrl('https://musadaq.intaleqapp.com/'); +$summarySheet->setCellValue('J1', 'musadaq.intaleqapp.com/verify_qr'); +$summarySheet->getCell('J1')->getHyperlink()->setUrl('https://musadaq.intaleqapp.com/index.php?route=verify_qr'); $summarySheet->getStyle("J1")->applyFromArray([ 'font' => ['color' => ['argb' => 'FFFFFFFF'], 'underline' => true, 'size' => 9], 'alignment' => ['horizontal' => Alignment::HORIZONTAL_LEFT, 'vertical' => Alignment::VERTICAL_CENTER], @@ -199,7 +199,7 @@ $summarySheet->getStyle("J1")->applyFromArray([ // --- Add QR Code to Summary Header --- try { - $summaryUrl = "https://musadaq.intaleqapp.com/"; + $summaryUrl = "https://musadaq.intaleqapp.com/index.php?route=verify_qr"; $qrApiUrl = "https://api.qrserver.com/v1/create-qr-code/?size=100x100&data=" . urlencode($summaryUrl); $qrData = $downloadUrl($qrApiUrl); if ($qrData) {