fix detail member

This commit is contained in:
unknown
2025-04-11 15:50:08 +07:00
parent e9b25006b0
commit 6d4c659f9a
10 changed files with 814 additions and 59 deletions

View File

@ -295,8 +295,7 @@ const CustomerDialog = ({ open, handleClose, handleSubmit, initialData, viewStat
<TextField disabled={viewOnly} fullWidth margin="dense" label="iBank Number" name="ibank_number" value={formData.ibank_number} onChange={handleChange} />
<Divider className="pt-7"/>
{/* {getAdmAccess(page, formData, handleClose, fetchCustomers)} */}
{
page === 'kyc' ? (
{ page === 'kyc' ? (
<>
<Typography sx={{color:'grey'}}>Approval</Typography>
<TextField fullWidth required={page === 'kyc'?true:false} margin="dense" label="Approval Description" name="description" value={formData.description} onChange={handleChange} />
@ -589,23 +588,21 @@ function showCustomerWallet(customerid: any) {
}}
>
<Box>
<Typography variant="subtitle2" color="text.secondary">
Name
</Typography>
<Typography variant="subtitle2" color="text.secondary">Name</Typography>
<Typography variant="body1" fontWeight={500}>
{item.wallet.name}
</Typography>
</Box>
<Box>
<Typography variant="subtitle2" color="text.secondary">
Description
</Typography>
<Typography variant="subtitle2" color="text.secondary">Description</Typography>
<Typography variant="body1">{item.wallet.description}</Typography>
</Box>
<Box>
<Typography variant="subtitle2" color="text.secondary">
Transaction Today
</Typography>
<Typography variant="subtitle2" color="text.secondary">Balance</Typography>
<Typography variant="body1">{item.amount}</Typography>
</Box>
<Box>
<Typography variant="subtitle2" color="text.secondary">Transaction Today</Typography>
<Typography variant="body1">{item.transaction_number_today}</Typography>
</Box>
</ListItem>