bank_buttons
This commit is contained in:
@@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user