loan followup row action

This commit is contained in:
2024-11-02 15:09:04 +03:30
parent d881287d40
commit 065d8b8078
3 changed files with 19 additions and 13 deletions

View File

@@ -4,10 +4,14 @@ import ReferPassengerBoss from "@/components/dashboard/loan-followup/Form/ReferP
const TableRow = ({row, mutate}) => {
return (
<Box sx={{display: "flex", flexWrap: "nowrap", gap: "8px"}}>
<ReferPassengerBoss
rowId={row.getValue("id")}
mutate={mutate}
/>
{
row.original.state_id === 11 || row.original.state_id === 16 ? (
<ReferPassengerBoss
rowId={row.getValue("id")}
mutate={mutate}
/>
) : null
}
</Box>
);
};