@colijnit/transaction 258.1.31 → 258.1.32
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 +14 -7
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/core/base/components/characteristic-answer/characteristic-answer.component.js +2 -1
- package/esm2015/lib/component/core/relation/customer-groups.component.js +4 -1
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-relation.component.js +6 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +4 -3
- package/esm2015/lib/component/transaction-send-documents/transaction-send-documents.component.js +2 -2
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +14 -6
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/package.json +1 -1
|
@@ -294,8 +294,8 @@ class Version {
|
|
|
294
294
|
constructor() {
|
|
295
295
|
this.name = "@colijnit/transaction";
|
|
296
296
|
this.description = "Colijn IT transaction package";
|
|
297
|
-
this.symVer = "258.1.
|
|
298
|
-
this.publishDate = "12/06/2025,
|
|
297
|
+
this.symVer = "258.1.32";
|
|
298
|
+
this.publishDate = "12/06/2025, 17:40:01";
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
|
|
@@ -998,6 +998,7 @@ CharacteristicAnswerComponent.decorators = [
|
|
|
998
998
|
<co-input-text
|
|
999
999
|
*ngIf="!choices || choices.length === 0"
|
|
1000
1000
|
[(model)]="value"
|
|
1001
|
+
[initFocus]="true"
|
|
1001
1002
|
(keydown)="onKeyDown($event)">
|
|
1002
1003
|
</co-input-text>
|
|
1003
1004
|
</co-dialog>
|
|
@@ -15762,6 +15763,9 @@ class CustomerGroupsComponent {
|
|
|
15762
15763
|
return __awaiter(this, void 0, void 0, function* () {
|
|
15763
15764
|
this._connector.getCustomerGroups().then((groups) => {
|
|
15764
15765
|
this.customerGroups = groups;
|
|
15766
|
+
if (this.model) {
|
|
15767
|
+
this._setSelectedCustomerGroup();
|
|
15768
|
+
}
|
|
15765
15769
|
if (!this._model && this.defaultValue !== null) {
|
|
15766
15770
|
this.handleCustomerGroupChange(this.customerGroups.find(c => c.groepsnummer === this.defaultValue.toString()));
|
|
15767
15771
|
}
|
|
@@ -20186,11 +20190,12 @@ class TransactionQuickAccessOrderConfirmationComponent extends TransactionHeader
|
|
|
20186
20190
|
this.purchaseOrderConfirmation.lines = this.transactionLines
|
|
20187
20191
|
.filter((line) => line.selected)
|
|
20188
20192
|
.map((line) => {
|
|
20193
|
+
const calculatedConfirmedPrice = line.netLineTotal / line.amount;
|
|
20189
20194
|
const details = new PurchaseOrderConfirmationLineDetails();
|
|
20190
20195
|
details.lineNumber = line.lineNr;
|
|
20191
|
-
details.amountConfirmed = +line.quantityPurchaseToConfirm;
|
|
20196
|
+
details.amountConfirmed = line.quantityPurchaseToConfirm ? +line.quantityPurchaseToConfirm : line.amount;
|
|
20192
20197
|
details.confirmedDate = line.purchasePortalLine.deliveryDateConfirmed ? new Date(line.purchasePortalLine.deliveryDateConfirmed) : this.purchaseOrderConfirmation.confirmationDate;
|
|
20193
|
-
details.confirmedPrice = +line.purchasePortalLine.confirmedPrice;
|
|
20198
|
+
details.confirmedPrice = typeof line.purchasePortalLine.confirmedPrice === 'number' ? +line.purchasePortalLine.confirmedPrice : calculatedConfirmedPrice;
|
|
20194
20199
|
details.articleNoSupplier = line.purchasePortalLine.articleNoSupplier;
|
|
20195
20200
|
return details;
|
|
20196
20201
|
});
|
|
@@ -20795,7 +20800,7 @@ TransactionSendDocumentsComponent.decorators = [
|
|
|
20795
20800
|
<div class="dialog-container">
|
|
20796
20801
|
<div class="historic-report-line" *ngFor="let report of historicReports" (click)="handleShowHistoricDocumentLines(report)">
|
|
20797
20802
|
<co-icon [iconData]="iconCacheService.getIcon(getSendMethodIcon(report))"></co-icon>
|
|
20798
|
-
<span [textContent]="report.reportId + ' ' + (report.reportCreationDate | date)"></span>
|
|
20803
|
+
<span [textContent]="report.reportId + ' ' + (report.reportCreationDate | date:'dd MMM yyyy HH:mm')"></span>
|
|
20799
20804
|
<div *ngIf="layoutCode === layoutCodes.Invoice" class="invoice-number">
|
|
20800
20805
|
<span [textContent]="'INVOICE_NUMBER' | localize"></span>
|
|
20801
20806
|
<span [textContent]="': ' + report.reportTransNr"></span>
|
|
@@ -52395,8 +52400,11 @@ class TransactionHeaderPopupRelationComponent extends TransactionHeaderPopupBase
|
|
|
52395
52400
|
}
|
|
52396
52401
|
handleChangeCustomGroup(group) {
|
|
52397
52402
|
this.customerGroup = group;
|
|
52398
|
-
if (this.relationKind === RelationKind.Customer) {
|
|
52403
|
+
if (this.relationKind === RelationKind.Customer && this.relation instanceof CustomerFullObject) {
|
|
52399
52404
|
this.relation.customerGroup = this.customerGroup;
|
|
52405
|
+
if (this.transactionHeaderService.clonedRelation instanceof CustomerFullObject) {
|
|
52406
|
+
this.transactionHeaderService.clonedRelation.customerGroup = this.customerGroup;
|
|
52407
|
+
}
|
|
52400
52408
|
}
|
|
52401
52409
|
}
|
|
52402
52410
|
showCustomerDetails() {
|