From e6cf90e3fa53fd47b13e3abd97387c41ead41612 Mon Sep 17 00:00:00 2001 From: masoodafar-web Date: Fri, 27 Feb 2026 02:45:11 +0330 Subject: [PATCH] =?UTF-8?q?fix:=20ManualPaymentDialog=20=E2=80=94=20remove?= =?UTF-8?q?=20hardcoded=2056M,=20enable=20Amount=20field?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Default amount set to 0 (admin must enter) - Amount field now editable with Required validation --- .../Pages/Payment/Components/ManualPaymentDialog.razor | 4 +++- .../Pages/Payment/Components/ManualPaymentDialog.razor.cs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/BackOffice/Pages/Payment/Components/ManualPaymentDialog.razor b/src/BackOffice/Pages/Payment/Components/ManualPaymentDialog.razor index 96ec822..dd34aeb 100644 --- a/src/BackOffice/Pages/Payment/Components/ManualPaymentDialog.razor +++ b/src/BackOffice/Pages/Payment/Components/ManualPaymentDialog.razor @@ -18,7 +18,9 @@ Variant="Variant.Outlined" Adornment="Adornment.End" AdornmentText="تومان" - Disabled="true" + Required="true" + RequiredError="مبلغ الزامی است" + Min="1" @bind-Value="_createModel.Amount" />