diff --git a/artifacts/tx-os/src/locales/ar.json b/artifacts/tx-os/src/locales/ar.json index 88aaebb2..064762f1 100644 --- a/artifacts/tx-os/src/locales/ar.json +++ b/artifacts/tx-os/src/locales/ar.json @@ -422,7 +422,6 @@ "serviceNameEn": "اسم الخدمة (إنجليزي)", "serviceDescriptionAr": "الوصف (عربي)", "serviceDescriptionEn": "الوصف (إنجليزي)", - "servicePrice": "السعر", "serviceAvailable": "متاح؟", "serviceImageUrl": "رابط الصورة", "serviceImage": "صورة الخدمة", diff --git a/artifacts/tx-os/src/locales/en.json b/artifacts/tx-os/src/locales/en.json index b1af1c69..b08bc9c2 100644 --- a/artifacts/tx-os/src/locales/en.json +++ b/artifacts/tx-os/src/locales/en.json @@ -419,7 +419,6 @@ "serviceNameEn": "Service Name (English)", "serviceDescriptionAr": "Description (Arabic)", "serviceDescriptionEn": "Description (English)", - "servicePrice": "Price", "serviceAvailable": "Available?", "serviceImageUrl": "Image URL", "serviceImage": "Service Image", diff --git a/artifacts/tx-os/src/pages/admin.tsx b/artifacts/tx-os/src/pages/admin.tsx index babb6c08..d738ec0c 100644 --- a/artifacts/tx-os/src/pages/admin.tsx +++ b/artifacts/tx-os/src/pages/admin.tsx @@ -233,7 +233,6 @@ type ServiceForm = { nameEn: string; descriptionAr: string; descriptionEn: string; - price: string; imageUrl: string; isAvailable: boolean; }; @@ -1032,7 +1031,7 @@ export default function AdminPage() { }; const emptyAppForm: AppForm = { nameAr: "", nameEn: "", slug: "", iconName: "Grid2X2", route: "/", color: "#6366f1", sortOrder: 0, permissionIds: [] }; - const emptyServiceForm: ServiceForm = { nameAr: "", nameEn: "", descriptionAr: "", descriptionEn: "", price: "0.00", imageUrl: "", isAvailable: true }; + const emptyServiceForm: ServiceForm = { nameAr: "", nameEn: "", descriptionAr: "", descriptionEn: "", imageUrl: "", isAvailable: true }; // #196: Switch to the audit-log section pre-filtered by the given // targetType/targetId. Writes the hash BEFORE the section change so the @@ -1266,7 +1265,6 @@ export default function AdminPage() { [ { field: "nameAr", label: t("admin.serviceNameAr") }, { field: "nameEn", label: t("admin.serviceNameEn") }, - { field: "price", label: t("admin.servicePrice") }, ] as { field: keyof ServiceForm; label: string }[] ).map(({ field, label }) => (