mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
showing approved measures
This commit is contained in:
parent
2b05abb185
commit
93cdc7a3d9
1 changed files with 18 additions and 1 deletions
|
|
@ -218,6 +218,9 @@ export default function MeasuresTable({
|
|||
<TableHead className="text-xs font-semibold text-gray-500 uppercase tracking-wide">
|
||||
Proposed Measures
|
||||
</TableHead>
|
||||
<TableHead className="text-xs font-semibold text-gray-500 uppercase tracking-wide">
|
||||
Technical Approved
|
||||
</TableHead>
|
||||
<TableHead className="text-xs font-semibold text-gray-500 uppercase tracking-wide">
|
||||
Status
|
||||
</TableHead>
|
||||
|
|
@ -311,6 +314,20 @@ export default function MeasuresTable({
|
|||
</div>
|
||||
</TableCell>
|
||||
|
||||
{/* Technical Approved */}
|
||||
<TableCell className="py-3">
|
||||
<div className="flex flex-wrap gap-1.5">
|
||||
{parseMeasures(deal.technicalApprovedMeasuresForInstall).map((measure) => (
|
||||
<span
|
||||
key={measure}
|
||||
className="px-2 py-1 rounded-full text-xs border bg-violet-50 border-violet-200 text-violet-700"
|
||||
>
|
||||
{measure}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
</TableCell>
|
||||
|
||||
{/* Status */}
|
||||
<TableCell className="py-3">
|
||||
<ApprovalStatus proposed={proposed} approved={approvedForDeal} />
|
||||
|
|
@ -322,7 +339,7 @@ export default function MeasuresTable({
|
|||
{isExpanded && (
|
||||
<TableRow className="bg-gray-50/50">
|
||||
<TableCell
|
||||
colSpan={5}
|
||||
colSpan={6}
|
||||
className="p-0"
|
||||
>
|
||||
<div className="border-t border-gray-100">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue