diff --git a/src/components/collections/status-flag-badges.tsx b/src/components/collections/status-flag-badges.tsx new file mode 100644 index 0000000..423a516 --- /dev/null +++ b/src/components/collections/status-flag-badges.tsx @@ -0,0 +1,40 @@ +import { Badge } from "@/components/ui/badge"; + +/** + * Compact BK / PP indicator badges used next to case/collection names. + * - BK = Bankruptcy + * - PP = Payment Plan + */ +export function StatusFlagBadges({ + bk, + pp, + className, +}: { + bk?: boolean | null; + pp?: boolean | null; + className?: string; +}) { + if (!bk && !pp) return null; + return ( + + {bk && ( + + BK + + )} + {pp && ( + + PP + + )} + + ); +}