From 2638b7016205071f4dfcfdbdcd403237dd59ef91 Mon Sep 17 00:00:00 2001 From: hamed <15238-genius.ha@users.noreply.drupalcode.org> Date: Fri, 17 Jul 2026 10:55:00 +0330 Subject: [PATCH] feat(admin): move visit-price save button to end of card MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Relocate the ذخیره button out of the price-input row to the bottom of the FreeVisitPrice card, right-aligned, so it sits after the require-visit-price toggle in a logical end-of-form position. Co-Authored-By: Claude Fable 5 --- assets/admin/components/FreeVisitPrice.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/assets/admin/components/FreeVisitPrice.tsx b/assets/admin/components/FreeVisitPrice.tsx index 05619fde..f10a56ba 100644 --- a/assets/admin/components/FreeVisitPrice.tsx +++ b/assets/admin/components/FreeVisitPrice.tsx @@ -63,9 +63,6 @@ export default function FreeVisitPrice() { value={value} onChange={(e) => { setValue(e.target.value); setError(''); }} /> - {value !== '' && ( {formatRial(tomanToRial(Number(value) || 0))} )} @@ -94,6 +91,12 @@ export default function FreeVisitPrice() {

با فعال شدن این گزینه، وارد کردن هزینه ویزیت در تنظیمات، ثبت مراجعه (سرویس)، فاکتور سرویس و ثبت نوبت الزامی می‌شود و بدون آن امکان ذخیره وجود ندارد.

+ +
+ +
); }