BVN verification table updated
This commit is contained in:
@@ -3,37 +3,14 @@ import React from 'react'
|
||||
import { NewDateTimeFormatter } from '../../../lib/NewDateTimeFormatter'
|
||||
// import {KTIcon} from '../../../helpers'
|
||||
// import {Dropdown1} from '../../content/dropdown/Dropdown1'
|
||||
|
||||
type dashDataProps = {
|
||||
loading: boolean,
|
||||
data: {
|
||||
call_return?: string
|
||||
recent_applications? : {}[]
|
||||
recent_bvn?: {
|
||||
id?: string
|
||||
uid?: string
|
||||
bvn?: string
|
||||
status?: string
|
||||
added?: string
|
||||
updated?: string
|
||||
firstname?: string | null
|
||||
lastname?: string | null
|
||||
middlename?: string | null
|
||||
gender?: string | null
|
||||
birthdate?: string | null
|
||||
phone?: string | null
|
||||
nationality?: string | null
|
||||
}[]
|
||||
}
|
||||
}
|
||||
import { dashDataProps } from '../../../../app/pages/dashboard/model'
|
||||
|
||||
type Props = {
|
||||
className: string
|
||||
dashData: dashDataProps
|
||||
dashData?: dashDataProps
|
||||
}
|
||||
|
||||
const ListsWidget3: React.FC<Props> = ({dashData, className}) => {
|
||||
console.log('dashData', dashData.data)
|
||||
return (
|
||||
<div className={`card ${className}`}>
|
||||
{/* begin::Header */}
|
||||
@@ -57,7 +34,7 @@ const ListsWidget3: React.FC<Props> = ({dashData, className}) => {
|
||||
{/* end::Header */}
|
||||
{/* begin::Body */}
|
||||
<div className='card-body pt-2'>
|
||||
{dashData.loading ?
|
||||
{dashData?.loading ?
|
||||
null
|
||||
:
|
||||
dashData?.data?.recent_bvn && dashData?.data?.recent_bvn.length ?
|
||||
|
||||
Reference in New Issue
Block a user