From 439f69419fb32a4711dfc91c86d7bc8959274673 Mon Sep 17 00:00:00 2001 From: mouazkh Date: Tue, 26 May 2026 04:16:53 +0300 Subject: [PATCH] fixed the details --- app/owner/properties/add/page.js | 146 ++++++++++++++++--------------- 1 file changed, 74 insertions(+), 72 deletions(-) diff --git a/app/owner/properties/add/page.js b/app/owner/properties/add/page.js index 44ccfcb..30050de 100644 --- a/app/owner/properties/add/page.js +++ b/app/owner/properties/add/page.js @@ -1025,81 +1025,83 @@ const handleMapClick = async (coords) => { -
-

شروط استخدام العقار

-
- {termsList.map((term) => { - const Icon = term.icon; - return ( - - ); - })} -
- - {/* Custom Terms */} -
-

إضافة شرط مخصص

-
- setCustomTermInput(e.target.value)} - onKeyDown={(e) => { if (e.key === 'Enter') { e.preventDefault(); addCustomTerm(); } }} - placeholder="اكتب شرطاً مخصصاً..." - className="flex-1 px-3 py-2 border border-gray-300 rounded-lg text-sm focus:ring-2 focus:ring-amber-500 focus:border-transparent outline-none" - /> - -
- {customTerms.length > 0 && ( -
- {customTerms.map((term) => ( - +

شروط استخدام العقار

+
+ {termsList.map((term) => { + const Icon = term.icon; + return ( + + ); + })} +
+ + {/* Custom Terms */} +
+

إضافة شرط مخصص

+
+ setCustomTermInput(e.target.value)} + onKeyDown={(e) => { if (e.key === 'Enter') { e.preventDefault(); addCustomTerm(); } }} + placeholder="اكتب شرطاً مخصصاً..." + className="flex-1 px-3 py-2 border border-gray-300 rounded-lg text-sm focus:ring-2 focus:ring-amber-500 focus:border-transparent outline-none" + /> +
- )} + {customTerms.length > 0 && ( +
+ {customTerms.map((term) => ( + + {term} + + + ))} +
+ )} +
-
+ )} )}