fix: ManualPaymentDialog — remove hardcoded 56M, enable Amount field
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 2m44s

- Default amount set to 0 (admin must enter)
- Amount field now editable with Required validation
This commit is contained in:
masoodafar-web
2026-02-27 02:45:11 +03:30
parent e0203541bf
commit e6cf90e3fa
2 changed files with 4 additions and 2 deletions
@@ -18,7 +18,9 @@
Variant="Variant.Outlined" Variant="Variant.Outlined"
Adornment="Adornment.End" Adornment="Adornment.End"
AdornmentText="تومان" AdornmentText="تومان"
Disabled="true" Required="true"
RequiredError="مبلغ الزامی است"
Min="1"
@bind-Value="_createModel.Amount" /> @bind-Value="_createModel.Amount" />
<MudSelect T="int" <MudSelect T="int"
@@ -30,7 +30,7 @@ public partial class ManualPaymentDialog
[Parameter] public ManualPaymentModel? Model { get; set; } [Parameter] public ManualPaymentModel? Model { get; set; }
private ManualPaymentModel _createModel = new(){ private ManualPaymentModel _createModel = new(){
Amount = 56000000, Amount = 0,
}; };
private string? _adminNote; private string? _adminNote;