feat(profile): temporarily disable gateway charge for discount wallet
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 11m10s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 11m10s
- Added an alert to inform users that the gateway charge for the discount wallet is currently disabled. - Updated the Wallet.razor file to hide the charge button for the discount wallet, with a note for future restoration. These changes enhance user experience by providing clear communication regarding the status of the wallet charging feature.
This commit is contained in:
@@ -7,6 +7,16 @@
|
||||
<MudStack Spacing="3">
|
||||
<PageHeader Title="💳 شارژ کیفپول اعتباری" BackHref="@RouteConstants.Profile.Wallet" />
|
||||
|
||||
@* Gateway self-charge temporarily disabled. To restore: remove the alert and set _gatewayChargeEnabled = true in .cs (or flip the if below). *@
|
||||
<MudAlert Severity="MudBlazor.Severity.Info" Class="rounded-lg" Variant="Variant.Outlined">
|
||||
شارژ کیفپول اعتباری از طریق درگاه فعلاً غیرفعال است.
|
||||
<MudButton Size="Size.Small" Variant="Variant.Text" Href="@RouteConstants.Profile.Wallet" Class="mt-1">
|
||||
بازگشت به کیف پول
|
||||
</MudButton>
|
||||
</MudAlert>
|
||||
|
||||
@if (false) @* TEMP: set to true to restore gateway charge UI *@
|
||||
{
|
||||
@* ─── نتیجه پرداخت (اگه از callback برگشته) ─── *@
|
||||
@if (_paymentResult != null)
|
||||
{
|
||||
@@ -117,5 +127,6 @@
|
||||
</MudList>
|
||||
</MudExpansionPanel>
|
||||
</MudExpansionPanels>
|
||||
}
|
||||
</MudStack>
|
||||
</MudContainer>
|
||||
|
||||
@@ -125,6 +125,7 @@
|
||||
</MudPaper>
|
||||
}
|
||||
|
||||
@* ── Temporarily hidden: discount-wallet gateway charge (restore when needed)
|
||||
<!-- دکمه شارژ کیفپول اعتباری -->
|
||||
<MudButton Variant="Variant.Filled"
|
||||
Color="Color.Info"
|
||||
@@ -135,6 +136,7 @@
|
||||
Class="rounded-lg">
|
||||
شارژ کیفپول اعتباری
|
||||
</MudButton>
|
||||
── *@
|
||||
|
||||
<MudPaper Elevation="2" Class="pa-4 rounded-lg">
|
||||
<MudText Typo="Typo.h6" Class="mb-2">تراکنشها و مسیرهای شارژ</MudText>
|
||||
|
||||
Reference in New Issue
Block a user