removed the button in loans module

This commit is contained in:
roshelrao
2021-06-25 15:48:01 +05:30
parent 7dcc5fb58e
commit d1226152a7
6 changed files with 12 additions and 39 deletions

View File

@@ -7,9 +7,11 @@ import IceDataPipe from "../../../api/IceDataPipe";
function init(data) {
const modJsList = {};
//modJsList.tabEmployeeCompanyLoan = new EmployeeCompanyLoanAdapter('EmployeeCompanyLoan','');
modJsList.tabEmployeeCompanyLoan = new EmployeeCompanyLoanAdapter('EmployeeCompanyLoan', 'EmployeeCompanyLoan');
//modJsList.tabEmployeeCompanyLoan.setObjectTypeName('Employee Company Loan');
modJsList.tabEmployeeCompanyLoan.setObjectTypeName('Employee Company Loan');
modJsList.tabEmployeeCompanyLoan.setShowAddNew(false);
modJsList.tabEmployeeCompanyLoan.setShowEdit(false);
modJsList.tabEmployeeCompanyLoan.setShowDelete(false);
modJsList.tabEmployeeCompanyLoan.setDataPipe(new IceDataPipe(modJsList.tabEmployeeCompanyLoan));
modJsList.tabEmployeeCompanyLoan.setAccess(data.permissions.EmployeeCompanyLoan);

View File

@@ -40,11 +40,6 @@ class EmployeeCompanyLoanAdapter extends ReactModalAdapterBase {
getTableColumns() {
return [
{
title: 'Employee',
dataIndex: 'employee',
sorter: true,
},
{
title: 'Loan Type',
dataIndex: 'loan',