@colijnit/transaction 261.20.58 → 261.20.60

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.
@@ -354,8 +354,8 @@ import { DateField } from '@colijnit/ioneconnector/build/factory/decorators/date
354
354
  class Version {
355
355
  name = "@colijnit/transaction";
356
356
  description = "Colijn IT transaction package";
357
- symVer = "261.20.58";
358
- publishDate = "9-7-2026, 12:14:05";
357
+ symVer = "261.20.60";
358
+ publishDate = "10-7-2026, 16:29:20";
359
359
  }
360
360
 
361
361
  class CheckoutModuleService extends BaseModuleService {
@@ -9841,6 +9841,7 @@ class TransactionBaseService extends BaseModuleService {
9841
9841
  internalParameterSellDirectlyFromSupp = false;
9842
9842
  internalParameterStockMutBeforeDelivery = false;
9843
9843
  printColliStickerDefault = false;
9844
+ internalPlanDaysParam = 0;
9844
9845
  contactPersonId = 0;
9845
9846
  firstDayOfWeek = '1';
9846
9847
  articleAmountChange = new BehaviorSubject(0);
@@ -9942,6 +9943,12 @@ class TransactionBaseService extends BaseModuleService {
9942
9943
  prepareReceiveGoodsWithDataTerminalInternalParam() {
9943
9944
  this.getInternalParameter(InternalParam.ReceiveGoodsWithDataTerminal).then((value) => this.internalParameterReceiveGoodsWithDataTerminal = value);
9944
9945
  }
9946
+ async prepareInternalPlanDaysParam() {
9947
+ const response = await this.connector.getInternalParameterValue(InternalParam.InternalPlanDays);
9948
+ if (response && response.length > 0 && !isNaN(Number(response))) {
9949
+ this.internalPlanDaysParam = Number(response);
9950
+ }
9951
+ }
9945
9952
  preparePrintColliStickerDefault() {
9946
9953
  this.getInternalDefault(InternalDefault.PrintColliStickers).then((value) => {
9947
9954
  this.printColliStickerDefault = (value === "J");
@@ -13166,6 +13173,7 @@ class TransactionService extends PendingReasonService {
13166
13173
  this.prepareDirectSellInternalParam();
13167
13174
  this.prepareCanChangeSalesOrderWhenFullyInvoicedParam();
13168
13175
  this.prepareCanChangeRelationParam();
13176
+ this.prepareInternalPlanDaysParam();
13169
13177
  }
13170
13178
  async _handleAfterRememberCurrentTransaction() {
13171
13179
  this.remainingAmount = 0;
@@ -13843,7 +13851,7 @@ class StepperComponent extends StepperBaseComponent {
13843
13851
  [screenConfigurationObject]="cfgNames.OrderButton"
13844
13852
  [iconData]="iconCacheService.getIcon(icons.DetailView)"
13845
13853
  [label]="title | localize"
13846
- (click)="createClicked.emit($event)"></co-button>
13854
+ (click)="createClicked.emit($event)"></co-button>
13847
13855
  }
13848
13856
  </div>
13849
13857
  </ng-template>
@@ -13898,7 +13906,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
13898
13906
  [screenConfigurationObject]="cfgNames.OrderButton"
13899
13907
  [iconData]="iconCacheService.getIcon(icons.DetailView)"
13900
13908
  [label]="title | localize"
13901
- (click)="createClicked.emit($event)"></co-button>
13909
+ (click)="createClicked.emit($event)"></co-button>
13902
13910
  }
13903
13911
  </div>
13904
13912
  </ng-template>
@@ -14090,6 +14098,7 @@ var TransactionCfgName;
14090
14098
  TransactionCfgName["LineNetLineTotal"] = "lineNetLineTotal";
14091
14099
  TransactionCfgName["LinePurchasePrice"] = "linePurchasePrice";
14092
14100
  TransactionCfgName["LinePurchaseDescription"] = "linePurchaseDescription";
14101
+ TransactionCfgName["LineExpectedDeliveryDateCP"] = "lineExpectedDeliveryDateCP";
14093
14102
  /* Purchase rubric */
14094
14103
  TransactionCfgName["LineSupplier"] = "lineSupplier";
14095
14104
  TransactionCfgName["LineRefTransactions"] = "lineRefTransactions";
@@ -36236,7 +36245,7 @@ class CheckoutComponent {
36236
36245
  <co-stepper #stepper
36237
36246
  [title]="service.titleForCheckout"
36238
36247
  [showStepper]="transactionType !== transKind.PurchaseOrder"
36239
- [showCreate]="(this.showCreateOnFirstPages || stepper.activeStep === 2)"
36248
+ [showCreate]="((transactionType === transKind.PurchaseOrder) || this.showCreateOnFirstPages || (stepper.activeStep === 2))"
36240
36249
  [titleIcon]="service.iconForCheckout"
36241
36250
  [finishButtonLabel]="'CHECKOUT_FINISH' | localize"
36242
36251
  [class.no-cart]="showCreateTransactionButton"
@@ -36310,7 +36319,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
36310
36319
  <co-stepper #stepper
36311
36320
  [title]="service.titleForCheckout"
36312
36321
  [showStepper]="transactionType !== transKind.PurchaseOrder"
36313
- [showCreate]="(this.showCreateOnFirstPages || stepper.activeStep === 2)"
36322
+ [showCreate]="((transactionType === transKind.PurchaseOrder) || this.showCreateOnFirstPages || (stepper.activeStep === 2))"
36314
36323
  [titleIcon]="service.iconForCheckout"
36315
36324
  [finishButtonLabel]="'CHECKOUT_FINISH' | localize"
36316
36325
  [class.no-cart]="showCreateTransactionButton"
@@ -53122,6 +53131,127 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
53122
53131
  args: ["class.co-transaction-hidden"]
53123
53132
  }] } });
53124
53133
 
53134
+ class TransactionLineExpectedDeliveryDateButtonComponent extends TransactionLineBaseComponent {
53135
+ transactionHeaderService;
53136
+ transactionLineService;
53137
+ transactionEventService;
53138
+ service;
53139
+ iconCacheService;
53140
+ transactionScreenConfigurationService;
53141
+ dictionaryService;
53142
+ imageService;
53143
+ changeDetector;
53144
+ icons = Icon;
53145
+ parentComponent;
53146
+ showClass() {
53147
+ return true;
53148
+ }
53149
+ inputLabel = false;
53150
+ showConfirmedDeliveryDateChange = new EventEmitter();
53151
+ expectedDeliveryDate;
53152
+ _handled = false;
53153
+ constructor(transactionHeaderService, transactionLineService, transactionEventService, service, iconCacheService, transactionScreenConfigurationService, dictionaryService, imageService, changeDetector) {
53154
+ super(transactionHeaderService, transactionLineService, transactionEventService, iconCacheService, transactionScreenConfigurationService, imageService, dictionaryService, service, changeDetector);
53155
+ this.transactionHeaderService = transactionHeaderService;
53156
+ this.transactionLineService = transactionLineService;
53157
+ this.transactionEventService = transactionEventService;
53158
+ this.service = service;
53159
+ this.iconCacheService = iconCacheService;
53160
+ this.transactionScreenConfigurationService = transactionScreenConfigurationService;
53161
+ this.dictionaryService = dictionaryService;
53162
+ this.imageService = imageService;
53163
+ this.changeDetector = changeDetector;
53164
+ }
53165
+ ngOnInit() {
53166
+ super.ngOnInit();
53167
+ }
53168
+ ngOnDestroy() {
53169
+ super.ngOnDestroy();
53170
+ }
53171
+ transactionInfoSet() {
53172
+ super.transactionInfoSet();
53173
+ this._checkConfirmedDeliveryDate();
53174
+ }
53175
+ transactionLineSet() {
53176
+ super.transactionLineSet();
53177
+ this._checkConfirmedDeliveryDate();
53178
+ }
53179
+ async _checkConfirmedDeliveryDate() {
53180
+ if (this.transactionInfo && this.transactionLine && this.transactionLine.lineNr && !this.expectedDeliveryDate && !this._handled) {
53181
+ const result = await this.transactionService.getFirstConfirmedDeliveryDateForTransactionLine(this.transactionInfo.id, this.transactionLine.lineNr);
53182
+ if (result) {
53183
+ this.expectedDeliveryDate = new Date(result);
53184
+ this.expectedDeliveryDate.setDate(this.expectedDeliveryDate.getDate() + this.service.internalPlanDaysParam);
53185
+ }
53186
+ this._handled = true;
53187
+ }
53188
+ }
53189
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineExpectedDeliveryDateButtonComponent, deps: [{ token: TransactionHeaderService }, { token: TransactionLineService }, { token: TransactionEventService }, { token: TransactionService }, { token: IconCacheService }, { token: TransactionScreenConfigurationService }, { token: DictionaryService }, { token: TransactionImageService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
53190
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionLineExpectedDeliveryDateButtonComponent, isStandalone: false, selector: "co-transaction-line-expected-delivery-date-button", inputs: { inputLabel: "inputLabel" }, outputs: { showConfirmedDeliveryDateChange: "showConfirmedDeliveryDateChange" }, host: { properties: { "class.co-transaction-line-expected-delivery-date-button": "this.showClass" } }, providers: [
53191
+ OverlayService,
53192
+ {
53193
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
53194
+ useExisting: forwardRef(() => TransactionLineExpectedDeliveryDateButtonComponent)
53195
+ }
53196
+ ], viewQueries: [{ propertyName: "parentComponent", first: true, predicate: ["parentComponent"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
53197
+ <div class="inside-field">
53198
+ @if (inputLabel) {
53199
+ <co-transaction-line-label [insideLabel]="'ESTIMATED_DELIVERY_DATE' | localize"></co-transaction-line-label>
53200
+ }
53201
+ <co-transaction-button #parentComponent
53202
+ class="big center-align"
53203
+ [hidden]="hidden"
53204
+ [readonly]="true"
53205
+ [iconData]="iconCacheService.getIcon(icons.RegularIndustryClock)"
53206
+ [label]="expectedDeliveryDate | date:'d MMM yyyy'"
53207
+ [rightIconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"
53208
+ ></co-transaction-button>
53209
+ </div>
53210
+
53211
+ `, isInline: true, dependencies: [{ kind: "component", type: TransactionButtonComponent, selector: "co-transaction-button", inputs: ["label", "title", "statusColor", "readonly", "hidden", "forceReadonly", "iconData", "rightIconData", "showCheckMarkLoader", "checkMarkOverlayVisible", "inputLabel", "insideLabel"], outputs: ["iconClicked"] }, { kind: "component", type: TransactionLineLabelComponent, selector: "co-transaction-line-label", inputs: ["insideLabel"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
53212
+ }
53213
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineExpectedDeliveryDateButtonComponent, decorators: [{
53214
+ type: Component,
53215
+ args: [{
53216
+ selector: 'co-transaction-line-expected-delivery-date-button',
53217
+ template: `
53218
+ <div class="inside-field">
53219
+ @if (inputLabel) {
53220
+ <co-transaction-line-label [insideLabel]="'ESTIMATED_DELIVERY_DATE' | localize"></co-transaction-line-label>
53221
+ }
53222
+ <co-transaction-button #parentComponent
53223
+ class="big center-align"
53224
+ [hidden]="hidden"
53225
+ [readonly]="true"
53226
+ [iconData]="iconCacheService.getIcon(icons.RegularIndustryClock)"
53227
+ [label]="expectedDeliveryDate | date:'d MMM yyyy'"
53228
+ [rightIconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"
53229
+ ></co-transaction-button>
53230
+ </div>
53231
+
53232
+ `,
53233
+ providers: [
53234
+ OverlayService,
53235
+ {
53236
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
53237
+ useExisting: forwardRef(() => TransactionLineExpectedDeliveryDateButtonComponent)
53238
+ }
53239
+ ],
53240
+ encapsulation: ViewEncapsulation.None,
53241
+ standalone: false
53242
+ }]
53243
+ }], ctorParameters: () => [{ type: TransactionHeaderService }, { type: TransactionLineService }, { type: TransactionEventService }, { type: TransactionService }, { type: IconCacheService }, { type: TransactionScreenConfigurationService }, { type: DictionaryService }, { type: TransactionImageService }, { type: i0.ChangeDetectorRef }], propDecorators: { parentComponent: [{
53244
+ type: ViewChild,
53245
+ args: ['parentComponent', { read: ElementRef }]
53246
+ }], showClass: [{
53247
+ type: HostBinding,
53248
+ args: ['class.co-transaction-line-expected-delivery-date-button']
53249
+ }], inputLabel: [{
53250
+ type: Input
53251
+ }], showConfirmedDeliveryDateChange: [{
53252
+ type: Output
53253
+ }] } });
53254
+
53125
53255
  class TransactionOverviewLineComponent extends TransactionLineBaseComponent {
53126
53256
  orderLineSetService;
53127
53257
  transactionHeaderService;
@@ -53148,6 +53278,7 @@ class TransactionOverviewLineComponent extends TransactionLineBaseComponent {
53148
53278
  }
53149
53279
  stock = StockStatus.Low;
53150
53280
  noLabel = false; // Temp test without labels
53281
+ showEstimatedDeliveryDate = false;
53151
53282
  statusBarConfigNames = {
53152
53283
  statusBarBT: this.cfgNames.StatusBarBT,
53153
53284
  statusBarTG: this.cfgNames.StatusBarTG,
@@ -53197,6 +53328,11 @@ class TransactionOverviewLineComponent extends TransactionLineBaseComponent {
53197
53328
  this.transactionLine.isFormFinal = response.final ? response.final : false;
53198
53329
  this.detectChanges();
53199
53330
  }
53331
+ }), this.screenConfigService.configSet.subscribe((configObjects) => {
53332
+ if (configObjects && configObjects.length > 0) {
53333
+ this.showEstimatedDeliveryDate = (this.screenConfigService.getObjectConfigurationFor(this.cfgNames.LineExpectedDeliveryDateCP) &&
53334
+ this.screenConfigService.getObjectConfigurationFor(this.cfgNames.LineExpectedDeliveryDateCP).immediatelyVisible());
53335
+ }
53200
53336
  }));
53201
53337
  }
53202
53338
  ngOnDestroy() {
@@ -53224,7 +53360,7 @@ class TransactionOverviewLineComponent extends TransactionLineBaseComponent {
53224
53360
  }
53225
53361
  }
53226
53362
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionOverviewLineComponent, deps: [{ token: OrderLineSetService }, { token: TransactionHeaderService }, { token: TransactionLineService }, { token: TransactionEventService }, { token: TransactionConnectorService }, { token: IconCacheService }, { token: TransactionScreenConfigurationService }, { token: TransactionService }, { token: TransactionImageService }, { token: DictionaryService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
53227
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: TransactionOverviewLineComponent, isStandalone: false, selector: "co-transaction-overview-line", inputs: { lineIndex: "lineIndex" }, outputs: { descriptionDblClick: "descriptionDblClick" }, host: { properties: { "class.co-transaction-overview-line": "this.showClass" } }, viewQueries: [{ propertyName: "transactionLineActionButtons", first: true, predicate: TransactionLineActionButtonsComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
53363
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionOverviewLineComponent, isStandalone: false, selector: "co-transaction-overview-line", inputs: { lineIndex: "lineIndex" }, outputs: { descriptionDblClick: "descriptionDblClick" }, host: { properties: { "class.co-transaction-overview-line": "this.showClass" } }, viewQueries: [{ propertyName: "transactionLineActionButtons", first: true, predicate: TransactionLineActionButtonsComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
53228
53364
  <co-transaction-base-line
53229
53365
  [lineIndex]="lineIndex"
53230
53366
  [transactionInfo]="transactionInfo"
@@ -53278,6 +53414,13 @@ class TransactionOverviewLineComponent extends TransactionLineBaseComponent {
53278
53414
  [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
53279
53415
  [inputLabel]="true"
53280
53416
  ></co-transaction-line-delivery-button>
53417
+ @if (showEstimatedDeliveryDate) {
53418
+ <co-transaction-line-expected-delivery-date-button
53419
+ class="transaction-field-wrapper medium transaction-line-delivery-date two-column"
53420
+ [screenConfigurationObject]="cfgNames.LineExpectedDeliveryDateCP"
53421
+ [inputLabel]="true"
53422
+ ></co-transaction-line-expected-delivery-date-button>
53423
+ }
53281
53424
  <co-transaction-line-delivery-date-button
53282
53425
  class="transaction-field-wrapper medium transaction-line-delivery-date two-column"
53283
53426
  [screenConfigurationObject]="cfgNames.LineDeliveryDate"
@@ -53321,7 +53464,7 @@ class TransactionOverviewLineComponent extends TransactionLineBaseComponent {
53321
53464
  </div>
53322
53465
  </ng-container>
53323
53466
  </co-transaction-base-line>
53324
- `, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.IconComponent, selector: "co-icon", inputs: ["icon", "iconData"] }, { kind: "component", type: EditableLabelComponent, selector: "co-editable-label", inputs: ["model", "editModel", "commit", "editMode", "readonly", "crossedOut", "inputLabel", "insideLabel"], outputs: ["editModelChange"] }, { kind: "component", type: TransactionLinePriceComponent, selector: "co-transaction-line-price", inputs: ["showLabel", "showPurchasePrice", "defaultEditMode", "editMode", "inputLabel"] }, { kind: "component", type: TransactionBaseLineComponent, selector: "co-transaction-base-line", inputs: ["lineIndex", "transaction", "transactionInfo", "transactionLine", "selected", "preview", "isFirst", "checkboxValue", "showColorIndicator", "colorIndicatorColor", "checkboxReadonly", "checkbox", "actionButtons", "showPurchaseDescAndPrice", "showArticleNr", "customerPortal", "showPriceAmount"], outputs: ["checkboxValueChanged", "waitingForUserAction"] }, { kind: "component", type: TransactionLineCommissionButtonComponent, selector: "co-transaction-line-commission-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineWarehouseButtonComponent, selector: "co-transaction-line-warehouse-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineDeliveryButtonComponent, selector: "co-transaction-line-delivery-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineDeliveryDateButtonComponent, selector: "co-transaction-line-delivery-date-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineStatusbarComponent, selector: "co-transaction-line-statusbar", inputs: ["configNames", "activeCategory"] }, { kind: "component", type: TransactionLineAmountComponent, selector: "co-transaction-line-amount", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineVatButtonComponent, selector: "co-transaction-line-vat-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineDiscountButtonComponent, selector: "co-transaction-line-discount-button", inputs: ["configNames", "inputLabel"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: TransactionLineDirectSellButtonComponent, selector: "co-transaction-line-direct-sell-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionNavigationButtonListComponent, selector: "co-transaction-navigation-button-list", inputs: ["emptyLabel", "insideLabel", "navigationButtonIcon", "refTransactions", "showRelationButton", "inputLabel", "redService"], outputs: ["relationClick", "transactionClick", "iconClick"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }, { kind: "pipe", type: CoCurrencyPipe, name: "coCurrency" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
53467
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.IconComponent, selector: "co-icon", inputs: ["icon", "iconData"] }, { kind: "component", type: EditableLabelComponent, selector: "co-editable-label", inputs: ["model", "editModel", "commit", "editMode", "readonly", "crossedOut", "inputLabel", "insideLabel"], outputs: ["editModelChange"] }, { kind: "component", type: TransactionLinePriceComponent, selector: "co-transaction-line-price", inputs: ["showLabel", "showPurchasePrice", "defaultEditMode", "editMode", "inputLabel"] }, { kind: "component", type: TransactionBaseLineComponent, selector: "co-transaction-base-line", inputs: ["lineIndex", "transaction", "transactionInfo", "transactionLine", "selected", "preview", "isFirst", "checkboxValue", "showColorIndicator", "colorIndicatorColor", "checkboxReadonly", "checkbox", "actionButtons", "showPurchaseDescAndPrice", "showArticleNr", "customerPortal", "showPriceAmount"], outputs: ["checkboxValueChanged", "waitingForUserAction"] }, { kind: "component", type: TransactionLineCommissionButtonComponent, selector: "co-transaction-line-commission-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineWarehouseButtonComponent, selector: "co-transaction-line-warehouse-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineDeliveryButtonComponent, selector: "co-transaction-line-delivery-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineDeliveryDateButtonComponent, selector: "co-transaction-line-delivery-date-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineStatusbarComponent, selector: "co-transaction-line-statusbar", inputs: ["configNames", "activeCategory"] }, { kind: "component", type: TransactionLineAmountComponent, selector: "co-transaction-line-amount", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineVatButtonComponent, selector: "co-transaction-line-vat-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineDiscountButtonComponent, selector: "co-transaction-line-discount-button", inputs: ["configNames", "inputLabel"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: TransactionLineDirectSellButtonComponent, selector: "co-transaction-line-direct-sell-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionNavigationButtonListComponent, selector: "co-transaction-navigation-button-list", inputs: ["emptyLabel", "insideLabel", "navigationButtonIcon", "refTransactions", "showRelationButton", "inputLabel", "redService"], outputs: ["relationClick", "transactionClick", "iconClick"] }, { kind: "component", type: TransactionLineExpectedDeliveryDateButtonComponent, selector: "co-transaction-line-expected-delivery-date-button", inputs: ["inputLabel"], outputs: ["showConfirmedDeliveryDateChange"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }, { kind: "pipe", type: CoCurrencyPipe, name: "coCurrency" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
53325
53468
  }
53326
53469
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionOverviewLineComponent, decorators: [{
53327
53470
  type: Component,
@@ -53381,6 +53524,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
53381
53524
  [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
53382
53525
  [inputLabel]="true"
53383
53526
  ></co-transaction-line-delivery-button>
53527
+ @if (showEstimatedDeliveryDate) {
53528
+ <co-transaction-line-expected-delivery-date-button
53529
+ class="transaction-field-wrapper medium transaction-line-delivery-date two-column"
53530
+ [screenConfigurationObject]="cfgNames.LineExpectedDeliveryDateCP"
53531
+ [inputLabel]="true"
53532
+ ></co-transaction-line-expected-delivery-date-button>
53533
+ }
53384
53534
  <co-transaction-line-delivery-date-button
53385
53535
  class="transaction-field-wrapper medium transaction-line-delivery-date two-column"
53386
53536
  [screenConfigurationObject]="cfgNames.LineDeliveryDate"
@@ -54952,6 +55102,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
54952
55102
  }]
54953
55103
  }] });
54954
55104
 
55105
+ class TransactionLineExpectedDeliveryDateButtonModule {
55106
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineExpectedDeliveryDateButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
55107
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineExpectedDeliveryDateButtonModule, declarations: [TransactionLineExpectedDeliveryDateButtonComponent], imports: [CommonModule,
55108
+ TransactionButtonModule,
55109
+ TransactionLineLabelModule,
55110
+ PipeModule], exports: [TransactionLineExpectedDeliveryDateButtonComponent] });
55111
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineExpectedDeliveryDateButtonModule, imports: [CommonModule,
55112
+ TransactionButtonModule,
55113
+ TransactionLineLabelModule,
55114
+ PipeModule] });
55115
+ }
55116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineExpectedDeliveryDateButtonModule, decorators: [{
55117
+ type: NgModule,
55118
+ args: [{
55119
+ imports: [
55120
+ CommonModule,
55121
+ TransactionButtonModule,
55122
+ TransactionLineLabelModule,
55123
+ PipeModule
55124
+ ],
55125
+ declarations: [
55126
+ TransactionLineExpectedDeliveryDateButtonComponent
55127
+ ],
55128
+ exports: [
55129
+ TransactionLineExpectedDeliveryDateButtonComponent
55130
+ ]
55131
+ }]
55132
+ }] });
55133
+
54955
55134
  class TransactionOverviewLineModule {
54956
55135
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionOverviewLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
54957
55136
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: TransactionOverviewLineModule, declarations: [TransactionOverviewLineComponent], imports: [CommonModule,
@@ -54984,7 +55163,8 @@ class TransactionOverviewLineModule {
54984
55163
  ScreenConfigurationModule,
54985
55164
  TransactionLineLabelModule,
54986
55165
  TransactionLineDirectSellButtonModule,
54987
- TransactionNavigationButtonListModule], exports: [TransactionOverviewLineComponent] });
55166
+ TransactionNavigationButtonListModule,
55167
+ TransactionLineExpectedDeliveryDateButtonModule], exports: [TransactionOverviewLineComponent] });
54988
55168
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionOverviewLineModule, imports: [CommonModule,
54989
55169
  CoreModule,
54990
55170
  ButtonModule,
@@ -55015,7 +55195,8 @@ class TransactionOverviewLineModule {
55015
55195
  ScreenConfigurationModule,
55016
55196
  TransactionLineLabelModule,
55017
55197
  TransactionLineDirectSellButtonModule,
55018
- TransactionNavigationButtonListModule] });
55198
+ TransactionNavigationButtonListModule,
55199
+ TransactionLineExpectedDeliveryDateButtonModule] });
55019
55200
  }
55020
55201
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionOverviewLineModule, decorators: [{
55021
55202
  type: NgModule,
@@ -55051,7 +55232,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
55051
55232
  ScreenConfigurationModule,
55052
55233
  TransactionLineLabelModule,
55053
55234
  TransactionLineDirectSellButtonModule,
55054
- TransactionNavigationButtonListModule
55235
+ TransactionNavigationButtonListModule,
55236
+ TransactionLineExpectedDeliveryDateButtonModule
55055
55237
  ],
55056
55238
  declarations: [
55057
55239
  TransactionOverviewLineComponent,
@@ -63776,6 +63958,7 @@ class TransactionButtonBarModule {
63776
63958
  [TransactionKind.PurchaseOrder, [
63777
63959
  { title: 'OVERVIEW', icon: Icon.CartShoppingRegular, category: TransactionTypeCategory.PurchaseOrderOverview, component: TransactionPurchaseOverviewButtonBarButtonComponent, cfgName: TransactionCfgName.RubricOverview },
63778
63960
  { title: 'CONFIRMATION', icon: Icon.MemoCircleCheckRegular, category: TransactionTypeCategory.PurchaseOrderOrderConfirmation, component: TransactionPurchaseConfirmationButtonBarButtonComponent, cfgName: TransactionCfgName.RubricConfirmation },
63961
+ { title: 'ACTIVITIES', icon: Icon.RegularGearCircleUser, category: TransactionTypeCategory.PurchaseOrderActivities, component: TransactionActivitiesButtonBarButtonComponent, cfgName: TransactionCfgName.RubricActivities },
63779
63962
  { title: 'ORDERING_STICKER', icon: Icon.PrintPriceTag, category: TransactionTypeCategory.PurchaseOrderSticker, cfgName: TransactionCfgName.RubricOrdering },
63780
63963
  { title: 'TRANSPORT', icon: Icon.TruckContainerSolid, category: TransactionTypeCategory.PurchaseOrderTransport, cfgName: TransactionCfgName.RubricTransport },
63781
63964
  { title: 'RECEIVED', icon: Icon.CartFlatbedBoxesSolid, category: TransactionTypeCategory.PurchaseOrderReceivedGoods, component: TransactionPurchaseReceiveGoodsButtonBarButtonComponent, cfgName: TransactionCfgName.RubricReceived },
@@ -63866,6 +64049,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
63866
64049
  [TransactionKind.PurchaseOrder, [
63867
64050
  { title: 'OVERVIEW', icon: Icon.CartShoppingRegular, category: TransactionTypeCategory.PurchaseOrderOverview, component: TransactionPurchaseOverviewButtonBarButtonComponent, cfgName: TransactionCfgName.RubricOverview },
63868
64051
  { title: 'CONFIRMATION', icon: Icon.MemoCircleCheckRegular, category: TransactionTypeCategory.PurchaseOrderOrderConfirmation, component: TransactionPurchaseConfirmationButtonBarButtonComponent, cfgName: TransactionCfgName.RubricConfirmation },
64052
+ { title: 'ACTIVITIES', icon: Icon.RegularGearCircleUser, category: TransactionTypeCategory.PurchaseOrderActivities, component: TransactionActivitiesButtonBarButtonComponent, cfgName: TransactionCfgName.RubricActivities },
63869
64053
  { title: 'ORDERING_STICKER', icon: Icon.PrintPriceTag, category: TransactionTypeCategory.PurchaseOrderSticker, cfgName: TransactionCfgName.RubricOrdering },
63870
64054
  { title: 'TRANSPORT', icon: Icon.TruckContainerSolid, category: TransactionTypeCategory.PurchaseOrderTransport, cfgName: TransactionCfgName.RubricTransport },
63871
64055
  { title: 'RECEIVED', icon: Icon.CartFlatbedBoxesSolid, category: TransactionTypeCategory.PurchaseOrderReceivedGoods, component: TransactionPurchaseReceiveGoodsButtonBarButtonComponent, cfgName: TransactionCfgName.RubricReceived },
@@ -83821,7 +84005,7 @@ class TransactionHeaderPaymentComponent extends TransactionHeaderBaseComponent {
83821
84005
  </div>
83822
84006
  </ng-template>
83823
84007
  <ng-template #firstBlockRest>
83824
- <div class="transaction-header-block-row" [screenConfigurationObject]="cfgNames.RemainingPayment">
84008
+ <div class="transaction-header-block-row">
83825
84009
  <div class="header-remaining-payment-amount-wrapper"
83826
84010
  [screenConfigNativeElement]="true"
83827
84011
  [screenConfigurationObject]="cfgNames.HeaderPaymentAmountHeader"
@@ -83872,6 +84056,7 @@ class TransactionHeaderPaymentComponent extends TransactionHeaderBaseComponent {
83872
84056
  </div>
83873
84057
  <div
83874
84058
  class="header-payment-button-wrapper"
84059
+ [screenConfigNativeElement]="true"
83875
84060
  [screenConfigurationObject]="cfgNames.HeaderPaymentPaymentHeader"
83876
84061
  (click)="openPayment($event)">
83877
84062
  <co-icon class="header-order-icon" [iconData]="iconCacheService.getIcon(icons.CreditCardRegularCheck)"></co-icon>
@@ -83963,7 +84148,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
83963
84148
  </div>
83964
84149
  </ng-template>
83965
84150
  <ng-template #firstBlockRest>
83966
- <div class="transaction-header-block-row" [screenConfigurationObject]="cfgNames.RemainingPayment">
84151
+ <div class="transaction-header-block-row">
83967
84152
  <div class="header-remaining-payment-amount-wrapper"
83968
84153
  [screenConfigNativeElement]="true"
83969
84154
  [screenConfigurationObject]="cfgNames.HeaderPaymentAmountHeader"
@@ -84014,6 +84199,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
84014
84199
  </div>
84015
84200
  <div
84016
84201
  class="header-payment-button-wrapper"
84202
+ [screenConfigNativeElement]="true"
84017
84203
  [screenConfigurationObject]="cfgNames.HeaderPaymentPaymentHeader"
84018
84204
  (click)="openPayment($event)">
84019
84205
  <co-icon class="header-order-icon" [iconData]="iconCacheService.getIcon(icons.CreditCardRegularCheck)"></co-icon>
@@ -88060,8 +88246,12 @@ class TransactionInternalComponent {
88060
88246
  [screenConfigNativeElement]="true"
88061
88247
  [showBranchNr]="true">
88062
88248
  </co-avatar>
88063
- @if (!shouldShowTiles() && showViewModeButtons) {
88064
- <co-view-mode-buttons
88249
+ @if (!shouldShowTiles() &&
88250
+ showViewModeButtons &&
88251
+ activeCategory !== category.SalesOrderActivities &&
88252
+ activeCategory !== category.PurchaseOrderActivities &&
88253
+ activeCategory !== category.SalesOrderQuotationActivities) {
88254
+ <co-view-mode-buttons
88065
88255
  [showViewModes]="[viewModes.List, viewModes.Tiles]"
88066
88256
  (viewModeChange)="handleViewModeChange($event)">
88067
88257
  </co-view-mode-buttons>
@@ -88077,8 +88267,12 @@ class TransactionInternalComponent {
88077
88267
  <co-transaction-service-overview [posOrderData]="posOrderData"></co-transaction-service-overview>
88078
88268
  </div>
88079
88269
  }
88080
- @if (activeCategory === category.SalesOrderActivities || activeCategory === category.SalesOrderQuotationActivities && transaction && transaction.transactionInfo && transaction.transactionInfo.transactionKind === 'O') {
88081
- <div>
88270
+ @if (activeCategory === category.SalesOrderActivities ||
88271
+ activeCategory === category.PurchaseOrderActivities ||
88272
+ activeCategory === category.SalesOrderQuotationActivities &&
88273
+ transaction && transaction.transactionInfo &&
88274
+ transaction.transactionInfo.transactionKind === 'O') {
88275
+ <div>
88082
88276
  <co-transaction-line-activities [transactionId]="transaction.transactionInfo.id"></co-transaction-line-activities>
88083
88277
  </div>
88084
88278
  }
@@ -88093,6 +88287,7 @@ class TransactionInternalComponent {
88093
88287
  @if ((activeViewMode === viewModes.List && !shouldShowTiles()) &&
88094
88288
  activeCategory !== category.ServiceOrderService &&
88095
88289
  activeCategory !== category.SalesOrderActivities &&
88290
+ activeCategory !== category.PurchaseOrderActivities &&
88096
88291
  activeCategory !== category.SalesOrderQuotationActivities) {
88097
88292
  <div class="transaction-lines-wrapper"
88098
88293
  >
@@ -88105,7 +88300,8 @@ class TransactionInternalComponent {
88105
88300
  }
88106
88301
 
88107
88302
  @if (activeCategory !== category.SalesOrderQuotationActivities &&
88108
- activeCategory !== category.SalesOrderActivities) {
88303
+ activeCategory !== category.SalesOrderActivities &&
88304
+ activeCategory !== category.PurchaseOrderActivities) {
88109
88305
  <div class="transaction-footer-wrapper">
88110
88306
  <div class="transaction-footer-left">
88111
88307
  @if (!service.invalidTransaction) {
@@ -88304,8 +88500,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
88304
88500
  [screenConfigNativeElement]="true"
88305
88501
  [showBranchNr]="true">
88306
88502
  </co-avatar>
88307
- @if (!shouldShowTiles() && showViewModeButtons) {
88308
- <co-view-mode-buttons
88503
+ @if (!shouldShowTiles() &&
88504
+ showViewModeButtons &&
88505
+ activeCategory !== category.SalesOrderActivities &&
88506
+ activeCategory !== category.PurchaseOrderActivities &&
88507
+ activeCategory !== category.SalesOrderQuotationActivities) {
88508
+ <co-view-mode-buttons
88309
88509
  [showViewModes]="[viewModes.List, viewModes.Tiles]"
88310
88510
  (viewModeChange)="handleViewModeChange($event)">
88311
88511
  </co-view-mode-buttons>
@@ -88321,8 +88521,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
88321
88521
  <co-transaction-service-overview [posOrderData]="posOrderData"></co-transaction-service-overview>
88322
88522
  </div>
88323
88523
  }
88324
- @if (activeCategory === category.SalesOrderActivities || activeCategory === category.SalesOrderQuotationActivities && transaction && transaction.transactionInfo && transaction.transactionInfo.transactionKind === 'O') {
88325
- <div>
88524
+ @if (activeCategory === category.SalesOrderActivities ||
88525
+ activeCategory === category.PurchaseOrderActivities ||
88526
+ activeCategory === category.SalesOrderQuotationActivities &&
88527
+ transaction && transaction.transactionInfo &&
88528
+ transaction.transactionInfo.transactionKind === 'O') {
88529
+ <div>
88326
88530
  <co-transaction-line-activities [transactionId]="transaction.transactionInfo.id"></co-transaction-line-activities>
88327
88531
  </div>
88328
88532
  }
@@ -88337,6 +88541,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
88337
88541
  @if ((activeViewMode === viewModes.List && !shouldShowTiles()) &&
88338
88542
  activeCategory !== category.ServiceOrderService &&
88339
88543
  activeCategory !== category.SalesOrderActivities &&
88544
+ activeCategory !== category.PurchaseOrderActivities &&
88340
88545
  activeCategory !== category.SalesOrderQuotationActivities) {
88341
88546
  <div class="transaction-lines-wrapper"
88342
88547
  >
@@ -88349,7 +88554,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
88349
88554
  }
88350
88555
 
88351
88556
  @if (activeCategory !== category.SalesOrderQuotationActivities &&
88352
- activeCategory !== category.SalesOrderActivities) {
88557
+ activeCategory !== category.SalesOrderActivities &&
88558
+ activeCategory !== category.PurchaseOrderActivities) {
88353
88559
  <div class="transaction-footer-wrapper">
88354
88560
  <div class="transaction-footer-left">
88355
88561
  @if (!service.invalidTransaction) {