bank_buttons

This commit is contained in:
Yasiu1376
2024-02-13 10:29:22 +03:30
parent 854b0159f3
commit dee58d998d
2 changed files with 8 additions and 5 deletions

View File

@@ -2,12 +2,15 @@ import {Box} from "@mui/material";
import UpdateForm from "@/components/dashboard/bank-management/Form/Update";
const TableRow = ({row, mutate}) => {
console.log(row.original.bank_status)
return (
<Box sx={{display: "flex", flexWrap: "nowrap", gap: "8px"}}>
<UpdateForm
rowId={row.getValue("id")}
mutate={mutate}
/>
{row.original.bank_status == 0 && (
<UpdateForm
rowId={row.getValue("id")}
mutate={mutate}
/>
)}
</Box>
);
};

View File

@@ -254,7 +254,7 @@ export const DELETE_ADMIN_SETTING = BASE_URL + "/dashboard/settings/delete"
//bank statement
export const GET_BANK_STATEMENT = BASE_URL + "/dashboard/bank_referred_loans"
export const RESEND_BANK_STATEMENT = BASE_URL + "/dashboard/bank_referred_loans/resend"
export const RESEND_BANK_STATEMENT = BASE_URL + "/dashboard/bank_referred_loans/send"
// loan statistics
export const GET_LOAN_STATISTICS = BASE_URL + "/dashboard/reports/navgan/statistics"