diff --git a/codbex-payments/codbex-payments.edm b/codbex-payments/codbex-payments.edm
index 7aacaef..5aac4df 100644
--- a/codbex-payments/codbex-payments.edm
+++ b/codbex-payments/codbex-payments.edm
@@ -8,7 +8,7 @@
-
+
@@ -26,7 +26,7 @@
-
+
@@ -42,7 +42,7 @@
-
+
@@ -58,7 +58,7 @@
-
+
@@ -151,7 +151,7 @@
-
+
diff --git a/codbex-payments/codbex-payments.gen b/codbex-payments/codbex-payments.gen
index c55a1ba..bb53350 100644
--- a/codbex-payments/codbex-payments.gen
+++ b/codbex-payments/codbex-payments.gen
@@ -741,6 +741,8 @@
"genFolderName": "codbex-methods"
}
],
+ "dataOrderBy": "DESC",
+ "dataOrderBySort": "Date",
"primaryKeys": [
"Id"
],
@@ -1544,6 +1546,8 @@
"genFolderName": "codbex-companies"
}
],
+ "dataOrderBy": "DESC",
+ "dataOrderBySort": "Date",
"primaryKeys": [
"Id"
],
@@ -2337,6 +2341,8 @@
"genFolderName": "codbex-companies"
}
],
+ "dataOrderBy": "DESC",
+ "dataOrderBySort": "Date",
"primaryKeys": [
"Id"
],
@@ -3183,6 +3189,8 @@
"genFolderName": "codbex-companies"
}
],
+ "dataOrderBy": "DESC",
+ "dataOrderBySort": "Date",
"primaryKeys": [
"Id"
],
diff --git a/codbex-payments/codbex-payments.model b/codbex-payments/codbex-payments.model
index 5b392ff..4169a9b 100644
--- a/codbex-payments/codbex-payments.model
+++ b/codbex-payments/codbex-payments.model
@@ -103,7 +103,7 @@
"widgetType": "TEXTBOX"
},
{
- "dataLength": "18",
+ "dataLength": "16",
"dataName": "CUSTOMERPAYMENT_AMOUNT",
"dataNullable": "false",
"dataPrecision": "16",
@@ -375,7 +375,7 @@
"widgetType": "TEXTBOX"
},
{
- "dataLength": "18",
+ "dataLength": "16",
"dataName": "SUPPLIERPAYMENT_AMOUNT",
"dataNullable": "false",
"dataPrecision": "16",
@@ -611,7 +611,7 @@
"widgetType": "TEXTBOX"
},
{
- "dataLength": "18",
+ "dataLength": "16",
"dataName": "EMPLOYEEPAYMENT_AMOUNT",
"dataNullable": "false",
"dataPrecision": "16",
@@ -847,7 +847,7 @@
"widgetType": "TEXTBOX"
},
{
- "dataLength": "18",
+ "dataLength": "16",
"dataName": "PAYMENTRECORD_AMOUNT",
"dataNullable": "true",
"dataPrecision": "16",
@@ -1845,7 +1845,7 @@
"widgetType": "DATE"
},
{
- "dataLength": "18",
+ "dataLength": "16",
"dataName": "PAYMENTADJUSTMENT_AMOUNT",
"dataNullable": "true",
"dataPrecision": "16",
diff --git a/codbex-payments/gen/codbex-payments/dao/CustomerPayment/CustomerPaymentRepository.ts b/codbex-payments/gen/codbex-payments/dao/CustomerPayment/CustomerPaymentRepository.ts
index 4aa6fc9..0d4b3d1 100644
--- a/codbex-payments/gen/codbex-payments/dao/CustomerPayment/CustomerPaymentRepository.ts
+++ b/codbex-payments/gen/codbex-payments/dao/CustomerPayment/CustomerPaymentRepository.ts
@@ -176,7 +176,7 @@ export interface CustomerPaymentEntityOptions {
},
$select?: (keyof CustomerPaymentEntity)[],
$sort?: string | (keyof CustomerPaymentEntity)[],
- $order?: 'asc' | 'desc',
+ $order?: 'ASC' | 'DESC',
$offset?: number,
$limit?: number,
}
@@ -295,19 +295,14 @@ export class CustomerPaymentRepository {
private readonly dao;
constructor(dataSource = "DefaultDB") {
- this.dao = daoApi.create(CustomerPaymentRepository.DEFINITION, null, dataSource);
+ this.dao = daoApi.create(CustomerPaymentRepository.DEFINITION, undefined, dataSource);
}
- public findAll(options?: CustomerPaymentEntityOptions): CustomerPaymentEntity[] {
- // @ts-ignore
- if (options.$sort === undefined) {
- // @ts-ignore
- options.$sort = "";
+ public findAll(options: CustomerPaymentEntityOptions = {}): CustomerPaymentEntity[] {
+ if (options.$sort === undefined && options.$order === undefined) {
+ options.$sort = "Date";
+ options.$order = "DESC";
}
- // @ts-ignore
- options.$sort += "Date,";
- // @ts-ignore
- options.$order = "DESC";
return this.dao.list(options).map((e: CustomerPaymentEntity) => {
EntityUtils.setDate(e, "Date");
EntityUtils.setDate(e, "Valor");
diff --git a/codbex-payments/gen/codbex-payments/dao/EmployeePayment/EmployeePaymentRepository.ts b/codbex-payments/gen/codbex-payments/dao/EmployeePayment/EmployeePaymentRepository.ts
index 1728386..fe224d6 100644
--- a/codbex-payments/gen/codbex-payments/dao/EmployeePayment/EmployeePaymentRepository.ts
+++ b/codbex-payments/gen/codbex-payments/dao/EmployeePayment/EmployeePaymentRepository.ts
@@ -158,7 +158,7 @@ export interface EmployeePaymentEntityOptions {
},
$select?: (keyof EmployeePaymentEntity)[],
$sort?: string | (keyof EmployeePaymentEntity)[],
- $order?: 'asc' | 'desc',
+ $order?: 'ASC' | 'DESC',
$offset?: number,
$limit?: number,
}
@@ -267,19 +267,14 @@ export class EmployeePaymentRepository {
private readonly dao;
constructor(dataSource = "DefaultDB") {
- this.dao = daoApi.create(EmployeePaymentRepository.DEFINITION, null, dataSource);
+ this.dao = daoApi.create(EmployeePaymentRepository.DEFINITION, undefined, dataSource);
}
- public findAll(options?: EmployeePaymentEntityOptions): EmployeePaymentEntity[] {
- // @ts-ignore
- if (options.$sort === undefined) {
- // @ts-ignore
- options.$sort = "";
+ public findAll(options: EmployeePaymentEntityOptions = {}): EmployeePaymentEntity[] {
+ if (options.$sort === undefined && options.$order === undefined) {
+ options.$sort = "Date";
+ options.$order = "DESC";
}
- // @ts-ignore
- options.$sort += "Date,";
- // @ts-ignore
- options.$order = "DESC";
return this.dao.list(options).map((e: EmployeePaymentEntity) => {
EntityUtils.setDate(e, "Date");
EntityUtils.setDate(e, "Valor");
diff --git a/codbex-payments/gen/codbex-payments/dao/PaymentAdjustment/PaymentAdjustmentRepository.ts b/codbex-payments/gen/codbex-payments/dao/PaymentAdjustment/PaymentAdjustmentRepository.ts
index 3fb9866..cf4047b 100644
--- a/codbex-payments/gen/codbex-payments/dao/PaymentAdjustment/PaymentAdjustmentRepository.ts
+++ b/codbex-payments/gen/codbex-payments/dao/PaymentAdjustment/PaymentAdjustmentRepository.ts
@@ -103,7 +103,7 @@ export interface PaymentAdjustmentEntityOptions {
},
$select?: (keyof PaymentAdjustmentEntity)[],
$sort?: string | (keyof PaymentAdjustmentEntity)[],
- $order?: 'asc' | 'desc',
+ $order?: 'ASC' | 'DESC',
$offset?: number,
$limit?: number,
}
@@ -176,10 +176,10 @@ export class PaymentAdjustmentRepository {
private readonly dao;
constructor(dataSource = "DefaultDB") {
- this.dao = daoApi.create(PaymentAdjustmentRepository.DEFINITION, null, dataSource);
+ this.dao = daoApi.create(PaymentAdjustmentRepository.DEFINITION, undefined, dataSource);
}
- public findAll(options?: PaymentAdjustmentEntityOptions): PaymentAdjustmentEntity[] {
+ public findAll(options: PaymentAdjustmentEntityOptions = {}): PaymentAdjustmentEntity[] {
return this.dao.list(options).map((e: PaymentAdjustmentEntity) => {
EntityUtils.setDate(e, "Date");
EntityUtils.setDate(e, "Valor");
diff --git a/codbex-payments/gen/codbex-payments/dao/PaymentRecord/PaymentRecordRepository.ts b/codbex-payments/gen/codbex-payments/dao/PaymentRecord/PaymentRecordRepository.ts
index e6023c9..61a725a 100644
--- a/codbex-payments/gen/codbex-payments/dao/PaymentRecord/PaymentRecordRepository.ts
+++ b/codbex-payments/gen/codbex-payments/dao/PaymentRecord/PaymentRecordRepository.ts
@@ -184,7 +184,7 @@ export interface PaymentRecordEntityOptions {
},
$select?: (keyof PaymentRecordEntity)[],
$sort?: string | (keyof PaymentRecordEntity)[],
- $order?: 'asc' | 'desc',
+ $order?: 'ASC' | 'DESC',
$offset?: number,
$limit?: number,
}
@@ -305,19 +305,14 @@ export class PaymentRecordRepository {
private readonly dao;
constructor(dataSource = "DefaultDB") {
- this.dao = daoApi.create(PaymentRecordRepository.DEFINITION, null, dataSource);
+ this.dao = daoApi.create(PaymentRecordRepository.DEFINITION, undefined, dataSource);
}
- public findAll(options?: PaymentRecordEntityOptions): PaymentRecordEntity[] {
- // @ts-ignore
- if (options.$sort === undefined) {
- // @ts-ignore
- options.$sort = "";
+ public findAll(options: PaymentRecordEntityOptions = {}): PaymentRecordEntity[] {
+ if (options.$sort === undefined && options.$order === undefined) {
+ options.$sort = "Date";
+ options.$order = "DESC";
}
- // @ts-ignore
- options.$sort += "Date,";
- // @ts-ignore
- options.$order = "DESC";
return this.dao.list(options).map((e: PaymentRecordEntity) => {
EntityUtils.setDate(e, "Date");
EntityUtils.setDate(e, "Valor");
diff --git a/codbex-payments/gen/codbex-payments/dao/Settings/PaymentRecordDirectionRepository.ts b/codbex-payments/gen/codbex-payments/dao/Settings/PaymentRecordDirectionRepository.ts
index f0f041b..32b0681 100644
--- a/codbex-payments/gen/codbex-payments/dao/Settings/PaymentRecordDirectionRepository.ts
+++ b/codbex-payments/gen/codbex-payments/dao/Settings/PaymentRecordDirectionRepository.ts
@@ -49,7 +49,7 @@ export interface PaymentRecordDirectionEntityOptions {
},
$select?: (keyof PaymentRecordDirectionEntity)[],
$sort?: string | (keyof PaymentRecordDirectionEntity)[],
- $order?: 'asc' | 'desc',
+ $order?: 'ASC' | 'DESC',
$offset?: number,
$limit?: number,
}
@@ -92,10 +92,10 @@ export class PaymentRecordDirectionRepository {
private readonly dao;
constructor(dataSource = "DefaultDB") {
- this.dao = daoApi.create(PaymentRecordDirectionRepository.DEFINITION, null, dataSource);
+ this.dao = daoApi.create(PaymentRecordDirectionRepository.DEFINITION, undefined, dataSource);
}
- public findAll(options?: PaymentRecordDirectionEntityOptions): PaymentRecordDirectionEntity[] {
+ public findAll(options: PaymentRecordDirectionEntityOptions = {}): PaymentRecordDirectionEntity[] {
return this.dao.list(options);
}
diff --git a/codbex-payments/gen/codbex-payments/dao/Settings/PaymentStatusRepository.ts b/codbex-payments/gen/codbex-payments/dao/Settings/PaymentStatusRepository.ts
index 0c5edba..391d3b1 100644
--- a/codbex-payments/gen/codbex-payments/dao/Settings/PaymentStatusRepository.ts
+++ b/codbex-payments/gen/codbex-payments/dao/Settings/PaymentStatusRepository.ts
@@ -49,7 +49,7 @@ export interface PaymentStatusEntityOptions {
},
$select?: (keyof PaymentStatusEntity)[],
$sort?: string | (keyof PaymentStatusEntity)[],
- $order?: 'asc' | 'desc',
+ $order?: 'ASC' | 'DESC',
$offset?: number,
$limit?: number,
}
@@ -92,10 +92,10 @@ export class PaymentStatusRepository {
private readonly dao;
constructor(dataSource = "DefaultDB") {
- this.dao = daoApi.create(PaymentStatusRepository.DEFINITION, null, dataSource);
+ this.dao = daoApi.create(PaymentStatusRepository.DEFINITION, undefined, dataSource);
}
- public findAll(options?: PaymentStatusEntityOptions): PaymentStatusEntity[] {
+ public findAll(options: PaymentStatusEntityOptions = {}): PaymentStatusEntity[] {
return this.dao.list(options);
}
diff --git a/codbex-payments/gen/codbex-payments/dao/Settings/PaymentTypeRepository.ts b/codbex-payments/gen/codbex-payments/dao/Settings/PaymentTypeRepository.ts
index 090bf5e..e45eb64 100644
--- a/codbex-payments/gen/codbex-payments/dao/Settings/PaymentTypeRepository.ts
+++ b/codbex-payments/gen/codbex-payments/dao/Settings/PaymentTypeRepository.ts
@@ -49,7 +49,7 @@ export interface PaymentTypeEntityOptions {
},
$select?: (keyof PaymentTypeEntity)[],
$sort?: string | (keyof PaymentTypeEntity)[],
- $order?: 'asc' | 'desc',
+ $order?: 'ASC' | 'DESC',
$offset?: number,
$limit?: number,
}
@@ -92,10 +92,10 @@ export class PaymentTypeRepository {
private readonly dao;
constructor(dataSource = "DefaultDB") {
- this.dao = daoApi.create(PaymentTypeRepository.DEFINITION, null, dataSource);
+ this.dao = daoApi.create(PaymentTypeRepository.DEFINITION, undefined, dataSource);
}
- public findAll(options?: PaymentTypeEntityOptions): PaymentTypeEntity[] {
+ public findAll(options: PaymentTypeEntityOptions = {}): PaymentTypeEntity[] {
return this.dao.list(options);
}
diff --git a/codbex-payments/gen/codbex-payments/dao/SupplierPayment/SupplierPaymentRepository.ts b/codbex-payments/gen/codbex-payments/dao/SupplierPayment/SupplierPaymentRepository.ts
index b7a4619..3428a81 100644
--- a/codbex-payments/gen/codbex-payments/dao/SupplierPayment/SupplierPaymentRepository.ts
+++ b/codbex-payments/gen/codbex-payments/dao/SupplierPayment/SupplierPaymentRepository.ts
@@ -167,7 +167,7 @@ export interface SupplierPaymentEntityOptions {
},
$select?: (keyof SupplierPaymentEntity)[],
$sort?: string | (keyof SupplierPaymentEntity)[],
- $order?: 'asc' | 'desc',
+ $order?: 'ASC' | 'DESC',
$offset?: number,
$limit?: number,
}
@@ -281,19 +281,14 @@ export class SupplierPaymentRepository {
private readonly dao;
constructor(dataSource = "DefaultDB") {
- this.dao = daoApi.create(SupplierPaymentRepository.DEFINITION, null, dataSource);
+ this.dao = daoApi.create(SupplierPaymentRepository.DEFINITION, undefined, dataSource);
}
- public findAll(options?: SupplierPaymentEntityOptions): SupplierPaymentEntity[] {
- // @ts-ignore
- if (options.$sort === undefined) {
- // @ts-ignore
- options.$sort = "";
+ public findAll(options: SupplierPaymentEntityOptions = {}): SupplierPaymentEntity[] {
+ if (options.$sort === undefined && options.$order === undefined) {
+ options.$sort = "Date";
+ options.$order = "DESC";
}
- // @ts-ignore
- options.$sort += "Date,";
- // @ts-ignore
- options.$order = "DESC";
return this.dao.list(options).map((e: SupplierPaymentEntity) => {
EntityUtils.setDate(e, "Date");
EntityUtils.setDate(e, "Valor");
diff --git a/codbex-payments/gen/codbex-payments/dao/Suppliers/SupplierRepository.ts b/codbex-payments/gen/codbex-payments/dao/Suppliers/SupplierRepository.ts
index 7564d80..ee51353 100644
--- a/codbex-payments/gen/codbex-payments/dao/Suppliers/SupplierRepository.ts
+++ b/codbex-payments/gen/codbex-payments/dao/Suppliers/SupplierRepository.ts
@@ -130,7 +130,7 @@ export interface SupplierEntityOptions {
},
$select?: (keyof SupplierEntity)[],
$sort?: string | (keyof SupplierEntity)[],
- $order?: 'asc' | 'desc',
+ $order?: 'ASC' | 'DESC',
$offset?: number,
$limit?: number,
}
@@ -218,10 +218,10 @@ export class SupplierRepository {
private readonly dao;
constructor(dataSource = "DefaultDB") {
- this.dao = daoApi.create(SupplierRepository.DEFINITION, null, dataSource);
+ this.dao = daoApi.create(SupplierRepository.DEFINITION, undefined, dataSource);
}
- public findAll(options?: SupplierEntityOptions): SupplierEntity[] {
+ public findAll(options: SupplierEntityOptions = {}): SupplierEntity[] {
return this.dao.list(options);
}
diff --git a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/controller.js b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/controller.js
index a5cc54f..67120e7 100644
--- a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/controller.js
+++ b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/controller.js
@@ -52,7 +52,7 @@ angular.module('page', ['blimpKit', 'platformView', 'EntityService'])
refreshData();
$scope.loadPage($scope.dataPage, $scope.filter);
}});
- Dialogs.addMessageListener({ topic: 'codbex-payments.CustomerPayment.CustomerPayment.entitySearch', handler: () => {
+ Dialogs.addMessageListener({ topic: 'codbex-payments.CustomerPayment.CustomerPayment.entitySearch', handler: (data) => {
resetPagination();
$scope.filter = data.filter;
$scope.filterEntity = data.entity;
diff --git a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/perspective.extension b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/perspective.extension
index 89d1787..2519c45 100644
--- a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/perspective.extension
+++ b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/perspective.extension
@@ -1,5 +1,6 @@
{
"module": "codbex-payments/gen/codbex-payments/ui/CustomerPayment/perspective.js",
"extensionPoint": "application-perspectives",
- "description": "codbex-payments - Perspective - CustomerPayment"
+ "description": "codbex-payments - Perspective - CustomerPayment",
+ "role": "codbex-payments.CustomerPayment.CustomerPaymentReadOnly,codbex-payments.CustomerPayment.CustomerPaymentFullAccess"
}
\ No newline at end of file
diff --git a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/controller.js b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/controller.js
index dc7588c..2ceaeac 100644
--- a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/controller.js
+++ b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/controller.js
@@ -52,7 +52,7 @@ angular.module('page', ['blimpKit', 'platformView', 'EntityService'])
refreshData();
$scope.loadPage($scope.dataPage, $scope.filter);
}});
- Dialogs.addMessageListener({ topic: 'codbex-payments.EmployeePayment.EmployeePayment.entitySearch', handler: () => {
+ Dialogs.addMessageListener({ topic: 'codbex-payments.EmployeePayment.EmployeePayment.entitySearch', handler: (data) => {
resetPagination();
$scope.filter = data.filter;
$scope.filterEntity = data.entity;
diff --git a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/perspective.extension b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/perspective.extension
index 592bc8d..848f44d 100644
--- a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/perspective.extension
+++ b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/perspective.extension
@@ -1,5 +1,6 @@
{
"module": "codbex-payments/gen/codbex-payments/ui/EmployeePayment/perspective.js",
"extensionPoint": "application-perspectives",
- "description": "codbex-payments - Perspective - EmployeePayment"
+ "description": "codbex-payments - Perspective - EmployeePayment",
+ "role": "codbex-payments.EmployeePayment.EmployeePaymentReadOnly,codbex-payments.EmployeePayment.EmployeePaymentFullAccess"
}
\ No newline at end of file
diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/controller.js b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/controller.js
index 222c2ee..827bc50 100644
--- a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/controller.js
+++ b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/controller.js
@@ -52,7 +52,7 @@ angular.module('page', ['blimpKit', 'platformView', 'EntityService'])
refreshData();
$scope.loadPage($scope.dataPage, $scope.filter);
}});
- Dialogs.addMessageListener({ topic: 'codbex-payments.PaymentAdjustment.PaymentAdjustment.entitySearch', handler: () => {
+ Dialogs.addMessageListener({ topic: 'codbex-payments.PaymentAdjustment.PaymentAdjustment.entitySearch', handler: (data) => {
resetPagination();
$scope.filter = data.filter;
$scope.filterEntity = data.entity;
diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/perspective.extension b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/perspective.extension
index 296ec0d..807e626 100644
--- a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/perspective.extension
+++ b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/perspective.extension
@@ -1,5 +1,6 @@
{
"module": "codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/perspective.js",
"extensionPoint": "application-perspectives",
- "description": "codbex-payments - Perspective - PaymentAdjustment"
+ "description": "codbex-payments - Perspective - PaymentAdjustment",
+ "role": "codbex-payments.PaymentAdjustment.PaymentAdjustmentReadOnly,codbex-payments.PaymentAdjustment.PaymentAdjustmentFullAccess"
}
\ No newline at end of file
diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/controller.js b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/controller.js
index 3ed72ae..7a2ff85 100644
--- a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/controller.js
+++ b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/controller.js
@@ -52,7 +52,7 @@ angular.module('page', ['blimpKit', 'platformView', 'EntityService'])
refreshData();
$scope.loadPage($scope.dataPage, $scope.filter);
}});
- Dialogs.addMessageListener({ topic: 'codbex-payments.PaymentRecord.PaymentRecord.entitySearch', handler: () => {
+ Dialogs.addMessageListener({ topic: 'codbex-payments.PaymentRecord.PaymentRecord.entitySearch', handler: (data) => {
resetPagination();
$scope.filter = data.filter;
$scope.filterEntity = data.entity;
diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/perspective.extension b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/perspective.extension
index c072dff..0e4a65b 100644
--- a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/perspective.extension
+++ b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/perspective.extension
@@ -1,5 +1,6 @@
{
"module": "codbex-payments/gen/codbex-payments/ui/PaymentRecord/perspective.js",
"extensionPoint": "application-perspectives",
- "description": "codbex-payments - Perspective - PaymentRecord"
+ "description": "codbex-payments - Perspective - PaymentRecord",
+ "role": "codbex-payments.PaymentRecord.PaymentRecordReadOnly,codbex-payments.PaymentRecord.PaymentRecordFullAccess"
}
\ No newline at end of file
diff --git a/codbex-payments/gen/codbex-payments/ui/Settings/PaymentRecordDirection/controller.js b/codbex-payments/gen/codbex-payments/ui/Settings/PaymentRecordDirection/controller.js
index d4a555c..f3665ac 100644
--- a/codbex-payments/gen/codbex-payments/ui/Settings/PaymentRecordDirection/controller.js
+++ b/codbex-payments/gen/codbex-payments/ui/Settings/PaymentRecordDirection/controller.js
@@ -114,9 +114,9 @@ angular.module('page', ['blimpKit', 'platformView', 'EntityService'])
});
};
- $scope.openFilter = (entity) => {
+ $scope.openFilter = () => {
Dialogs.showWindow({
- id: 'PaymentRecordDirection-details',
+ id: 'PaymentRecordDirection-filter',
params: {
entity: $scope.filterEntity,
},
diff --git a/codbex-payments/gen/codbex-payments/ui/Settings/PaymentStatus/controller.js b/codbex-payments/gen/codbex-payments/ui/Settings/PaymentStatus/controller.js
index 4468806..8bfa076 100644
--- a/codbex-payments/gen/codbex-payments/ui/Settings/PaymentStatus/controller.js
+++ b/codbex-payments/gen/codbex-payments/ui/Settings/PaymentStatus/controller.js
@@ -114,9 +114,9 @@ angular.module('page', ['blimpKit', 'platformView', 'EntityService'])
});
};
- $scope.openFilter = (entity) => {
+ $scope.openFilter = () => {
Dialogs.showWindow({
- id: 'PaymentStatus-details',
+ id: 'PaymentStatus-filter',
params: {
entity: $scope.filterEntity,
},
diff --git a/codbex-payments/gen/codbex-payments/ui/Settings/PaymentType/controller.js b/codbex-payments/gen/codbex-payments/ui/Settings/PaymentType/controller.js
index cc065c4..9ffe08a 100644
--- a/codbex-payments/gen/codbex-payments/ui/Settings/PaymentType/controller.js
+++ b/codbex-payments/gen/codbex-payments/ui/Settings/PaymentType/controller.js
@@ -114,9 +114,9 @@ angular.module('page', ['blimpKit', 'platformView', 'EntityService'])
});
};
- $scope.openFilter = (entity) => {
+ $scope.openFilter = () => {
Dialogs.showWindow({
- id: 'PaymentType-details',
+ id: 'PaymentType-filter',
params: {
entity: $scope.filterEntity,
},
diff --git a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/controller.js b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/controller.js
index 23bc433..b3ee791 100644
--- a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/controller.js
+++ b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/controller.js
@@ -52,7 +52,7 @@ angular.module('page', ['blimpKit', 'platformView', 'EntityService'])
refreshData();
$scope.loadPage($scope.dataPage, $scope.filter);
}});
- Dialogs.addMessageListener({ topic: 'codbex-payments.SupplierPayment.SupplierPayment.entitySearch', handler: () => {
+ Dialogs.addMessageListener({ topic: 'codbex-payments.SupplierPayment.SupplierPayment.entitySearch', handler: (data) => {
resetPagination();
$scope.filter = data.filter;
$scope.filterEntity = data.entity;
diff --git a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/perspective.extension b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/perspective.extension
index 84354fc..c7d8443 100644
--- a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/perspective.extension
+++ b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/perspective.extension
@@ -1,5 +1,6 @@
{
"module": "codbex-payments/gen/codbex-payments/ui/SupplierPayment/perspective.js",
"extensionPoint": "application-perspectives",
- "description": "codbex-payments - Perspective - SupplierPayment"
+ "description": "codbex-payments - Perspective - SupplierPayment",
+ "role": "codbex-payments.SupplierPayment.SupplierPaymentReadOnly,codbex-payments.SupplierPayment.SupplierPaymentFullAccess"
}
\ No newline at end of file
diff --git a/codbex-payments/package.json b/codbex-payments/package.json
index 58f1f02..641e9c0 100644
--- a/codbex-payments/package.json
+++ b/codbex-payments/package.json
@@ -12,8 +12,8 @@
"build": "tsc"
},
"dependencies": {
- "@codbex/codbex-partners": "0.5.0",
- "@codbex/codbex-employees": "0.5.0",
- "@codbex/codbex-currencies": "0.4.0"
+ "@codbex/codbex-partners": "0.6.0",
+ "@codbex/codbex-employees": "0.6.0",
+ "@codbex/codbex-currencies": "0.6.0"
}
}