import React from 'react' const TYPE_LABEL = { deliverable: 'Deliverable', payment: 'Payment', renewal_termination: 'Renewal/Term', compliance: 'Compliance', service_level: 'SLA', confidentiality: 'Confidentiality', insurance: 'Insurance', other: 'Other', } export default function RegisterTable({ obligations, clauseById, selected, onSelect }) { if (!obligations.length) return
No obligations extracted.
return (| Who | Must do what | By when | Amount | Type | § |
|---|---|---|---|---|---|
| {o.party} | {o.action} | {o.deadline_date || o.deadline_text || '—'} | {o.amount_text || '—'} | {TYPE_LABEL[o.obligation_type]} | {clause?.number || o.clause_id} |