Merge branch 'feature/yasi_change_title_bank' into 'develop'

bank_buttons

See merge request witel-front-end/loan-facilities/expert!154
This commit is contained in:
AmirHossein Mahmoodi
2024-02-13 07:04:16 +00:00
2 changed files with 7 additions and 5 deletions

View File

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

View File

@@ -254,7 +254,7 @@ export const DELETE_ADMIN_SETTING = BASE_URL + "/dashboard/settings/delete"
//bank statement //bank statement
export const GET_BANK_STATEMENT = BASE_URL + "/dashboard/bank_referred_loans" 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 // loan statistics
export const GET_LOAN_STATISTICS = BASE_URL + "/dashboard/reports/navgan/statistics" export const GET_LOAN_STATISTICS = BASE_URL + "/dashboard/reports/navgan/statistics"