Update: 2026-05-15 17:43:57
This commit is contained in:
@@ -367,7 +367,7 @@ foreach ($invoices as $invIdx => $inv) {
|
||||
|
||||
// --- Add Verification QR Code ---
|
||||
try {
|
||||
$verifyUrl = "https://musadaq.intaleqapp.com/index.php?route=verify&id=" . $inv['id'];
|
||||
$verifyUrl = "https://musadaq.intaleqapp.com/v.php?id=" . $inv['id'];
|
||||
$qrApiUrl = "https://api.qrserver.com/v1/create-qr-code/?size=100x100&data=" . urlencode($verifyUrl);
|
||||
$qrData = $downloadUrl($qrApiUrl);
|
||||
if ($qrData) {
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
use App\Core\Database;
|
||||
use App\Core\Encryption;
|
||||
|
||||
// die('REACHED VERIFY'); // Debug
|
||||
try {
|
||||
$invoiceId = $_GET['id'] ?? null;
|
||||
|
||||
@@ -167,6 +168,7 @@ try {
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
exit;
|
||||
} catch (\Exception $e) {
|
||||
die("خطأ في النظام");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user