@colijnit/transaction 257.1.14 → 257.1.15
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 +31 -36
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line-base.component.js +5 -10
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.js +2 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.js +3 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.js +2 -2
- package/esm2015/lib/service/transaction-base.service.js +1 -1
- package/esm2015/lib/service/transaction-connector.service.js +2 -5
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +11 -18
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/style/_layout.scss +1 -0
- package/lib/component/transaction-header/transaction-header-popup/style/_layout.scss +5 -0
- package/package.json +1 -1
|
@@ -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 = "257.1.
|
|
7
|
-
this.publishDate = "
|
|
6
|
+
this.symVer = "257.1.15";
|
|
7
|
+
this.publishDate = "17-2-2025 17:47:50";
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tdmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvdHJhbnNhY3Rpb24tdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx1REFBdUQ7QUFDdkQsTUFBTSxPQUFPLE9BQU87SUFBcEI7UUFDUyxTQUFJLEdBQUcsdUJBQXVCLENBQUM7UUFDL0IsZ0JBQVcsR0FBRywrQkFBK0IsQ0FBQztRQUM5QyxXQUFNLEdBQUcsVUFBVSxDQUFDO1FBQ3BCLGdCQUFXLEdBQUcsb0JBQW9CLENBQUM7SUFDNUMsQ0FBQztDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiLy8gdGhpcyBmaWxlIGlzIGR5bmFtaWNhbGx5IGNyZWF0ZWQsIGRvIG5vdCBjaGFuZ2UgdGhpc1xuZXhwb3J0IGNsYXNzIFZlcnNpb24ge1xuICBwdWJsaWMgbmFtZSA9IFwiQGNvbGlqbml0L3RyYW5zYWN0aW9uXCI7XG4gIHB1YmxpYyBkZXNjcmlwdGlvbiA9IFwiQ29saWpuIElUIHRyYW5zYWN0aW9uIHBhY2thZ2VcIjtcbiAgcHVibGljIHN5bVZlciA9IFwiMjU3LjEuMTVcIjtcbiAgcHVibGljIHB1Ymxpc2hEYXRlID0gXCIxNy0yLTIwMjUgMTc6NDc6NTBcIjtcbn0iXX0=
|
|
@@ -283,8 +283,8 @@ class Version {
|
|
|
283
283
|
constructor() {
|
|
284
284
|
this.name = "@colijnit/transaction";
|
|
285
285
|
this.description = "Colijn IT transaction package";
|
|
286
|
-
this.symVer = "257.1.
|
|
287
|
-
this.publishDate = "
|
|
286
|
+
this.symVer = "257.1.15";
|
|
287
|
+
this.publishDate = "17-2-2025 17:47:50";
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
|
|
@@ -8068,9 +8068,7 @@ class TransactionConnectorService {
|
|
|
8068
8068
|
}
|
|
8069
8069
|
getTransactionInfo(transId, lineNr) {
|
|
8070
8070
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8071
|
-
return this.
|
|
8072
|
-
return this._adapterService.functionCall(this._adapterService.getTransactionInfo, [transId, lineNr]);
|
|
8073
|
-
}).getValue([transId, lineNr]);
|
|
8071
|
+
return this._adapterService.functionCall(this._adapterService.getTransactionInfo, [transId, lineNr]);
|
|
8074
8072
|
});
|
|
8075
8073
|
}
|
|
8076
8074
|
getRefTransactions(transId) {
|
|
@@ -18976,8 +18974,8 @@ class TransactionQuickAccessSendMethodBaseComponent extends TransactionHeaderBas
|
|
|
18976
18974
|
this.showLoader = false;
|
|
18977
18975
|
break;
|
|
18978
18976
|
}
|
|
18979
|
-
this.detectChanges();
|
|
18980
18977
|
this.getHistoricDocuments();
|
|
18978
|
+
this.detectChanges();
|
|
18981
18979
|
}
|
|
18982
18980
|
});
|
|
18983
18981
|
}
|
|
@@ -19416,7 +19414,7 @@ class TransactionQuickAccessOverviewComponent extends TransactionQuickAccessSend
|
|
|
19416
19414
|
}
|
|
19417
19415
|
else {
|
|
19418
19416
|
const pdfOrderConfirmationRequest = Object.assign(new PdfOrderConfirmationRequest(), request);
|
|
19419
|
-
this.transactionService.pdfOrderConfirmation(pdfOrderConfirmationRequest).then((result) => {
|
|
19417
|
+
yield this.transactionService.pdfOrderConfirmation(pdfOrderConfirmationRequest).then((result) => {
|
|
19420
19418
|
if (result instanceof CoDocument) {
|
|
19421
19419
|
this.signatureDocumentId = result.documentId;
|
|
19422
19420
|
}
|
|
@@ -19436,7 +19434,7 @@ class TransactionQuickAccessOverviewComponent extends TransactionQuickAccessSend
|
|
|
19436
19434
|
}
|
|
19437
19435
|
else {
|
|
19438
19436
|
const printOrderConfirmationRequest = Object.assign(new PrintOrderConfirmationRequest(), request);
|
|
19439
|
-
this.transactionService.printOrderConfirmation(printOrderConfirmationRequest).then((result) => {
|
|
19437
|
+
yield this.transactionService.printOrderConfirmation(printOrderConfirmationRequest).then((result) => {
|
|
19440
19438
|
if (result instanceof CoDocument) {
|
|
19441
19439
|
this.signatureDocumentId = result.documentId;
|
|
19442
19440
|
}
|
|
@@ -20858,22 +20856,17 @@ class TransactionPurchaseLineBaseComponent extends TransactionLineBaseComponent
|
|
|
20858
20856
|
this.transactionLine.isArticle &&
|
|
20859
20857
|
this.transactionLine.commissionCode === '0' &&
|
|
20860
20858
|
!this.transactionLine.purchaseOrderId &&
|
|
20861
|
-
(!this.transactionLine.
|
|
20859
|
+
(!this.transactionLine.refTransactionsPurchase || this.transactionLine.refTransactionsPurchase.length === 0) &&
|
|
20862
20860
|
this.visible) {
|
|
20863
20861
|
this.transactionService.getPurchaseOrderForTransactionLine(this.transactionInfo.id, this.transactionLine.lineNr).then((history) => {
|
|
20864
|
-
this.transactionLine.
|
|
20862
|
+
this.transactionLine.refTransactionsPurchase.length = 0;
|
|
20865
20863
|
if (history && history.length > 0) {
|
|
20866
20864
|
history.forEach(h => {
|
|
20867
|
-
this.transactionLine.
|
|
20865
|
+
this.transactionLine.refTransactionsPurchase.push(new TransactionRefTransaction(h.transId, h.transactionNo.toString(), h.transType, undefined, ''));
|
|
20868
20866
|
});
|
|
20869
20867
|
}
|
|
20870
|
-
this.hasPurchaseOrder = this.transactionLine.
|
|
20871
|
-
this.transactionEventService.transactionLineChanged.next(this.transactionLine);
|
|
20872
|
-
this.transactionEventService.transactionLineRefTransactionsChanged.next(this.transactionLine);
|
|
20868
|
+
this.hasPurchaseOrder = this.transactionLine.refTransactionsPurchase.filter(r => r.refTransactionType === TransactionKind.PurchaseOrder).length > 0;
|
|
20873
20869
|
this.detectChanges();
|
|
20874
|
-
// this.transactionService.getLinePurchaseInfo(this.transactionInfo.id, this.transactionLine.lineNr).then((history: PurchaseHistory) => {
|
|
20875
|
-
// console.log('history', history);
|
|
20876
|
-
// });
|
|
20877
20870
|
});
|
|
20878
20871
|
}
|
|
20879
20872
|
}
|
|
@@ -20987,7 +20980,7 @@ TransactionPurchaseLineComponent.decorators = [
|
|
|
20987
20980
|
<div class="inside-field" *ngIf="transactionLine.commissionCode === '0'">
|
|
20988
20981
|
<co-transaction-navigation-button-list
|
|
20989
20982
|
[screenConfigurationObject]="cfgNames.LineRefTransactions"
|
|
20990
|
-
[refTransactions]="transactionLine.
|
|
20983
|
+
[refTransactions]="transactionLine.refTransactionsPurchase"
|
|
20991
20984
|
[emptyLabel]="'NO_PURCHASE_ORDER' | localize"
|
|
20992
20985
|
[insideLabel]="'PURCHASE_ORDER'"
|
|
20993
20986
|
(transactionClick)="handlePurchaseExistingOrderNavigation($event)"
|