Merge branch 'master' of https://git.shiblysolution.id/TPAY/dashboard
This commit is contained in:
@ -280,7 +280,7 @@ const ManageProductsContextProvider = ({ children }: { children: React.ReactNode
|
|||||||
pagination={{ size: 10 }}
|
pagination={{ size: 10 }}
|
||||||
toolbar={<ListToolbar />}
|
toolbar={<ListToolbar />}
|
||||||
layout={{ card: true }}
|
layout={{ card: true }}
|
||||||
sorting={[{ id: 'Product.id', desc: false }]}
|
sorting={[{ id: 'Product.created_at', desc: true }]}
|
||||||
serverSide={true}
|
serverSide={true}
|
||||||
onFetchData={({ pageIndex, pageSize, sorting, columnFilters }) =>
|
onFetchData={({ pageIndex, pageSize, sorting, columnFilters }) =>
|
||||||
getProductsLists(pageIndex, pageSize, sorting, columnFilters)
|
getProductsLists(pageIndex, pageSize, sorting, columnFilters)
|
||||||
|
|||||||
@ -178,5 +178,7 @@ export const initialMember = {
|
|||||||
posto_adms: '',
|
posto_adms: '',
|
||||||
suco: '',
|
suco: '',
|
||||||
aldeia: '',
|
aldeia: '',
|
||||||
profession: ''
|
profession: '',
|
||||||
|
approval_description_premium: '',
|
||||||
|
approval_description_agent: ''
|
||||||
};
|
};
|
||||||
|
|||||||
@ -249,7 +249,8 @@ const DetailMember = ({ showAddDialog, setShowAddDialog, handleSubmit, initialDa
|
|||||||
{formData.id ? generateInput(formData, handleChange, 'Bank Account', 'bank_account', 'text', false, viewOnly): ''}
|
{formData.id ? generateInput(formData, handleChange, 'Bank Account', 'bank_account', 'text', false, viewOnly): ''}
|
||||||
{formData.id ? generateInput(formData, handleChange, 'iBank Number', 'ibank_number', 'text', false, viewOnly): ''}
|
{formData.id ? generateInput(formData, handleChange, 'iBank Number', 'ibank_number', 'text', false, viewOnly): ''}
|
||||||
|
|
||||||
{formData.id ? generateInput(formData, handleChange, 'Approval Description', 'description', 'text', false, viewOnly): ''}
|
{formData.id ? generateInput(formData, handleChange, 'Approval Premium Description', 'approval_description_premium', 'text', false, viewOnly): ''}
|
||||||
|
{formData.id ? generateInput(formData, handleChange, 'Approval Agent Description', 'approval_description_agent', 'text', false, viewOnly): ''}
|
||||||
|
|
||||||
{(formData.id && page!=='kyc') ? AdmAccess(page, formData, handleClose,fetchCustomers, viewOnly, setViewOnly): ""}
|
{(formData.id && page!=='kyc') ? AdmAccess(page, formData, handleClose,fetchCustomers, viewOnly, setViewOnly): ""}
|
||||||
{(formData.id && page!=='kyc') ? CustomerWallet(formData.id) : ""}
|
{(formData.id && page!=='kyc') ? CustomerWallet(formData.id) : ""}
|
||||||
|
|||||||
Reference in New Issue
Block a user