import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@/components/ui/table"; import { RemitStatusBadge } from "@/components/StatusBadge"; import { useAppStore } from "@/store"; import { fmt } from "@/lib/format"; export function Remittances() { const remits = useAppStore((s) => s.remittances); const total = remits.reduce( (acc, r) => ({ paid: acc.paid + r.paidAmount, adjustments: acc.adjustments + r.adjustmentAmount, }), { paid: 0, adjustments: 0 } ); return (
Electronic remittance advice from payers, matched to submitted claims.