feat: enable gateway buttons - remove بزودی disabled state
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 6m40s

- ChargeDiscountWallet: active payment button with StartDiscountCharge
- MagicWallet: active payment button with StartMagicCharge
- Index: both branch buttons call DirectPayment with loading state
This commit is contained in:
masoodafar-web
2026-02-22 22:13:23 +03:30
parent 8e1f7d7a0c
commit 2fa9dbc900
3 changed files with 52 additions and 14 deletions
@@ -138,13 +138,22 @@
</MudStack>
<MudButton Variant="Variant.Filled"
Color="Color.Default"
Color="Color.Primary"
Size="Size.Large"
FullWidth="true"
Disabled="true"
StartIcon="@Icons.Material.Filled.AccessTime"
Disabled="@(_isProcessing || _chargeAmount < 10_000)"
OnClick="StartMagicCharge"
StartIcon="@Icons.Material.Filled.Payment"
Class="rounded-lg mt-2">
<span>بزودی</span>
@if (_isProcessing)
{
<MudProgressCircular Size="Size.Small" Indeterminate="true" Class="me-2" />
<span>در حال انتقال به درگاه...</span>
}
else
{
<span>پرداخت با کارت بانکی</span>
}
</MudButton>
</MudStack>
</MudPaper>