@colijnit/transaction 258.1.64 → 258.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/colijnit-transaction.umd.js +15 -11
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.js +2 -2
- package/esm2015/lib/service/transaction.service.js +6 -3
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +8 -5
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/package.json +2 -2
|
@@ -3,8 +3,8 @@ export class Version {
|
|
|
3
3
|
constructor() {
|
|
4
4
|
this.name = "@colijnit/transaction";
|
|
5
5
|
this.description = "Colijn IT transaction package";
|
|
6
|
-
this.symVer = "258.1.
|
|
7
|
-
this.publishDate = "
|
|
6
|
+
this.symVer = "258.1.65";
|
|
7
|
+
this.publishDate = "11/09/2025, 18:09:07";
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tdmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvdHJhbnNhY3Rpb24tdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx1REFBdUQ7QUFDdkQsTUFBTSxPQUFPLE9BQU87SUFBcEI7UUFDUyxTQUFJLEdBQUcsdUJBQXVCLENBQUM7UUFDL0IsZ0JBQVcsR0FBRywrQkFBK0IsQ0FBQztRQUM5QyxXQUFNLEdBQUcsVUFBVSxDQUFDO1FBQ3BCLGdCQUFXLEdBQUcsc0JBQXNCLENBQUM7SUFDOUMsQ0FBQztDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiLy8gdGhpcyBmaWxlIGlzIGR5bmFtaWNhbGx5IGNyZWF0ZWQsIGRvIG5vdCBjaGFuZ2UgdGhpc1xuZXhwb3J0IGNsYXNzIFZlcnNpb24ge1xuICBwdWJsaWMgbmFtZSA9IFwiQGNvbGlqbml0L3RyYW5zYWN0aW9uXCI7XG4gIHB1YmxpYyBkZXNjcmlwdGlvbiA9IFwiQ29saWpuIElUIHRyYW5zYWN0aW9uIHBhY2thZ2VcIjtcbiAgcHVibGljIHN5bVZlciA9IFwiMjU4LjEuNjVcIjtcbiAgcHVibGljIHB1Ymxpc2hEYXRlID0gXCIxMS8wOS8yMDI1LCAxODowOTowN1wiO1xufSJdfQ==
|
|
@@ -295,8 +295,8 @@ class Version {
|
|
|
295
295
|
constructor() {
|
|
296
296
|
this.name = "@colijnit/transaction";
|
|
297
297
|
this.description = "Colijn IT transaction package";
|
|
298
|
-
this.symVer = "258.1.
|
|
299
|
-
this.publishDate = "
|
|
298
|
+
this.symVer = "258.1.65";
|
|
299
|
+
this.publishDate = "11/09/2025, 18:09:07";
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
|
|
@@ -12067,12 +12067,15 @@ class TransactionService extends PendingReasonService {
|
|
|
12067
12067
|
const shouldDelete = response.button === AppPopupButtonType.Yes;
|
|
12068
12068
|
if (shouldDelete) {
|
|
12069
12069
|
const response = yield this.connector.deleteTransactionByUuId(this.currentTransaction.transactionInfo.uuid);
|
|
12070
|
-
let success =
|
|
12070
|
+
let success = true;
|
|
12071
|
+
if (!response.isSuccess) {
|
|
12072
|
+
success = yield this.handleHeaderOperationStatuses(response, false);
|
|
12073
|
+
}
|
|
12071
12074
|
if (success) {
|
|
12072
12075
|
success = yield this.commit();
|
|
12073
12076
|
if (success) {
|
|
12077
|
+
this.resetCurrentTransaction();
|
|
12074
12078
|
this.transactionEventService.transactionDeleted.next();
|
|
12075
|
-
this.currentTransaction = undefined;
|
|
12076
12079
|
}
|
|
12077
12080
|
}
|
|
12078
12081
|
}
|
|
@@ -31141,7 +31144,7 @@ class TransactionLineWarehouseButtonComponent extends TransactionLineBaseCompone
|
|
|
31141
31144
|
this.transactionService.getWarehouses().then((warehouses) => {
|
|
31142
31145
|
const warehouse = warehouses.find(w => w.warehouseNo === this.transactionLine.warehouseNumber);
|
|
31143
31146
|
this.transactionLine.warehouseDescription = warehouse ? warehouse.description : "";
|
|
31144
|
-
if (warehouse && warehouse.useWMSForIncomingGoods && this.transactionService.internalParameterPakBinnen) {
|
|
31147
|
+
if (warehouse && warehouse.useWMSForIncomingGoods && this.transactionService.internalParameterPakBinnen && this.transactionLine.isStockArticle) {
|
|
31145
31148
|
this.transactionLine.preReceive = true;
|
|
31146
31149
|
}
|
|
31147
31150
|
this.detectChanges();
|