removed delete on currency, conversion, and wallet rule

This commit is contained in:
bagusajisaputroo
2025-04-24 13:15:31 +07:00
parent 988df5e9ab
commit 9001d75f20
3 changed files with 9 additions and 9 deletions

View File

@ -137,16 +137,16 @@ const ManageConversionContextProvider = ({ children }: { children: React.ReactNo
>
<KeenIcon icon="notepad-edit" />
</button>
<button
{/* <button
className="btn btn-sm btn-icon btn-clear btn-light"
onClick={() => handleDeleteDialog(true, row.ID)}
>
<KeenIcon icon="trash" />
</button>
</button> */}
</>
);
},
meta: { headerClassName: 'w-[100px]', cellClassName: 'text-center' }
meta: { headerClassName: 'w-[100px] text-center', cellClassName: 'text-center' }
}
],
[handleEditDialog, handleDeleteDialog]

View File

@ -124,16 +124,16 @@ const ManageCurrencyContextProvider = ({ children }: { children: React.ReactNode
>
<KeenIcon icon="notepad-edit" />
</button>
<button
{/* <button
className="btn btn-sm btn-icon btn-clear btn-light"
onClick={() => handleDeleteDialog(true, row.ID)}
>
<KeenIcon icon="trash" />
</button>
</button> */}
</>
);
},
meta: { headerClassName: 'w-[100px]', cellClassName: 'text-center' }
meta: { headerClassName: 'w-[100px] text-center', cellClassName: 'text-center' }
}
],
[handleEditDialog, handleDeleteDialog]

View File

@ -192,17 +192,17 @@ const ManageWalletRuleContextProvider = ({ children }: { children: React.ReactNo
>
<KeenIcon icon="notepad-edit" />
</button>
<button
{/* <button
className="btn btn-sm btn-icon btn-clear btn-light"
onClick={() => handleDeleteDialog(true, row)}
>
<KeenIcon icon="trash" />
</button>
</button> */}
</>
);
},
meta: {
headerClassName: 'w-[100px]',
headerClassName: 'w-[100px] text-center',
cellClassName: 'text-center'
}
}