@colijnit/transaction 262.1.16 → 262.1.17
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.
|
Binary file
|
|
@@ -225,6 +225,7 @@ import { IonePaymentStatusCode } from '@colijnit/transactionapi/build/enum/ione-
|
|
|
225
225
|
import { HttpClient } from '@angular/common/http';
|
|
226
226
|
import { CashDrawersRequest } from '@colijnit/transactionapi/build/model/cash-drawers-request';
|
|
227
227
|
import { PspType } from '@colijnit/transactionapi/build/enum/psp-type.enum';
|
|
228
|
+
import { CalculateAmountToPayRequest } from '@colijnit/transactionapi/build/model/calculate-amount-to-pay-request';
|
|
228
229
|
import { DateUtils } from '@colijnit/ioneconnector/build/utils/date-utils';
|
|
229
230
|
import { ImageUtils } from '@colijnit/ioneconnector/build/utils/image-utils';
|
|
230
231
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
@@ -274,7 +275,6 @@ import { TrueFalseDbType } from '@colijnit/mainapi/build/enum/true-false-db-type
|
|
|
274
275
|
import { OrderLineSetDTO } from '@colijnit/transactionapi/build/model/order-line-set-dto';
|
|
275
276
|
import { TransactionAddOrderLineSetTextLineRequest } from '@colijnit/transactionapi/build/model/transaction-add-order-line-set-text-line-request';
|
|
276
277
|
import { TransactionLineCopyRequest } from '@colijnit/transactionapi/build/model/transaction-line-copy-request.bo';
|
|
277
|
-
import { CalculateAmountToPayRequest } from '@colijnit/transactionapi/build/model/calculate-amount-to-pay-request';
|
|
278
278
|
import { ExternalCatalogAddArticleRequest } from '@colijnit/transactionapi/build/model/external-catalog-add-article-request';
|
|
279
279
|
import { CopyTransactionRequest } from '@colijnit/transactionapi/build/model/copy-transaction-request';
|
|
280
280
|
import { ArrayUtils } from '@colijnit/ioneconnector/build/utils/array-utils';
|
|
@@ -355,8 +355,8 @@ import { DateField } from '@colijnit/ioneconnector/build/factory/decorators/date
|
|
|
355
355
|
class Version {
|
|
356
356
|
name = "@colijnit/transaction";
|
|
357
357
|
description = "Colijn IT transaction package";
|
|
358
|
-
symVer = "262.1.
|
|
359
|
-
publishDate = "
|
|
358
|
+
symVer = "262.1.17";
|
|
359
|
+
publishDate = "11-6-2026, 18:19:48";
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
class CheckoutModuleService extends BaseModuleService {
|
|
@@ -25957,8 +25957,8 @@ class DeliveryPlanningOverviewComponent {
|
|
|
25957
25957
|
this.deliveryPlanningService.currentStartDate = newDate;
|
|
25958
25958
|
this.resetPlanningTransportEvent.emit();
|
|
25959
25959
|
}
|
|
25960
|
-
onChangeView(
|
|
25961
|
-
this.currentViewMode = view;
|
|
25960
|
+
onChangeView(event) {
|
|
25961
|
+
this.currentViewMode = event.view;
|
|
25962
25962
|
this.resetPlanningTransportEvent.emit();
|
|
25963
25963
|
}
|
|
25964
25964
|
async handleDeleteOrder(deleteResult, planningTransportWeek) {
|
|
@@ -26415,7 +26415,7 @@ class DeliveryPlanningOverviewComponent {
|
|
|
26415
26415
|
<co-date-planning [view]="currentViewMode" [selectedDate]="currentDate()"
|
|
26416
26416
|
(rangeChange)="handleDateRangeChange($event)"
|
|
26417
26417
|
(selectedDateChange)="handleDateRangeChange($event)"
|
|
26418
|
-
(viewChange)="onChangeView"></co-date-planning>
|
|
26418
|
+
(viewChange)="onChangeView($event)"></co-date-planning>
|
|
26419
26419
|
</div>
|
|
26420
26420
|
|
|
26421
26421
|
@for (transportWeekRow of planTransportWeekArr; track transportWeekRow) {
|
|
@@ -26484,7 +26484,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
26484
26484
|
<co-date-planning [view]="currentViewMode" [selectedDate]="currentDate()"
|
|
26485
26485
|
(rangeChange)="handleDateRangeChange($event)"
|
|
26486
26486
|
(selectedDateChange)="handleDateRangeChange($event)"
|
|
26487
|
-
(viewChange)="onChangeView"></co-date-planning>
|
|
26487
|
+
(viewChange)="onChangeView($event)"></co-date-planning>
|
|
26488
26488
|
</div>
|
|
26489
26489
|
|
|
26490
26490
|
@for (transportWeekRow of planTransportWeekArr; track transportWeekRow) {
|
|
@@ -34790,6 +34790,7 @@ class TransactionPaymentService {
|
|
|
34790
34790
|
}
|
|
34791
34791
|
else {
|
|
34792
34792
|
this.pspTransactionUuid = await this._paymentConnectorService.doPayment(request);
|
|
34793
|
+
await this._triggerCalculateAmountToPay();
|
|
34793
34794
|
}
|
|
34794
34795
|
if (this.pspTransactionUuid) {
|
|
34795
34796
|
this._paymentStatusPollIntervalCount = 0;
|
|
@@ -34802,6 +34803,9 @@ class TransactionPaymentService {
|
|
|
34802
34803
|
if (this.currentPaymentMethod.voucher) {
|
|
34803
34804
|
this._transactionEventService.posOrderVoucherPayment.next();
|
|
34804
34805
|
}
|
|
34806
|
+
else {
|
|
34807
|
+
await this._triggerCalculateAmountToPay();
|
|
34808
|
+
}
|
|
34805
34809
|
this._handlePayment(false);
|
|
34806
34810
|
if (this.amountToPay === 0) {
|
|
34807
34811
|
this._handlePayment();
|
|
@@ -34939,14 +34943,14 @@ class TransactionPaymentService {
|
|
|
34939
34943
|
}
|
|
34940
34944
|
});
|
|
34941
34945
|
}
|
|
34942
|
-
|
|
34943
|
-
|
|
34944
|
-
|
|
34945
|
-
|
|
34946
|
-
|
|
34947
|
-
|
|
34948
|
-
|
|
34949
|
-
|
|
34946
|
+
async _triggerCalculateAmountToPay() {
|
|
34947
|
+
const amountToPayRequest = new CalculateAmountToPayRequest();
|
|
34948
|
+
amountToPayRequest.transactionUuid = this.transactionUuid;
|
|
34949
|
+
amountToPayRequest.paymentMethodCode = this.currentPaymentMethod.code;
|
|
34950
|
+
this._paymentConnectorService.calculateAmountToPay(amountToPayRequest).then((result) => {
|
|
34951
|
+
this.amountToPay = result.amountToPay;
|
|
34952
|
+
});
|
|
34953
|
+
}
|
|
34950
34954
|
async _handleCashLimitCheck() {
|
|
34951
34955
|
let payedAmount = await this._transactionService.getCashPaymentValueByTransId(this.transId);
|
|
34952
34956
|
const limit = await this._transactionService.getCashLimitValue(InternalParam.ThresholdCashPaymentMessage);
|
|
@@ -42098,8 +42102,9 @@ class CashOnDeliveryModalComponent extends TransactionInputLineFieldBaseComponen
|
|
|
42098
42102
|
changeAmountRequest = new ChangeHeaderCashOnDeliveryAmountRequest();
|
|
42099
42103
|
icons = Icon;
|
|
42100
42104
|
cashOnDeliveryAmount = 0;
|
|
42101
|
-
ngOnInit() {
|
|
42105
|
+
async ngOnInit() {
|
|
42102
42106
|
this._getCashOnDeliveryData();
|
|
42107
|
+
await this.lockTransaction();
|
|
42103
42108
|
}
|
|
42104
42109
|
updateCashOnDeliveryAmount() {
|
|
42105
42110
|
this.cashOnDeliveryAmount = this.input.model;
|
|
@@ -42179,7 +42184,7 @@ class CashOnDeliveryModalComponent extends TransactionInputLineFieldBaseComponen
|
|
|
42179
42184
|
#input
|
|
42180
42185
|
[type]="'number'"
|
|
42181
42186
|
[placeholder]="'CASH_ON_DELIVERY_AMOUNT' | localize"
|
|
42182
|
-
[model]="cashOnDeliveryAmount"
|
|
42187
|
+
[model]="cashOnDeliveryAmount"
|
|
42183
42188
|
[formatPipe]="currencyPipe"
|
|
42184
42189
|
(keydown)="onEnterKey($event)">
|
|
42185
42190
|
</co-input-text>
|
|
@@ -42261,7 +42266,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
42261
42266
|
#input
|
|
42262
42267
|
[type]="'number'"
|
|
42263
42268
|
[placeholder]="'CASH_ON_DELIVERY_AMOUNT' | localize"
|
|
42264
|
-
[model]="cashOnDeliveryAmount"
|
|
42269
|
+
[model]="cashOnDeliveryAmount"
|
|
42265
42270
|
[formatPipe]="currencyPipe"
|
|
42266
42271
|
(keydown)="onEnterKey($event)">
|
|
42267
42272
|
</co-input-text>
|
|
@@ -42386,6 +42391,9 @@ class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseC
|
|
|
42386
42391
|
}
|
|
42387
42392
|
showCashOnDeliveryModal(value) {
|
|
42388
42393
|
this.cashOnDeliveryModalVisible = value;
|
|
42394
|
+
if (value === false) {
|
|
42395
|
+
this.transactionEventService.headerPopupSaveButtonEnableChange.next(true);
|
|
42396
|
+
}
|
|
42389
42397
|
}
|
|
42390
42398
|
getCashAmount(value) {
|
|
42391
42399
|
this.cashOnDelivery = value;
|
|
@@ -42454,6 +42462,7 @@ class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseC
|
|
|
42454
42462
|
super.transactionSet();
|
|
42455
42463
|
this._getDepositInfo();
|
|
42456
42464
|
this._getOutstandingAmounts();
|
|
42465
|
+
this._getCashOnDeliveryData();
|
|
42457
42466
|
}
|
|
42458
42467
|
_getDepositInfo() {
|
|
42459
42468
|
this._paymentConnectorService.getDepositPaymentInfo(this.transactionInfo.uuid).then((info) => {
|
|
@@ -42523,6 +42532,15 @@ class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseC
|
|
|
42523
42532
|
this.chosenAmountToPay = 0;
|
|
42524
42533
|
}
|
|
42525
42534
|
}
|
|
42535
|
+
_getCashOnDeliveryData() {
|
|
42536
|
+
this.transactionService.getCashOnDeliveryData(this.transactionInfo.uuid)
|
|
42537
|
+
.then((response) => {
|
|
42538
|
+
if (response) {
|
|
42539
|
+
this.cashOnDelivery = response.proposedCashOnDeliveryAmount;
|
|
42540
|
+
this.changeDetector.detectChanges();
|
|
42541
|
+
}
|
|
42542
|
+
});
|
|
42543
|
+
}
|
|
42526
42544
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderPopupPaymentComponent, deps: [{ token: TransactionHeaderService }, { token: TransactionEventService }, { token: TransactionService }, { token: IconCacheService }, { token: TransactionScreenConfigurationService }, { token: DictionaryService }, { token: TransactionImageService }, { token: i0.ChangeDetectorRef }, { token: TransactionDialogService }, { token: i1$1.FormMasterService }, { token: TransactionRelationService }, { token: TransactionPaymentConnectorService }], target: i0.ɵɵFactoryTarget.Component });
|
|
42527
42545
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionHeaderPopupPaymentComponent, isStandalone: false, selector: "co-transaction-header-popup-payment", host: { properties: { "class.co-transaction-header-popup-payment": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
42528
42546
|
<div class="transaction-header-popup-category-wrapper co-small-scrollbar">
|
|
@@ -42534,7 +42552,7 @@ class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseC
|
|
|
42534
42552
|
[textContent]="'TO_PAY_DOWN' | localize">
|
|
42535
42553
|
</div>
|
|
42536
42554
|
}
|
|
42537
|
-
|
|
42555
|
+
|
|
42538
42556
|
<div class="transaction-header-popup-two-column-grid">
|
|
42539
42557
|
<co-transaction-header-deposit-percentage
|
|
42540
42558
|
[screenConfigurationObject]="cfgNames.DepositPercentage"
|
|
@@ -42549,7 +42567,7 @@ class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseC
|
|
|
42549
42567
|
(depositUpdated)="showOutstandingAmounts()">
|
|
42550
42568
|
</co-transaction-header-deposit-amount>
|
|
42551
42569
|
</div>
|
|
42552
|
-
|
|
42570
|
+
|
|
42553
42571
|
<div class="transaction-header-popup-three-column-grid">
|
|
42554
42572
|
@if (transactionInfo.transactionKind !== transKind.PurchaseOrder) {
|
|
42555
42573
|
<co-transaction-header-use-deposit-rule
|
|
@@ -42576,7 +42594,7 @@ class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseC
|
|
|
42576
42594
|
</div>
|
|
42577
42595
|
}
|
|
42578
42596
|
</div>
|
|
42579
|
-
|
|
42597
|
+
|
|
42580
42598
|
<div class="transaction-header-popup-two-column-grid">
|
|
42581
42599
|
<co-transaction-header-amount-to-settle
|
|
42582
42600
|
[screenConfigurationObject]="cfgNames.AmountToSettle"
|
|
@@ -42595,7 +42613,7 @@ class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseC
|
|
|
42595
42613
|
</co-input-text>
|
|
42596
42614
|
</div>
|
|
42597
42615
|
</div>
|
|
42598
|
-
|
|
42616
|
+
|
|
42599
42617
|
@if (showCashOnDelivery) {
|
|
42600
42618
|
<div class="transaction-header-popup-two-column-grid">
|
|
42601
42619
|
<div class="cash-on-delivery-row">
|
|
@@ -42615,7 +42633,7 @@ class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseC
|
|
|
42615
42633
|
<div></div>
|
|
42616
42634
|
</div>
|
|
42617
42635
|
}
|
|
42618
|
-
|
|
42636
|
+
|
|
42619
42637
|
<div
|
|
42620
42638
|
class="transaction-header-popup-two-column-grid"
|
|
42621
42639
|
[screenConfigurationObject]="cfgNames.PaymentBtn"
|
|
@@ -42628,7 +42646,7 @@ class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseC
|
|
|
42628
42646
|
}
|
|
42629
42647
|
</div>
|
|
42630
42648
|
</div>
|
|
42631
|
-
|
|
42649
|
+
|
|
42632
42650
|
@if (paymentAnalysis) {
|
|
42633
42651
|
<div class="transaction-header-popup-section">
|
|
42634
42652
|
<div class="transaction-header-popup-section-label" [textContent]="'TO_INVOICE' | localize"></div>
|
|
@@ -42650,7 +42668,7 @@ class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseC
|
|
|
42650
42668
|
</div>
|
|
42651
42669
|
</div>
|
|
42652
42670
|
}
|
|
42653
|
-
|
|
42671
|
+
|
|
42654
42672
|
@if (orderPaymentAnalysis.length > 0) {
|
|
42655
42673
|
<div class="payment-information">
|
|
42656
42674
|
@if (showPaymentButton()) {
|
|
@@ -42781,7 +42799,7 @@ class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseC
|
|
|
42781
42799
|
</div>
|
|
42782
42800
|
}
|
|
42783
42801
|
</co-form>
|
|
42784
|
-
|
|
42802
|
+
|
|
42785
42803
|
@if (cashOnDeliveryModalVisible) {
|
|
42786
42804
|
<co-cash-on-delivery-modal
|
|
42787
42805
|
[transactionInfoUuid]="transactionInfo.uuid"
|
|
@@ -42790,7 +42808,7 @@ class TransactionHeaderPopupPaymentComponent extends TransactionHeaderPopupBaseC
|
|
|
42790
42808
|
</co-cash-on-delivery-modal>
|
|
42791
42809
|
}
|
|
42792
42810
|
</div>
|
|
42793
|
-
|
|
42811
|
+
|
|
42794
42812
|
@if (showPaymentDialog) {
|
|
42795
42813
|
<co-dialog
|
|
42796
42814
|
class="payment-dialog"
|
|
@@ -42832,7 +42850,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
42832
42850
|
[textContent]="'TO_PAY_DOWN' | localize">
|
|
42833
42851
|
</div>
|
|
42834
42852
|
}
|
|
42835
|
-
|
|
42853
|
+
|
|
42836
42854
|
<div class="transaction-header-popup-two-column-grid">
|
|
42837
42855
|
<co-transaction-header-deposit-percentage
|
|
42838
42856
|
[screenConfigurationObject]="cfgNames.DepositPercentage"
|
|
@@ -42847,7 +42865,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
42847
42865
|
(depositUpdated)="showOutstandingAmounts()">
|
|
42848
42866
|
</co-transaction-header-deposit-amount>
|
|
42849
42867
|
</div>
|
|
42850
|
-
|
|
42868
|
+
|
|
42851
42869
|
<div class="transaction-header-popup-three-column-grid">
|
|
42852
42870
|
@if (transactionInfo.transactionKind !== transKind.PurchaseOrder) {
|
|
42853
42871
|
<co-transaction-header-use-deposit-rule
|
|
@@ -42874,7 +42892,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
42874
42892
|
</div>
|
|
42875
42893
|
}
|
|
42876
42894
|
</div>
|
|
42877
|
-
|
|
42895
|
+
|
|
42878
42896
|
<div class="transaction-header-popup-two-column-grid">
|
|
42879
42897
|
<co-transaction-header-amount-to-settle
|
|
42880
42898
|
[screenConfigurationObject]="cfgNames.AmountToSettle"
|
|
@@ -42893,7 +42911,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
42893
42911
|
</co-input-text>
|
|
42894
42912
|
</div>
|
|
42895
42913
|
</div>
|
|
42896
|
-
|
|
42914
|
+
|
|
42897
42915
|
@if (showCashOnDelivery) {
|
|
42898
42916
|
<div class="transaction-header-popup-two-column-grid">
|
|
42899
42917
|
<div class="cash-on-delivery-row">
|
|
@@ -42913,7 +42931,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
42913
42931
|
<div></div>
|
|
42914
42932
|
</div>
|
|
42915
42933
|
}
|
|
42916
|
-
|
|
42934
|
+
|
|
42917
42935
|
<div
|
|
42918
42936
|
class="transaction-header-popup-two-column-grid"
|
|
42919
42937
|
[screenConfigurationObject]="cfgNames.PaymentBtn"
|
|
@@ -42926,7 +42944,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
42926
42944
|
}
|
|
42927
42945
|
</div>
|
|
42928
42946
|
</div>
|
|
42929
|
-
|
|
42947
|
+
|
|
42930
42948
|
@if (paymentAnalysis) {
|
|
42931
42949
|
<div class="transaction-header-popup-section">
|
|
42932
42950
|
<div class="transaction-header-popup-section-label" [textContent]="'TO_INVOICE' | localize"></div>
|
|
@@ -42948,7 +42966,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
42948
42966
|
</div>
|
|
42949
42967
|
</div>
|
|
42950
42968
|
}
|
|
42951
|
-
|
|
42969
|
+
|
|
42952
42970
|
@if (orderPaymentAnalysis.length > 0) {
|
|
42953
42971
|
<div class="payment-information">
|
|
42954
42972
|
@if (showPaymentButton()) {
|
|
@@ -43079,7 +43097,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
43079
43097
|
</div>
|
|
43080
43098
|
}
|
|
43081
43099
|
</co-form>
|
|
43082
|
-
|
|
43100
|
+
|
|
43083
43101
|
@if (cashOnDeliveryModalVisible) {
|
|
43084
43102
|
<co-cash-on-delivery-modal
|
|
43085
43103
|
[transactionInfoUuid]="transactionInfo.uuid"
|
|
@@ -43088,7 +43106,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
43088
43106
|
</co-cash-on-delivery-modal>
|
|
43089
43107
|
}
|
|
43090
43108
|
</div>
|
|
43091
|
-
|
|
43109
|
+
|
|
43092
43110
|
@if (showPaymentDialog) {
|
|
43093
43111
|
<co-dialog
|
|
43094
43112
|
class="payment-dialog"
|
|
@@ -67028,6 +67046,8 @@ class TransactionPurchaseOrderFilterContentOrderComponent extends TransactionFil
|
|
|
67028
67046
|
workflowStatusFields = { text: "name", value: "name" };
|
|
67029
67047
|
projectCodes;
|
|
67030
67048
|
projectCodeFields = { text: "description", value: "description" };
|
|
67049
|
+
withOrWithoutLines;
|
|
67050
|
+
withOrWithoutLinesFields = { text: "description", value: "code" };
|
|
67031
67051
|
transStartDate;
|
|
67032
67052
|
transEndDate;
|
|
67033
67053
|
deliveryStartDate;
|
|
@@ -67045,6 +67065,7 @@ class TransactionPurchaseOrderFilterContentOrderComponent extends TransactionFil
|
|
|
67045
67065
|
this._setOrderDepositFullyPaid();
|
|
67046
67066
|
this._setWorkFlowStatusNames();
|
|
67047
67067
|
this._setAllProjectCodes();
|
|
67068
|
+
this._setWithOrWithoutLines();
|
|
67048
67069
|
}
|
|
67049
67070
|
//Inkoper
|
|
67050
67071
|
_setPurchasePersons() {
|
|
@@ -67115,6 +67136,11 @@ class TransactionPurchaseOrderFilterContentOrderComponent extends TransactionFil
|
|
|
67115
67136
|
this.suppliers = new FilterViewmodel(relationListObjects, this.supplierFields).filterItems;
|
|
67116
67137
|
});
|
|
67117
67138
|
}
|
|
67139
|
+
_setWithOrWithoutLines() {
|
|
67140
|
+
this.transactionService.getYesNo("NL").then((withOrWithoutLines) => {
|
|
67141
|
+
this.withOrWithoutLines = new FilterViewmodel(withOrWithoutLines, this.withOrWithoutLinesFields).filterItems;
|
|
67142
|
+
});
|
|
67143
|
+
}
|
|
67118
67144
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionPurchaseOrderFilterContentOrderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
67119
67145
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: TransactionPurchaseOrderFilterContentOrderComponent, isStandalone: false, selector: "co-transaction-purchase-order-filter-content-order", host: { properties: { "class.co-transaction-search-filter-content": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
67120
67146
|
<div class="transaction-filter-content-order-wrapper transaction-filter-content-wrapper">
|
|
@@ -67127,6 +67153,15 @@ class TransactionPurchaseOrderFilterContentOrderComponent extends TransactionFil
|
|
|
67127
67153
|
</co-transaction-filter-item>
|
|
67128
67154
|
</div>
|
|
67129
67155
|
|
|
67156
|
+
<div class="filter-item-wrapper">
|
|
67157
|
+
<co-transaction-filter-item [placeholder]="'HAS_LINES'"
|
|
67158
|
+
[(model)]="searchService.searchRequest.ordersWithOrWithoutLines"
|
|
67159
|
+
[mode]="modes.Filterlist"
|
|
67160
|
+
[collection]="withOrWithoutLines"
|
|
67161
|
+
(activeFilterCountChange)="onActiveFilterCountChanged($event)">
|
|
67162
|
+
</co-transaction-filter-item>
|
|
67163
|
+
</div>
|
|
67164
|
+
|
|
67130
67165
|
<!--Orderdatum-->
|
|
67131
67166
|
<div class="filter-item-wrapper">
|
|
67132
67167
|
<co-transaction-filter-item [placeholder]="'ORDER_DATE'"
|
|
@@ -67301,6 +67336,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
67301
67336
|
</co-transaction-filter-item>
|
|
67302
67337
|
</div>
|
|
67303
67338
|
|
|
67339
|
+
<div class="filter-item-wrapper">
|
|
67340
|
+
<co-transaction-filter-item [placeholder]="'HAS_LINES'"
|
|
67341
|
+
[(model)]="searchService.searchRequest.ordersWithOrWithoutLines"
|
|
67342
|
+
[mode]="modes.Filterlist"
|
|
67343
|
+
[collection]="withOrWithoutLines"
|
|
67344
|
+
(activeFilterCountChange)="onActiveFilterCountChanged($event)">
|
|
67345
|
+
</co-transaction-filter-item>
|
|
67346
|
+
</div>
|
|
67347
|
+
|
|
67304
67348
|
<!--Orderdatum-->
|
|
67305
67349
|
<div class="filter-item-wrapper">
|
|
67306
67350
|
<co-transaction-filter-item [placeholder]="'ORDER_DATE'"
|
|
@@ -103154,6 +103198,13 @@ class TransactionLinesSidePanelServiceOrderComponent extends TransactionHeaderBa
|
|
|
103154
103198
|
handleTransactionNavigation() {
|
|
103155
103199
|
this.transactionEventService.transactionNavigation.next({ transactionNo: this.transactionServiceInfo.sourceTransactionNr, transactionKind: this.transactionServiceInfo.sourceTransactionKind });
|
|
103156
103200
|
}
|
|
103201
|
+
async handleRelationNavigation() {
|
|
103202
|
+
const selectedSupplier = await this.transactionService.getSupplierLightById(this.transactionServiceInfo.sourceSupplierId);
|
|
103203
|
+
this.transactionEventService.relationNavigation.next({
|
|
103204
|
+
relationNr: selectedSupplier.supplierNr,
|
|
103205
|
+
relationKind: RelationKind.Supplier
|
|
103206
|
+
});
|
|
103207
|
+
}
|
|
103157
103208
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLinesSidePanelServiceOrderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
103158
103209
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionLinesSidePanelServiceOrderComponent, isStandalone: false, selector: "co-transaction-lines-side-panel-service-order", host: { properties: { "class.co-transaction-lines-side-panel-service-order": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
103159
103210
|
<div class="full-details-wrapper">
|
|
@@ -103171,7 +103222,7 @@ class TransactionLinesSidePanelServiceOrderComponent extends TransactionHeaderBa
|
|
|
103171
103222
|
</div>
|
|
103172
103223
|
<div class="art-amount-batch">
|
|
103173
103224
|
<div class="detail">
|
|
103174
|
-
<label class="label" [textContent]="'
|
|
103225
|
+
<label class="label" [textContent]="'SKU'| localize"></label>
|
|
103175
103226
|
<span class="value" [textContent]="transactionServiceInfo.sourceQuantity"></span>
|
|
103176
103227
|
</div>
|
|
103177
103228
|
</div>
|
|
@@ -103223,7 +103274,7 @@ class TransactionLinesSidePanelServiceOrderComponent extends TransactionHeaderBa
|
|
|
103223
103274
|
@if (transactionServiceInfo.sourceSupplierName) {
|
|
103224
103275
|
<div class="detail">
|
|
103225
103276
|
<label class="label" [textContent]="'SUPPLIER'| localize"></label>
|
|
103226
|
-
<span class="value" [textContent]="transactionServiceInfo.sourceSupplierName"></span>
|
|
103277
|
+
<span class="value underline" (click)="handleRelationNavigation()" [textContent]="transactionServiceInfo.sourceSupplierName"></span>
|
|
103227
103278
|
</div>
|
|
103228
103279
|
}
|
|
103229
103280
|
</div>
|
|
@@ -103258,7 +103309,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
103258
103309
|
</div>
|
|
103259
103310
|
<div class="art-amount-batch">
|
|
103260
103311
|
<div class="detail">
|
|
103261
|
-
<label class="label" [textContent]="'
|
|
103312
|
+
<label class="label" [textContent]="'SKU'| localize"></label>
|
|
103262
103313
|
<span class="value" [textContent]="transactionServiceInfo.sourceQuantity"></span>
|
|
103263
103314
|
</div>
|
|
103264
103315
|
</div>
|
|
@@ -103310,7 +103361,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
103310
103361
|
@if (transactionServiceInfo.sourceSupplierName) {
|
|
103311
103362
|
<div class="detail">
|
|
103312
103363
|
<label class="label" [textContent]="'SUPPLIER'| localize"></label>
|
|
103313
|
-
<span class="value" [textContent]="transactionServiceInfo.sourceSupplierName"></span>
|
|
103364
|
+
<span class="value underline" (click)="handleRelationNavigation()" [textContent]="transactionServiceInfo.sourceSupplierName"></span>
|
|
103314
103365
|
</div>
|
|
103315
103366
|
}
|
|
103316
103367
|
</div>
|