fix pargar bugs 2

This commit is contained in:
2026-07-21 13:25:18 +03:30
parent d43c5e1f25
commit 49e80a1b97
17 changed files with 228 additions and 106 deletions
@@ -820,7 +820,7 @@ class SingleOrderController extends Controller
"مبلغ کل: " . number_format($totalPrice) . "\n\n" .
"موجودی {$balanceLabel}: {$goldBalance}\n" .
"مانده ریالی: " . number_format($cashBalance) . "\n" .
$this->Config('app_url');
self::publicSiteUrl(request());
if (self::isSmsNotifEnabled('sms_notif_order_customer')) {
@@ -964,7 +964,7 @@ class SingleOrderController extends Controller
->where('owner_type', $customer->type)
->main()
->first();
$companyurl = $this->Config('app_url');
$companyurl = self::publicSiteUrl(request());
$weight = $data['amount'];
$totalAmount = $data['total_price'];
$pricePerGram = $weight > 0 ? $totalAmount / $weight : 0;