@colijnit/transaction 256.1.49 → 256.1.50
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 +87 -44
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/simple-vertical-stepper/co-simple-vertical-stepper.component.js +45 -18
- package/esm2015/lib/component/transaction-create-wizard/components/Service-wizard-art-or-trans.component.js +9 -4
- package/esm2015/lib/component/transaction-create-wizard/components/service-wizard-create-service.component.js +6 -3
- package/esm2015/lib/component/transaction-create-wizard/components/service-wizard-service-fields.component.js +2 -2
- package/esm2015/lib/component/transaction-create-wizard/transaction-create-wizard.component.js +7 -6
- package/esm2015/lib/component/transaction-header-fields/transaction-header-reference.component.js +2 -2
- package/esm2015/lib/component/transaction-header-fields/transaction-header-relation-reference.component.js +2 -2
- package/esm2015/lib/component/transaction-header-fields/transaction-header-remaining-amount.component.js +16 -14
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.js +2 -1
- package/esm2015/lib/component/transaction-navigation-button-list/transaction-navigation-button-list.component.js +4 -2
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-line-select-tile/transaction-search-sales-line-select-tile.component.js +35 -34
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +119 -78
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/dialog/transaction-search/style/_layout.scss +19 -4
- package/lib/component/simple-vertical-stepper/co-simple-vertical-stepper.component.d.ts +4 -0
- package/lib/component/transaction-create-wizard/components/Service-wizard-art-or-trans.component.d.ts +1 -0
- package/lib/component/transaction-create-wizard/components/service-wizard-create-service.component.d.ts +1 -0
- package/lib/component/transaction-create-wizard/transaction-create-wizard.component.d.ts +1 -0
- package/lib/component/transaction-line/transaction-line/style/_layout.scss +5 -2
- package/lib/component/transaction-line/transaction-line/style/_material-definition.scss +1 -0
- package/lib/component/transaction-navigation-button-list/transaction-navigation-button-list.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -280,8 +280,8 @@ class Version {
|
|
|
280
280
|
constructor() {
|
|
281
281
|
this.name = "@colijnit/transaction";
|
|
282
282
|
this.description = "Colijn IT transaction package";
|
|
283
|
-
this.symVer = "256.1.
|
|
284
|
-
this.publishDate = "
|
|
283
|
+
this.symVer = "256.1.50";
|
|
284
|
+
this.publishDate = "5-2-2025 18:06:52";
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
|
|
@@ -20717,6 +20717,7 @@ TransactionPurchaseLineComponent.decorators = [
|
|
|
20717
20717
|
[screenConfigurationObject]="cfgNames.LineRefTransactions"
|
|
20718
20718
|
[refTransactions]="transactionLine.refTransactions"
|
|
20719
20719
|
[emptyLabel]="'NO_PURCHASE_ORDER' | localize"
|
|
20720
|
+
[insideLabel]="'PURCHASE_ORDER'"
|
|
20720
20721
|
(transactionClick)="handlePurchaseExistingOrderNavigation($event)"
|
|
20721
20722
|
></co-transaction-navigation-button-list>
|
|
20722
20723
|
</div>
|
|
@@ -31925,6 +31926,7 @@ class TransactionNavigationButtonListComponent {
|
|
|
31925
31926
|
constructor() {
|
|
31926
31927
|
this.refTransactions = [];
|
|
31927
31928
|
this.showRelationButton = true;
|
|
31929
|
+
this.insideLabel = 'SALES_ORDER';
|
|
31928
31930
|
this.relationClick = new EventEmitter();
|
|
31929
31931
|
this.transactionClick = new EventEmitter();
|
|
31930
31932
|
this.showExtended = false;
|
|
@@ -31977,7 +31979,7 @@ TransactionNavigationButtonListComponent.decorators = [
|
|
|
31977
31979
|
</div>
|
|
31978
31980
|
<div class="transaction-field-wrapper" *ngIf="ref.refTransactionNr">
|
|
31979
31981
|
<div class="inside-field">
|
|
31980
|
-
<co-transaction-line-label [insideLabel]="
|
|
31982
|
+
<co-transaction-line-label [insideLabel]="insideLabel"></co-transaction-line-label>
|
|
31981
31983
|
<co-transaction-navigation-button
|
|
31982
31984
|
[label]="ref.refTransactionNr"
|
|
31983
31985
|
(buttonClicked)="handleTransactionClick($event, ref.refTransactionNr)"></co-transaction-navigation-button>
|
|
@@ -32006,6 +32008,7 @@ TransactionNavigationButtonListComponent.propDecorators = {
|
|
|
32006
32008
|
emptyLabel: [{ type: Input }],
|
|
32007
32009
|
refTransactions: [{ type: Input }],
|
|
32008
32010
|
showRelationButton: [{ type: Input }],
|
|
32011
|
+
insideLabel: [{ type: Input }],
|
|
32009
32012
|
relationClick: [{ type: Output }],
|
|
32010
32013
|
transactionClick: [{ type: Output }],
|
|
32011
32014
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-navigation-button-list",] }],
|
|
@@ -42252,47 +42255,48 @@ TransactionSearchSalesLineSelectTileComponent.decorators = [
|
|
|
42252
42255
|
{ type: Component, args: [{
|
|
42253
42256
|
selector: 'co-transaction-search-sales-line-select-tile',
|
|
42254
42257
|
template: `
|
|
42255
|
-
|
|
42256
|
-
|
|
42257
|
-
|
|
42258
|
-
|
|
42259
|
-
|
|
42260
|
-
|
|
42261
|
-
|
|
42262
|
-
|
|
42263
|
-
</div>
|
|
42258
|
+
<div class="co-transaction-search-sales-line-select-tile-wrapper " observeVisibility #observer=visibilityObserve
|
|
42259
|
+
(visibilityChange)="handleVisibilityChange($event)" *ngIf="!extendedTransactionSearch">
|
|
42260
|
+
<co-transaction-order-tile [transaction]="transaction" [showAvatar]="true">
|
|
42261
|
+
</co-transaction-order-tile>
|
|
42262
|
+
<div class="order-lines-container co-small-scrollbar">
|
|
42263
|
+
<div class="order-lines">
|
|
42264
|
+
<div class="inner-lines" *ngFor="let line of lines">
|
|
42265
|
+
<co-transaction-line-tile [line]="line" (click)="tileClicked(line)"></co-transaction-line-tile>
|
|
42264
42266
|
</div>
|
|
42267
|
+
</div>
|
|
42265
42268
|
</div>
|
|
42266
|
-
|
|
42267
|
-
|
|
42268
|
-
|
|
42269
|
-
|
|
42270
|
-
|
|
42271
|
-
|
|
42272
|
-
|
|
42273
|
-
|
|
42274
|
-
|
|
42269
|
+
</div>
|
|
42270
|
+
<div class="co-transaction-search-sales-line-select-tile-wrapper " observeVisibility #observer=visibilityObserve
|
|
42271
|
+
(visibilityChange)="handleVisibilityChange($event)" *ngIf="extendedTransactionSearch">
|
|
42272
|
+
<co-transaction-order-tile [transaction]="transaction" [showAvatar]="true">
|
|
42273
|
+
</co-transaction-order-tile>
|
|
42274
|
+
<div class="order-lines-container" (click)="onTransactionClick(transaction)">
|
|
42275
|
+
<div class="order-lines" *ngIf="transaction.transactionKind !== 'S'">
|
|
42276
|
+
<div class="inner-lines" *ngFor="let line of lines">
|
|
42277
|
+
<co-transaction-line-tile [line]="line"></co-transaction-line-tile>
|
|
42275
42278
|
</div>
|
|
42276
|
-
|
|
42277
|
-
|
|
42278
|
-
|
|
42279
|
-
|
|
42280
|
-
|
|
42281
|
-
|
|
42282
|
-
<div class="service-message">
|
|
42283
|
-
<span class="service-label" [textContent]="'MESSAGE' | localize"></span>
|
|
42284
|
-
<span class="message" [textContent]="transaction.serviceMessage"></span>
|
|
42285
|
-
</div>
|
|
42279
|
+
</div>
|
|
42280
|
+
<div class="service-lines" *ngIf="transaction.transactionKind === 'S'">
|
|
42281
|
+
<div class="service-line">
|
|
42282
|
+
<div class="service-status">
|
|
42283
|
+
<span class="service-label" [textContent]="'STATE' | localize"></span>
|
|
42284
|
+
<span [textContent]="transaction.workflowStatusDescription"></span>
|
|
42286
42285
|
</div>
|
|
42287
|
-
|
|
42288
|
-
|
|
42289
|
-
|
|
42290
|
-
<co-icon [iconData]="iconCacheService.getIcon(icons.ChevronRightRegular)"></co-icon>
|
|
42291
|
-
<span [textContent]="(transaction.transactionKind === 'S' ? ('SHOW_SERVICE' | localize) : ('SHOW_ORDER' | localize))"></span>
|
|
42286
|
+
<div class="service-message">
|
|
42287
|
+
<span class="service-label" [textContent]="'MESSAGE' | localize"></span>
|
|
42288
|
+
<span class="message" [textContent]="transaction.serviceMessage"></span>
|
|
42292
42289
|
</div>
|
|
42293
42290
|
</div>
|
|
42294
42291
|
</div>
|
|
42292
|
+
<div class="show-order-wrapper">
|
|
42293
|
+
<div class="show-order">
|
|
42294
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.ChevronRightRegular)"></co-icon>
|
|
42295
|
+
<span [textContent]="(transaction.transactionKind === 'S' ? ('SHOW_SERVICE' | localize) : ('SHOW_ORDER' | localize))"></span>
|
|
42296
|
+
</div>
|
|
42297
|
+
</div>
|
|
42295
42298
|
</div>
|
|
42299
|
+
</div>
|
|
42296
42300
|
`,
|
|
42297
42301
|
encapsulation: ViewEncapsulation.None
|
|
42298
42302
|
},] }
|
|
@@ -47951,7 +47955,7 @@ TransactionHeaderReferenceComponent.decorators = [
|
|
|
47951
47955
|
template: `
|
|
47952
47956
|
<span *ngIf="(!editMode || transactionHeaderService.readonly) && !defaultEditMode" [textContent]="transactionInfo.ownReference"></span>
|
|
47953
47957
|
<co-input-text #input *ngIf="editMode || defaultEditMode"
|
|
47954
|
-
[hidden]="hidden"
|
|
47958
|
+
[hidden]="hidden" [maxLength]="30"
|
|
47955
47959
|
[placeholder]="showLabel ? ('REFERENCE' | localize) : ''"
|
|
47956
47960
|
[showSaveCancel]="!transactionHeaderService.readonly"
|
|
47957
47961
|
[readonly]="readonly || transactionHeaderService.readonly"
|
|
@@ -48024,7 +48028,7 @@ TransactionHeaderRelationReferenceComponent.decorators = [
|
|
|
48024
48028
|
template: `
|
|
48025
48029
|
<span *ngIf="(!editMode || transactionHeaderService.readonly) && !defaultEditMode" [textContent]="transactionInfo.relationReference"></span>
|
|
48026
48030
|
<co-input-text #input *ngIf="editMode || defaultEditMode"
|
|
48027
|
-
[hidden]="hidden"
|
|
48031
|
+
[hidden]="hidden" [maxLength]="30"
|
|
48028
48032
|
[placeholder]="showLabel ? ('REFERENCE_RELATION' | localize) : ''"
|
|
48029
48033
|
[showSaveCancel]="!transactionHeaderService.readonly"
|
|
48030
48034
|
[readonly]="readonly || transactionHeaderService.readonly"
|
|
@@ -54740,19 +54744,21 @@ class TransactionHeaderRemainingAmountComponent {
|
|
|
54740
54744
|
}
|
|
54741
54745
|
_recalculatePayment() {
|
|
54742
54746
|
return __awaiter(this, void 0, void 0, function* () {
|
|
54743
|
-
|
|
54744
|
-
|
|
54745
|
-
|
|
54746
|
-
this.
|
|
54747
|
-
this.
|
|
54748
|
-
|
|
54749
|
-
|
|
54750
|
-
|
|
54751
|
-
|
|
54752
|
-
|
|
54753
|
-
this.
|
|
54754
|
-
|
|
54755
|
-
|
|
54747
|
+
if (this.transactionUuid) {
|
|
54748
|
+
const request = new CalculateAmountToPayRequest();
|
|
54749
|
+
request.transactionUuid = this.transactionUuid;
|
|
54750
|
+
if (this._transactionHeaderService.transactionInfo.allowPartialDelivery) {
|
|
54751
|
+
this._paymentConnectorService.calculateAmountToPayWithLineSelection(request).then((data) => {
|
|
54752
|
+
this.transactionService.remainingAmount = data ? data.amountToPay : 0;
|
|
54753
|
+
this.remainingAmountChange.next(data ? data.amountToPay : 0);
|
|
54754
|
+
});
|
|
54755
|
+
}
|
|
54756
|
+
else {
|
|
54757
|
+
this._paymentConnectorService.calculateAmountToPay(request).then((data) => {
|
|
54758
|
+
this.transactionService.remainingAmount = data ? data.amountToPay : 0;
|
|
54759
|
+
this.remainingAmountChange.next(data ? data.amountToPay : 0);
|
|
54760
|
+
});
|
|
54761
|
+
}
|
|
54756
54762
|
}
|
|
54757
54763
|
});
|
|
54758
54764
|
}
|
|
@@ -60583,16 +60589,16 @@ class TransactionCreateWizardComponent {
|
|
|
60583
60589
|
this.createService.relation = yield this.relationService.getCustomerFullObject(parseInt(this._externallyProvidedTransaction.transactionInfo.relation.relationNr));
|
|
60584
60590
|
yield this.createService.createServiceOrderWithTransactionLine(Number(this.existingTransaction.transactionInfo.id), Number(this.existingTransactionLine.lineNr));
|
|
60585
60591
|
if (this.stepper.skipSteps.length > 0) {
|
|
60586
|
-
this.
|
|
60592
|
+
this.openStep = 4;
|
|
60587
60593
|
}
|
|
60588
60594
|
else {
|
|
60589
|
-
this.
|
|
60595
|
+
this.openStep = 3;
|
|
60590
60596
|
}
|
|
60591
60597
|
}
|
|
60592
60598
|
else if (this._externallyProvidedCustomer) {
|
|
60593
60599
|
this.noLockOnCustomerSet = true;
|
|
60594
60600
|
this.createService.relation = this._externallyProvidedCustomer;
|
|
60595
|
-
this.
|
|
60601
|
+
this.openStep = 2;
|
|
60596
60602
|
}
|
|
60597
60603
|
});
|
|
60598
60604
|
}
|
|
@@ -60603,7 +60609,7 @@ TransactionCreateWizardComponent.decorators = [
|
|
|
60603
60609
|
template: `
|
|
60604
60610
|
<co-click-block></co-click-block>
|
|
60605
60611
|
<ng-container *ngIf="isReady">
|
|
60606
|
-
<co-simple-vertical-stepper [stepButtonLabels]="['Volgende', 'Volgende', 'Volgende', '
|
|
60612
|
+
<co-simple-vertical-stepper [stepButtonLabels]="['Volgende', 'Volgende', 'Volgende', 'Afronden', 'Afronden']" [openStep]="openStep"
|
|
60607
60613
|
#stepper [titleIcon]="Icon.ServiceCartRegular" [title]="'CREATE_SERVICE' | localize" [doNotShowOKOnSteps]="[3, 5]">
|
|
60608
60614
|
<co-stepper-step #stepRelationSection [index]="1" [label]="'PERSONAL_DATA' | localize" (validateStep)="handleRelationValidation()">
|
|
60609
60615
|
|
|
@@ -60625,7 +60631,8 @@ TransactionCreateWizardComponent.decorators = [
|
|
|
60625
60631
|
[existingTransaction]="existingTransaction"
|
|
60626
60632
|
[existingTransactionLine]="existingTransactionLine"
|
|
60627
60633
|
[buttonsVisible]="buttonsVisible"
|
|
60628
|
-
[afterSalesSystem]="createService.afterSalesSystemParam"
|
|
60634
|
+
[afterSalesSystem]="createService.afterSalesSystemParam"
|
|
60635
|
+
[customerPortal]="customerPortal"></co-service-wizard-create-service>
|
|
60629
60636
|
</co-stepper-step>
|
|
60630
60637
|
<co-stepper-step #stepWizardSection [index]="3" [label]="'SERVICE_WIZARD' | localize" (validateStep)="handleWizardValidation()">
|
|
60631
60638
|
<co-service-wizard-questions #wizardSection (wizardFinished)="wizardFinished()" (skipWizard)="skipWizard()"></co-service-wizard-questions>
|
|
@@ -60680,36 +60687,60 @@ class SimpleVerticalStepperComponent extends StepperBaseComponent {
|
|
|
60680
60687
|
showClass() {
|
|
60681
60688
|
return true;
|
|
60682
60689
|
}
|
|
60690
|
+
set openStep(step) {
|
|
60691
|
+
if (step) {
|
|
60692
|
+
this._openStep = step;
|
|
60693
|
+
this.openToIndex(this._openStep);
|
|
60694
|
+
}
|
|
60695
|
+
}
|
|
60696
|
+
set content(children) {
|
|
60697
|
+
this.stepChildren = children.toArray();
|
|
60698
|
+
if (this.stepChildren) {
|
|
60699
|
+
setTimeout(() => {
|
|
60700
|
+
if (!this._openStep) {
|
|
60701
|
+
this.setActive(0);
|
|
60702
|
+
}
|
|
60703
|
+
});
|
|
60704
|
+
}
|
|
60705
|
+
}
|
|
60683
60706
|
get currentStepButton() {
|
|
60684
60707
|
return this.stepButtonLabels[this.activeStep] || 'Volgende';
|
|
60685
60708
|
}
|
|
60686
60709
|
continueRequested() {
|
|
60687
60710
|
this.validateCurrentStep();
|
|
60688
60711
|
}
|
|
60712
|
+
prepareSteps() {
|
|
60713
|
+
super.prepareSteps();
|
|
60714
|
+
if (this._openStep) {
|
|
60715
|
+
this.openToIndex(this._openStep);
|
|
60716
|
+
}
|
|
60717
|
+
}
|
|
60689
60718
|
//Beware this method bypasses verification of steps! Please only use it if you are certain that is appropriate.
|
|
60690
60719
|
openToIndex(idx) {
|
|
60691
|
-
|
|
60692
|
-
|
|
60693
|
-
|
|
60694
|
-
if (
|
|
60695
|
-
this.stepChildren[counter].
|
|
60720
|
+
if (this.stepChildren && this.stepChildren.length > 0 && this.activeStep != idx - 1) {
|
|
60721
|
+
let counter = 0;
|
|
60722
|
+
while (counter < this.stepChildren.length) {
|
|
60723
|
+
if (counter <= (idx - 1)) {
|
|
60724
|
+
if (this.skipSteps.findIndex(n => n === this.stepChildren[counter].index) >= 0) {
|
|
60725
|
+
this.stepChildren[counter].show = false;
|
|
60726
|
+
}
|
|
60727
|
+
else {
|
|
60728
|
+
this.stepChildren[counter].show = true;
|
|
60729
|
+
}
|
|
60696
60730
|
}
|
|
60697
60731
|
else {
|
|
60698
|
-
this.stepChildren[counter].show =
|
|
60732
|
+
this.stepChildren[counter].show = false;
|
|
60699
60733
|
}
|
|
60734
|
+
counter++;
|
|
60735
|
+
}
|
|
60736
|
+
if (this.doNotShowOKOnSteps.findIndex(n => n === this.stepChildren[idx - 1].index) >= 0) {
|
|
60737
|
+
this.showOk = false;
|
|
60700
60738
|
}
|
|
60701
60739
|
else {
|
|
60702
|
-
this.
|
|
60740
|
+
this.showOk = true;
|
|
60703
60741
|
}
|
|
60704
|
-
|
|
60742
|
+
this.activeStep = idx - 1;
|
|
60705
60743
|
}
|
|
60706
|
-
if (this.doNotShowOKOnSteps.findIndex(n => n === this.stepChildren[idx - 1].index) >= 0) {
|
|
60707
|
-
this.showOk = false;
|
|
60708
|
-
}
|
|
60709
|
-
else {
|
|
60710
|
-
this.showOk = true;
|
|
60711
|
-
}
|
|
60712
|
-
this.activeStep = idx - 1;
|
|
60713
60744
|
}
|
|
60714
60745
|
validateCurrentStep(nextStep) {
|
|
60715
60746
|
this.stepChildren[this.activeStep].onComplete = (complete) => {
|
|
@@ -60775,7 +60806,9 @@ SimpleVerticalStepperComponent.propDecorators = {
|
|
|
60775
60806
|
doNotShowOKOnSteps: [{ type: Input }],
|
|
60776
60807
|
skipSteps: [{ type: Input }],
|
|
60777
60808
|
stepButton: [{ type: Input }],
|
|
60778
|
-
stepButtonLabels: [{ type: Input }]
|
|
60809
|
+
stepButtonLabels: [{ type: Input }],
|
|
60810
|
+
openStep: [{ type: Input }],
|
|
60811
|
+
content: [{ type: ContentChildren, args: [StepperStepComponent,] }]
|
|
60779
60812
|
};
|
|
60780
60813
|
|
|
60781
60814
|
class SimpleVerticalStepperModule {
|
|
@@ -61299,6 +61332,7 @@ class ServiceWizardCreateServiceComponent {
|
|
|
61299
61332
|
this.forceReadonly = false;
|
|
61300
61333
|
this.afterSalesSystem = false;
|
|
61301
61334
|
this.buttonsVisible = true;
|
|
61335
|
+
this.customerPortal = false;
|
|
61302
61336
|
this.oldOrderId = "";
|
|
61303
61337
|
this.oldGoodId = "";
|
|
61304
61338
|
}
|
|
@@ -61344,7 +61378,8 @@ ServiceWizardCreateServiceComponent.decorators = [
|
|
|
61344
61378
|
[(oldOrderId)]="oldOrderId"
|
|
61345
61379
|
[(oldGoodId)]="oldGoodId"
|
|
61346
61380
|
(transLineChosen)="transLineChosen($event)"
|
|
61347
|
-
(articleChosen)="articleChosen($event)"
|
|
61381
|
+
(articleChosen)="articleChosen($event)"
|
|
61382
|
+
[customerPortal]="customerPortal"></co-service-wizard-art-or-trans>
|
|
61348
61383
|
<co-service-wizard-sla *ngIf="afterSalesSystem" (slaSelected)="slaSelected($event)"></co-service-wizard-sla>
|
|
61349
61384
|
</div>
|
|
61350
61385
|
`,
|
|
@@ -61366,7 +61401,8 @@ ServiceWizardCreateServiceComponent.propDecorators = {
|
|
|
61366
61401
|
afterSalesSystem: [{ type: Input }],
|
|
61367
61402
|
existingTransaction: [{ type: Input }],
|
|
61368
61403
|
existingTransactionLine: [{ type: Input }],
|
|
61369
|
-
buttonsVisible: [{ type: Input }]
|
|
61404
|
+
buttonsVisible: [{ type: Input }],
|
|
61405
|
+
customerPortal: [{ type: Input }]
|
|
61370
61406
|
};
|
|
61371
61407
|
|
|
61372
61408
|
class ServiceWizardServiceFieldsComponent {
|
|
@@ -61401,7 +61437,7 @@ ServiceWizardServiceFieldsComponent.decorators = [
|
|
|
61401
61437
|
<div class="transaction-header-popup-category-wrapper">
|
|
61402
61438
|
<co-form>
|
|
61403
61439
|
<div>
|
|
61404
|
-
<
|
|
61440
|
+
<span class="question" [textContent]="'DESCRIPTION' | localize"></span>
|
|
61405
61441
|
<br>
|
|
61406
61442
|
<co-input-textarea [(model)]="serviceMessage"></co-input-textarea>
|
|
61407
61443
|
</div>
|
|
@@ -61432,6 +61468,7 @@ class ServiceWizardArtOrTransComponent {
|
|
|
61432
61468
|
this.transactionSearchService = transactionSearchService;
|
|
61433
61469
|
this.imageService = imageService;
|
|
61434
61470
|
this.forceReadonly = false;
|
|
61471
|
+
this.customerPortal = false;
|
|
61435
61472
|
this.buttonsVisible = true;
|
|
61436
61473
|
this.transLineChosen = new EventEmitter();
|
|
61437
61474
|
this.articleChosen = new EventEmitter();
|
|
@@ -61571,14 +61608,17 @@ ServiceWizardArtOrTransComponent.decorators = [
|
|
|
61571
61608
|
<co-form>
|
|
61572
61609
|
<div class="header-relation-content">
|
|
61573
61610
|
<div class="transaction-header-popup-section general">
|
|
61574
|
-
<div class="transaction-header-popup-section-label">
|
|
61611
|
+
<div *ngIf="!customerPortal" class="transaction-header-popup-section-label">
|
|
61575
61612
|
<span [textContent]="'02'"></span>
|
|
61576
61613
|
<span class="label-description" [textContent]="'SERVICE_DETAILS' | localize"></span>
|
|
61577
61614
|
</div>
|
|
61615
|
+
<div *ngIf="customerPortal" class="transaction-header-popup-section-label">
|
|
61616
|
+
<span class="label-description" [textContent]="'ABOUT_ORDER' | localize"></span>
|
|
61617
|
+
</div>
|
|
61578
61618
|
<div class="create-transaction-buttons" *ngIf="buttonsVisible">
|
|
61579
61619
|
<co-button [label]="'SEARCH_ORDER' | localize" (click)="createOrderWithTransactionLineClicked()" [disabled]="forceReadonly"></co-button>
|
|
61580
|
-
<co-button [label]="'SEARCH_PRODUCT' | localize" (click)="createOrderWithArticleClicked()" [disabled]="forceReadonly"></co-button>
|
|
61581
|
-
<co-button [label]="'WITHOUT_PRODUCT' | localize" (click)="createOrderFromOldTrans()" [disabled]="forceReadonly"></co-button>
|
|
61620
|
+
<co-button *ngIf="!customerPortal" [label]="'SEARCH_PRODUCT' | localize" (click)="createOrderWithArticleClicked()" [disabled]="forceReadonly"></co-button>
|
|
61621
|
+
<co-button *ngIf="!customerPortal" [label]="'WITHOUT_PRODUCT' | localize" (click)="createOrderFromOldTrans()" [disabled]="forceReadonly"></co-button>
|
|
61582
61622
|
</div>
|
|
61583
61623
|
<div *ngIf="createViaTransLine" class="create-via-transaction">
|
|
61584
61624
|
<div class="service-data-header">
|
|
@@ -61648,6 +61688,7 @@ ServiceWizardArtOrTransComponent.propDecorators = {
|
|
|
61648
61688
|
relation: [{ type: Input }],
|
|
61649
61689
|
oldOrderId: [{ type: Input }],
|
|
61650
61690
|
oldGoodId: [{ type: Input }],
|
|
61691
|
+
customerPortal: [{ type: Input }],
|
|
61651
61692
|
existingTransaction: [{ type: Input }],
|
|
61652
61693
|
existingTransactionLine: [{ type: Input }],
|
|
61653
61694
|
buttonsVisible: [{ type: Input }],
|