"use client"; import { Badge } from "@/components/ui"; import { commercialEntityName, enumLabel } from "../presentation"; export function PlanBadge({ label, status, }: { label?: string | null; status?: string | null; }) { if (!label && !status) return بدون پلن; return ( {label ? commercialEntityName("plans", label, label) : enumLabel(status)} ); } export function CapabilityBadge({ code, label }: { code: string; label?: string }) { return ( {commercialEntityName("capabilities", code, label)} ); }