This commit is contained in:
masoodafar-web
2025-12-02 03:32:39 +03:30
parent f5dc44df00
commit a8e6693c70
7 changed files with 300 additions and 6284 deletions
@@ -51,12 +51,15 @@ public partial class Index
}
private string _walletCredit = "-";
private string _walletDiscount = "-";
private string _walletNetwork = "-";
private async Task LoadWallet()
{
var b = await WalletService.GetBalancesAsync();
_walletCredit = FormatPrice(b.CreditBalance);
var discount = FormatPrice(b.DiscountBalance);
_walletNetwork = FormatPrice(b.NetworkBalance);
_walletDiscount = discount;
StateHasChanged();
}