Update: 2026-05-15 17:43:57

This commit is contained in:
Hamza-Ayed
2026-05-15 17:43:57 +03:00
parent ee2ea3a111
commit 813197c869
6 changed files with 225 additions and 12 deletions

View File

@@ -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) {

View File

@@ -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("خطأ في النظام");
}