fix bug 2
This commit is contained in:
@@ -132,6 +132,8 @@ class CustomerController extends Controller
|
||||
$wallet->cash_from_silver = $count_cash_from_silver;
|
||||
$wallet->cash_from_copper = $count_cash_from_copper;
|
||||
$wallet->count_cash_total = $count_cash_total;
|
||||
// cash در پاسخ = موجودی ریالی کیف اصلی (نه کیف legacy محصولات main_wallet_products)
|
||||
$wallet->cash = $count_cash_pure;
|
||||
|
||||
// جمع واقعی طلا از کیفها — همتراز wallet/me و کارت محصول (بدون دوبارهشماری customers.gold)
|
||||
$wallet->gold_sum = round((float) $wallet->count_gold, 2);
|
||||
|
||||
Reference in New Issue
Block a user