fix pargar bugs 2
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user