@colijnit/transaction 262.1.22 → 262.1.23
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
|
|
@@ -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.23";
|
|
359
|
+
publishDate = "19-6-2026, 17:19:12";
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
class CheckoutModuleService extends BaseModuleService {
|
|
@@ -4403,8 +4403,8 @@ class TransactionConnectorAdapterService {
|
|
|
4403
4403
|
transactionUuid: uuid,
|
|
4404
4404
|
orderDiscountType: type,
|
|
4405
4405
|
discountValue: amount,
|
|
4406
|
-
|
|
4407
|
-
|
|
4406
|
+
newDiscountReason: reason,
|
|
4407
|
+
newDiscountCode: code
|
|
4408
4408
|
};
|
|
4409
4409
|
const response = await this.connector.setTransactionDiscounts(request);
|
|
4410
4410
|
if (response && response.validationResult && response.validationResult.success) {
|
|
@@ -51388,18 +51388,9 @@ class TransactionLineDeliveryDateButtonComponent extends TransactionLineBaseComp
|
|
|
51388
51388
|
: new Date())
|
|
51389
51389
|
}, {
|
|
51390
51390
|
dateSelected: (date) => this._handleDateChanged(date),
|
|
51391
|
-
clickedOutside: () => this.
|
|
51391
|
+
clickedOutside: () => this._hidePopup()
|
|
51392
51392
|
});
|
|
51393
51393
|
}
|
|
51394
|
-
// private _handleDateChanged(date: Date): void {
|
|
51395
|
-
// if (this.commitWhenDateSelected) {
|
|
51396
|
-
// this.handleCommit(date);
|
|
51397
|
-
// } else {
|
|
51398
|
-
// this.transactionLine.deliveryDate = date;
|
|
51399
|
-
// this.handleShowHideClick();
|
|
51400
|
-
// this.detectChanges();
|
|
51401
|
-
// }
|
|
51402
|
-
// }
|
|
51403
51394
|
_handleDateChanged(date) {
|
|
51404
51395
|
this.handleCommit(date);
|
|
51405
51396
|
}
|
|
@@ -51407,30 +51398,17 @@ class TransactionLineDeliveryDateButtonComponent extends TransactionLineBaseComp
|
|
|
51407
51398
|
this.showCalender = false;
|
|
51408
51399
|
this._overlayService.removeComponent(this._calendarPopupComponentRef);
|
|
51409
51400
|
}
|
|
51410
|
-
// protected async commit(date: Date): Promise<boolean> {
|
|
51411
|
-
// if (this.transactionLine.deliveryDate !== date) {
|
|
51412
|
-
// const oldDate = this.transactionLine.deliveryDate;
|
|
51413
|
-
// const success = await this.transactionService.updateDeliveryDateTransactionLine(this.transactionInfo.uuid, this.transactionLine.uuid, date);
|
|
51414
|
-
// if (!success) {
|
|
51415
|
-
// this.transactionLine.deliveryDate = oldDate;
|
|
51416
|
-
// } else {
|
|
51417
|
-
// this.handleShowHideClick();
|
|
51418
|
-
// }
|
|
51419
|
-
// return success;
|
|
51420
|
-
// }
|
|
51421
|
-
// return true;
|
|
51422
|
-
// }
|
|
51423
51401
|
async commit(date) {
|
|
51424
51402
|
if (this.transactionLine.deliveryDate !== date) {
|
|
51425
51403
|
const oldDate = this.transactionLine.deliveryDate;
|
|
51426
51404
|
const success = await this.transactionService.updateDeliveryDateTransactionLine(this.transactionInfo.uuid, this.transactionLine.uuid, date);
|
|
51427
51405
|
!success && (this.transactionLine.deliveryDate = oldDate);
|
|
51428
|
-
this.
|
|
51406
|
+
this._hidePopup();
|
|
51429
51407
|
this.detectChanges();
|
|
51430
51408
|
return success;
|
|
51431
51409
|
}
|
|
51432
51410
|
else {
|
|
51433
|
-
this.
|
|
51411
|
+
this._hidePopup();
|
|
51434
51412
|
this.detectChanges();
|
|
51435
51413
|
return true;
|
|
51436
51414
|
}
|
|
@@ -51442,44 +51420,44 @@ class TransactionLineDeliveryDateButtonComponent extends TransactionLineBaseComp
|
|
|
51442
51420
|
provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
51443
51421
|
useExisting: forwardRef(() => TransactionLineDeliveryDateButtonComponent)
|
|
51444
51422
|
}
|
|
51445
|
-
], viewQueries: [{ propertyName: "parentComponent", first: true, predicate: ["parentComponent"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
51446
|
-
<div class="inside-field">
|
|
51447
|
-
@if (inputLabel) {
|
|
51448
|
-
<co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
|
|
51449
|
-
}
|
|
51450
|
-
<co-transaction-button
|
|
51451
|
-
#parentComponent
|
|
51452
|
-
class="big center-align"
|
|
51453
|
-
[hidden]="hidden"
|
|
51454
|
-
[readonly]="readonly"
|
|
51455
|
-
[iconData]="iconCacheService.getIcon(icons.SharpLightTruckMovingClock)"
|
|
51456
|
-
[label]="transactionLine.deliveryDate | date:'d MMM yyyy'"
|
|
51457
|
-
[rightIconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"
|
|
51458
|
-
(click)="handleShowHideClick()">
|
|
51459
|
-
</co-transaction-button>
|
|
51460
|
-
</div>
|
|
51423
|
+
], viewQueries: [{ propertyName: "parentComponent", first: true, predicate: ["parentComponent"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
51424
|
+
<div class="inside-field">
|
|
51425
|
+
@if (inputLabel) {
|
|
51426
|
+
<co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
|
|
51427
|
+
}
|
|
51428
|
+
<co-transaction-button
|
|
51429
|
+
#parentComponent
|
|
51430
|
+
class="big center-align"
|
|
51431
|
+
[hidden]="hidden"
|
|
51432
|
+
[readonly]="readonly"
|
|
51433
|
+
[iconData]="iconCacheService.getIcon(icons.SharpLightTruckMovingClock)"
|
|
51434
|
+
[label]="transactionLine.deliveryDate | date:'d MMM yyyy'"
|
|
51435
|
+
[rightIconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"
|
|
51436
|
+
(click)="handleShowHideClick()">
|
|
51437
|
+
</co-transaction-button>
|
|
51438
|
+
</div>
|
|
51461
51439
|
`, 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" }], encapsulation: i0.ViewEncapsulation.None });
|
|
51462
51440
|
}
|
|
51463
51441
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineDeliveryDateButtonComponent, decorators: [{
|
|
51464
51442
|
type: Component,
|
|
51465
51443
|
args: [{
|
|
51466
51444
|
selector: "co-transaction-line-delivery-date-button",
|
|
51467
|
-
template: `
|
|
51468
|
-
<div class="inside-field">
|
|
51469
|
-
@if (inputLabel) {
|
|
51470
|
-
<co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
|
|
51471
|
-
}
|
|
51472
|
-
<co-transaction-button
|
|
51473
|
-
#parentComponent
|
|
51474
|
-
class="big center-align"
|
|
51475
|
-
[hidden]="hidden"
|
|
51476
|
-
[readonly]="readonly"
|
|
51477
|
-
[iconData]="iconCacheService.getIcon(icons.SharpLightTruckMovingClock)"
|
|
51478
|
-
[label]="transactionLine.deliveryDate | date:'d MMM yyyy'"
|
|
51479
|
-
[rightIconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"
|
|
51480
|
-
(click)="handleShowHideClick()">
|
|
51481
|
-
</co-transaction-button>
|
|
51482
|
-
</div>
|
|
51445
|
+
template: `
|
|
51446
|
+
<div class="inside-field">
|
|
51447
|
+
@if (inputLabel) {
|
|
51448
|
+
<co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
|
|
51449
|
+
}
|
|
51450
|
+
<co-transaction-button
|
|
51451
|
+
#parentComponent
|
|
51452
|
+
class="big center-align"
|
|
51453
|
+
[hidden]="hidden"
|
|
51454
|
+
[readonly]="readonly"
|
|
51455
|
+
[iconData]="iconCacheService.getIcon(icons.SharpLightTruckMovingClock)"
|
|
51456
|
+
[label]="transactionLine.deliveryDate | date:'d MMM yyyy'"
|
|
51457
|
+
[rightIconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"
|
|
51458
|
+
(click)="handleShowHideClick()">
|
|
51459
|
+
</co-transaction-button>
|
|
51460
|
+
</div>
|
|
51483
51461
|
`,
|
|
51484
51462
|
providers: [
|
|
51485
51463
|
OverlayService,
|
|
@@ -56663,7 +56641,7 @@ class TransactionLineConfirmedDeliveryDateButtonComponent extends TransactionLin
|
|
|
56663
56641
|
this._checkConfirmedDeliveryDate();
|
|
56664
56642
|
}
|
|
56665
56643
|
async _checkConfirmedDeliveryDate() {
|
|
56666
|
-
if (this.transactionInfo && this.transactionLine && this.transactionLine.lineNr && !this.confirmedDeliveryDate &&
|
|
56644
|
+
if (this.transactionInfo && this.transactionLine && this.transactionLine.lineNr && !this.confirmedDeliveryDate && !this._handled) {
|
|
56667
56645
|
this.confirmedDeliveryDate = await this.transactionService.getFirstConfirmedDeliveryDateForTransactionLine(this.transactionInfo.id, this.transactionLine.lineNr);
|
|
56668
56646
|
this._handled = true;
|
|
56669
56647
|
this._checkDates();
|
|
@@ -56687,44 +56665,44 @@ class TransactionLineConfirmedDeliveryDateButtonComponent extends TransactionLin
|
|
|
56687
56665
|
provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
56688
56666
|
useExisting: forwardRef(() => TransactionLineConfirmedDeliveryDateButtonComponent)
|
|
56689
56667
|
}
|
|
56690
|
-
], viewQueries: [{ propertyName: "parentComponent", first: true, predicate: ["parentComponent"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
56691
|
-
<div class="inside-field">
|
|
56692
|
-
@if (inputLabel) {
|
|
56693
|
-
<co-transaction-line-label [insideLabel]="'DELIVERY_DATE' | localize"></co-transaction-line-label>
|
|
56694
|
-
}
|
|
56695
|
-
<co-transaction-button #parentComponent
|
|
56696
|
-
class="big center-align"
|
|
56697
|
-
[hidden]="hidden"
|
|
56698
|
-
[readonly]="readonly"
|
|
56699
|
-
[class.transaction-red-label]="isConfirmedDateLater"
|
|
56700
|
-
[iconData]="iconCacheService.getIcon(icons.RegularIndustryClock)"
|
|
56701
|
-
[label]="confirmedDeliveryDate | date:'d MMM yyyy'"
|
|
56702
|
-
[rightIconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"
|
|
56703
|
-
></co-transaction-button>
|
|
56704
|
-
</div>
|
|
56705
|
-
|
|
56668
|
+
], viewQueries: [{ propertyName: "parentComponent", first: true, predicate: ["parentComponent"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
56669
|
+
<div class="inside-field">
|
|
56670
|
+
@if (inputLabel) {
|
|
56671
|
+
<co-transaction-line-label [insideLabel]="'DELIVERY_DATE' | localize"></co-transaction-line-label>
|
|
56672
|
+
}
|
|
56673
|
+
<co-transaction-button #parentComponent
|
|
56674
|
+
class="big center-align"
|
|
56675
|
+
[hidden]="hidden"
|
|
56676
|
+
[readonly]="readonly"
|
|
56677
|
+
[class.transaction-red-label]="isConfirmedDateLater"
|
|
56678
|
+
[iconData]="iconCacheService.getIcon(icons.RegularIndustryClock)"
|
|
56679
|
+
[label]="confirmedDeliveryDate | date:'d MMM yyyy'"
|
|
56680
|
+
[rightIconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"
|
|
56681
|
+
></co-transaction-button>
|
|
56682
|
+
</div>
|
|
56683
|
+
|
|
56706
56684
|
`, 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 });
|
|
56707
56685
|
}
|
|
56708
56686
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineConfirmedDeliveryDateButtonComponent, decorators: [{
|
|
56709
56687
|
type: Component,
|
|
56710
56688
|
args: [{
|
|
56711
56689
|
selector: 'co-transaction-line-confirmed-delivery-date-button',
|
|
56712
|
-
template: `
|
|
56713
|
-
<div class="inside-field">
|
|
56714
|
-
@if (inputLabel) {
|
|
56715
|
-
<co-transaction-line-label [insideLabel]="'DELIVERY_DATE' | localize"></co-transaction-line-label>
|
|
56716
|
-
}
|
|
56717
|
-
<co-transaction-button #parentComponent
|
|
56718
|
-
class="big center-align"
|
|
56719
|
-
[hidden]="hidden"
|
|
56720
|
-
[readonly]="readonly"
|
|
56721
|
-
[class.transaction-red-label]="isConfirmedDateLater"
|
|
56722
|
-
[iconData]="iconCacheService.getIcon(icons.RegularIndustryClock)"
|
|
56723
|
-
[label]="confirmedDeliveryDate | date:'d MMM yyyy'"
|
|
56724
|
-
[rightIconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"
|
|
56725
|
-
></co-transaction-button>
|
|
56726
|
-
</div>
|
|
56727
|
-
|
|
56690
|
+
template: `
|
|
56691
|
+
<div class="inside-field">
|
|
56692
|
+
@if (inputLabel) {
|
|
56693
|
+
<co-transaction-line-label [insideLabel]="'DELIVERY_DATE' | localize"></co-transaction-line-label>
|
|
56694
|
+
}
|
|
56695
|
+
<co-transaction-button #parentComponent
|
|
56696
|
+
class="big center-align"
|
|
56697
|
+
[hidden]="hidden"
|
|
56698
|
+
[readonly]="readonly"
|
|
56699
|
+
[class.transaction-red-label]="isConfirmedDateLater"
|
|
56700
|
+
[iconData]="iconCacheService.getIcon(icons.RegularIndustryClock)"
|
|
56701
|
+
[label]="confirmedDeliveryDate | date:'d MMM yyyy'"
|
|
56702
|
+
[rightIconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"
|
|
56703
|
+
></co-transaction-button>
|
|
56704
|
+
</div>
|
|
56705
|
+
|
|
56728
56706
|
`,
|
|
56729
56707
|
providers: [
|
|
56730
56708
|
OverlayService,
|
|
@@ -85624,6 +85602,7 @@ class TransactionServiceOverviewComponent extends TransactionHeaderBaseComponent
|
|
|
85624
85602
|
this.priorityModel = this.priorityDomainColl.find(p => p.codeAsNumber === this.transactionServiceInfo.priority);
|
|
85625
85603
|
this.causeCodeModel = this.causeCodeColl.find(c => c.causeCode === this.transactionServiceInfo.causeCode);
|
|
85626
85604
|
this.entryTypeModel = this.entryTypeColl.find(e => e.code === this.transactionServiceInfo.entryType);
|
|
85605
|
+
await this.fullActivitiesRefreshRequested();
|
|
85627
85606
|
}
|
|
85628
85607
|
ngOnDestroy() {
|
|
85629
85608
|
}
|
|
@@ -85827,6 +85806,7 @@ class TransactionServiceOverviewComponent extends TransactionHeaderBaseComponent
|
|
|
85827
85806
|
[showYear]="false"
|
|
85828
85807
|
[hideInitialWorkflowTasks]="true"
|
|
85829
85808
|
(activitiesLoaded)="scrollActivitiesToBottom()"
|
|
85809
|
+
(refreshRequested)="fullActivitiesRefreshRequested()"
|
|
85830
85810
|
></co-activity-timeline>
|
|
85831
85811
|
</div>
|
|
85832
85812
|
<co-task-creator [table]="TableName.Transactions" [remarkAndWorkKey]="transactionInfo?.id?.toString()"
|
|
@@ -85865,7 +85845,7 @@ class TransactionServiceOverviewComponent extends TransactionHeaderBaseComponent
|
|
|
85865
85845
|
</div>
|
|
85866
85846
|
</div>
|
|
85867
85847
|
|
|
85868
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.ListOfValuesComponent, selector: "co-list-of-values", inputs: ["model", "multiselect", "showToggleAll", "largeCollection", "displayField", "optionIcon", "collection", "collectionLoadFn", "collectionLoadFnProp", "leftIconData", "searchPlaceholder", "searchDisabled", "showChips"] }, { kind: "component", type: i2.FilesUploadComponent, selector: "co-files-upload", inputs: ["dropzone", "label", "cfgNames", "customImageClick", "isEditable", "hideAvatars", "fileSavesOnPopupOkClick", "selected"], outputs: ["editSlideoutSubmit", "tagsChangeEvent", "imageClick"] }, { kind: "component", type: i2.ComponentActivityListComponent, selector: "co-component-activity-list", inputs: ["table", "key", "showActivityHeader", "hideTitle", "noFreeTasks", "customTitle", "userGroupId", "relationId", "branchNo", "draggableActivities", "taskView", "componentActivitiesMethod", "setHasPausedNotificationsForWorkflowProcessOperation", "activitiesList"], outputs: ["openLinkClick", "amountActivityChanged", "linkClicked", "formCreated", "refreshRequested", "showUsergroupActivitiesChanged", "activityDragStarted"] }, { kind: "component", type: i2.TaskCreatorComponent, selector: "co-task-creator", inputs: ["author", "branchNo", "table", "remarkAndWorkKey", "taskKey", "workflowCategoryType", "allowRemarkCreation", "allowWorkCreation", "allowTaskCreation", "allowEmailing"], outputs: ["activityCreated", "taskCreated"] }, { kind: "component", type: TransactionLinesSidePanelComponent, selector: "co-transaction-lines-side-panel", inputs: ["transaction", "posOrderData"] }, { kind: "component", type: TransactionServiceMessageComponent, selector: "co-transaction-service-message" }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: i2.ActivityTimelineComponent, selector: "co-activity-timeline", inputs: ["cfgNames", "collection", "readonly", "key", "table", "workflowCategory", "reference", "hideNew", "showPlusButton", "showOnTop", "canEditTask", "canDeleteTask", "allowNewTask", "autoSave", "loggedInUser", "inverted", "editActivities", "showYear", "hideInitialWorkflowTasks"], outputs: ["saveActivity", "onDeleteActivity", "statusChange", "activitiesLoaded"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
85848
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.ListOfValuesComponent, selector: "co-list-of-values", inputs: ["model", "multiselect", "showToggleAll", "largeCollection", "displayField", "optionIcon", "collection", "collectionLoadFn", "collectionLoadFnProp", "leftIconData", "searchPlaceholder", "searchDisabled", "showChips"] }, { kind: "component", type: i2.FilesUploadComponent, selector: "co-files-upload", inputs: ["dropzone", "label", "cfgNames", "customImageClick", "isEditable", "hideAvatars", "fileSavesOnPopupOkClick", "selected"], outputs: ["editSlideoutSubmit", "tagsChangeEvent", "imageClick"] }, { kind: "component", type: i2.ComponentActivityListComponent, selector: "co-component-activity-list", inputs: ["table", "key", "showActivityHeader", "hideTitle", "noFreeTasks", "customTitle", "userGroupId", "relationId", "branchNo", "draggableActivities", "taskView", "hideInitialWorkflowTasks", "componentActivitiesMethod", "setHasPausedNotificationsForWorkflowProcessOperation", "activitiesList"], outputs: ["openLinkClick", "amountActivityChanged", "linkClicked", "formCreated", "refreshRequested", "showUsergroupActivitiesChanged", "activityDragStarted"] }, { kind: "component", type: i2.TaskCreatorComponent, selector: "co-task-creator", inputs: ["author", "branchNo", "table", "remarkAndWorkKey", "taskKey", "workflowCategoryType", "allowRemarkCreation", "allowWorkCreation", "allowTaskCreation", "allowEmailing"], outputs: ["activityCreated", "taskCreated"] }, { kind: "component", type: TransactionLinesSidePanelComponent, selector: "co-transaction-lines-side-panel", inputs: ["transaction", "posOrderData"] }, { kind: "component", type: TransactionServiceMessageComponent, selector: "co-transaction-service-message" }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: i2.ActivityTimelineComponent, selector: "co-activity-timeline", inputs: ["cfgNames", "collection", "readonly", "key", "table", "workflowCategory", "reference", "hideNew", "showPlusButton", "showOnTop", "canEditTask", "canDeleteTask", "allowNewTask", "autoSave", "loggedInUser", "inverted", "editActivities", "showYear", "hideInitialWorkflowTasks"], outputs: ["saveActivity", "onDeleteActivity", "statusChange", "activitiesLoaded", "refreshRequested"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
85869
85849
|
}
|
|
85870
85850
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionServiceOverviewComponent, decorators: [{
|
|
85871
85851
|
type: Component,
|
|
@@ -85926,6 +85906,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
85926
85906
|
[showYear]="false"
|
|
85927
85907
|
[hideInitialWorkflowTasks]="true"
|
|
85928
85908
|
(activitiesLoaded)="scrollActivitiesToBottom()"
|
|
85909
|
+
(refreshRequested)="fullActivitiesRefreshRequested()"
|
|
85929
85910
|
></co-activity-timeline>
|
|
85930
85911
|
</div>
|
|
85931
85912
|
<co-task-creator [table]="TableName.Transactions" [remarkAndWorkKey]="transactionInfo?.id?.toString()"
|
|
@@ -87593,7 +87574,7 @@ class TransactionLineActivitiesComponent {
|
|
|
87593
87574
|
</div>
|
|
87594
87575
|
</div>
|
|
87595
87576
|
</div>
|
|
87596
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i2.TaskCreatorComponent, selector: "co-task-creator", inputs: ["author", "branchNo", "table", "remarkAndWorkKey", "taskKey", "workflowCategoryType", "allowRemarkCreation", "allowWorkCreation", "allowTaskCreation", "allowEmailing"], outputs: ["activityCreated", "taskCreated"] }, { kind: "component", type: i2.ComponentActivityListComponent, selector: "co-component-activity-list", inputs: ["table", "key", "showActivityHeader", "hideTitle", "noFreeTasks", "customTitle", "userGroupId", "relationId", "branchNo", "draggableActivities", "taskView", "componentActivitiesMethod", "setHasPausedNotificationsForWorkflowProcessOperation", "activitiesList"], outputs: ["openLinkClick", "amountActivityChanged", "linkClicked", "formCreated", "refreshRequested", "showUsergroupActivitiesChanged", "activityDragStarted"] }, { kind: "component", type: TransactionLineActivitiesContactMomentsComponent, selector: "co-transaction-line-activities-contact-moments", inputs: ["table", "key"] }, { kind: "component", type: i2.ActivityTimelineComponent, selector: "co-activity-timeline", inputs: ["cfgNames", "collection", "readonly", "key", "table", "workflowCategory", "reference", "hideNew", "showPlusButton", "showOnTop", "canEditTask", "canDeleteTask", "allowNewTask", "autoSave", "loggedInUser", "inverted", "editActivities", "showYear", "hideInitialWorkflowTasks"], outputs: ["saveActivity", "onDeleteActivity", "statusChange", "activitiesLoaded"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
87577
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i2.TaskCreatorComponent, selector: "co-task-creator", inputs: ["author", "branchNo", "table", "remarkAndWorkKey", "taskKey", "workflowCategoryType", "allowRemarkCreation", "allowWorkCreation", "allowTaskCreation", "allowEmailing"], outputs: ["activityCreated", "taskCreated"] }, { kind: "component", type: i2.ComponentActivityListComponent, selector: "co-component-activity-list", inputs: ["table", "key", "showActivityHeader", "hideTitle", "noFreeTasks", "customTitle", "userGroupId", "relationId", "branchNo", "draggableActivities", "taskView", "hideInitialWorkflowTasks", "componentActivitiesMethod", "setHasPausedNotificationsForWorkflowProcessOperation", "activitiesList"], outputs: ["openLinkClick", "amountActivityChanged", "linkClicked", "formCreated", "refreshRequested", "showUsergroupActivitiesChanged", "activityDragStarted"] }, { kind: "component", type: TransactionLineActivitiesContactMomentsComponent, selector: "co-transaction-line-activities-contact-moments", inputs: ["table", "key"] }, { kind: "component", type: i2.ActivityTimelineComponent, selector: "co-activity-timeline", inputs: ["cfgNames", "collection", "readonly", "key", "table", "workflowCategory", "reference", "hideNew", "showPlusButton", "showOnTop", "canEditTask", "canDeleteTask", "allowNewTask", "autoSave", "loggedInUser", "inverted", "editActivities", "showYear", "hideInitialWorkflowTasks"], outputs: ["saveActivity", "onDeleteActivity", "statusChange", "activitiesLoaded", "refreshRequested"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
87597
87578
|
}
|
|
87598
87579
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineActivitiesComponent, decorators: [{
|
|
87599
87580
|
type: Component,
|
|
@@ -87844,7 +87825,7 @@ class TransactionLinePlanningTasksComponent {
|
|
|
87844
87825
|
[key]="transactionId.toString()">
|
|
87845
87826
|
</co-component-activity-list>
|
|
87846
87827
|
</div>
|
|
87847
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i2.ComponentActivityListComponent, selector: "co-component-activity-list", inputs: ["table", "key", "showActivityHeader", "hideTitle", "noFreeTasks", "customTitle", "userGroupId", "relationId", "branchNo", "draggableActivities", "taskView", "componentActivitiesMethod", "setHasPausedNotificationsForWorkflowProcessOperation", "activitiesList"], outputs: ["openLinkClick", "amountActivityChanged", "linkClicked", "formCreated", "refreshRequested", "showUsergroupActivitiesChanged", "activityDragStarted"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
87828
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i2.ComponentActivityListComponent, selector: "co-component-activity-list", inputs: ["table", "key", "showActivityHeader", "hideTitle", "noFreeTasks", "customTitle", "userGroupId", "relationId", "branchNo", "draggableActivities", "taskView", "hideInitialWorkflowTasks", "componentActivitiesMethod", "setHasPausedNotificationsForWorkflowProcessOperation", "activitiesList"], outputs: ["openLinkClick", "amountActivityChanged", "linkClicked", "formCreated", "refreshRequested", "showUsergroupActivitiesChanged", "activityDragStarted"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
87848
87829
|
}
|
|
87849
87830
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLinePlanningTasksComponent, decorators: [{
|
|
87850
87831
|
type: Component,
|
|
@@ -88650,15 +88631,16 @@ class TransactionInternalComponent {
|
|
|
88650
88631
|
</div>
|
|
88651
88632
|
}
|
|
88652
88633
|
|
|
88653
|
-
@if (activeCategory !== category.SalesOrderQuotationActivities &&
|
|
88634
|
+
@if (activeCategory !== category.SalesOrderQuotationActivities &&
|
|
88635
|
+
activeCategory !== category.SalesOrderActivities &&
|
|
88636
|
+
activeCategory !== category.ServiceOrderOverview) {
|
|
88654
88637
|
<div class="transaction-footer-wrapper">
|
|
88655
88638
|
<div class="transaction-footer-left">
|
|
88656
88639
|
@if (!service.invalidTransaction) {
|
|
88657
88640
|
@if ((activeCategory === categories.SalesOrderCashRegister && !transactionHeaderService.readonly) ||
|
|
88658
88641
|
(activeCategory === categories.SalesOrderOverview && !(service && service.invoiceCompleted && !service.canChangeSalesOrderWhenFullyInvoiced)) ||
|
|
88659
88642
|
activeCategory === categories.PurchaseOrderOverview ||
|
|
88660
|
-
activeCategory === categories.SalesOrderQuotation
|
|
88661
|
-
activeCategory === categories.ServiceOrderOverview) {
|
|
88643
|
+
activeCategory === categories.SalesOrderQuotation) {
|
|
88662
88644
|
<co-add-product
|
|
88663
88645
|
>
|
|
88664
88646
|
</co-add-product>
|
|
@@ -88666,8 +88648,7 @@ class TransactionInternalComponent {
|
|
|
88666
88648
|
@if ((activeCategory === categories.SalesOrderCashRegister && !transactionHeaderService.readonly) ||
|
|
88667
88649
|
activeCategory === categories.SalesOrderOverview ||
|
|
88668
88650
|
activeCategory === categories.PurchaseOrderOverview ||
|
|
88669
|
-
activeCategory === categories.SalesOrderQuotation
|
|
88670
|
-
activeCategory === categories.ServiceOrderOverview) {
|
|
88651
|
+
activeCategory === categories.SalesOrderQuotation) {
|
|
88671
88652
|
<co-transaction-button
|
|
88672
88653
|
class="custom-width text-rule"
|
|
88673
88654
|
[iconData]="iconCacheService.getIcon(icons.TextSolid)"
|
|
@@ -88893,15 +88874,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
88893
88874
|
</div>
|
|
88894
88875
|
}
|
|
88895
88876
|
|
|
88896
|
-
@if (activeCategory !== category.SalesOrderQuotationActivities &&
|
|
88877
|
+
@if (activeCategory !== category.SalesOrderQuotationActivities &&
|
|
88878
|
+
activeCategory !== category.SalesOrderActivities &&
|
|
88879
|
+
activeCategory !== category.ServiceOrderOverview) {
|
|
88897
88880
|
<div class="transaction-footer-wrapper">
|
|
88898
88881
|
<div class="transaction-footer-left">
|
|
88899
88882
|
@if (!service.invalidTransaction) {
|
|
88900
88883
|
@if ((activeCategory === categories.SalesOrderCashRegister && !transactionHeaderService.readonly) ||
|
|
88901
88884
|
(activeCategory === categories.SalesOrderOverview && !(service && service.invoiceCompleted && !service.canChangeSalesOrderWhenFullyInvoiced)) ||
|
|
88902
88885
|
activeCategory === categories.PurchaseOrderOverview ||
|
|
88903
|
-
activeCategory === categories.SalesOrderQuotation
|
|
88904
|
-
activeCategory === categories.ServiceOrderOverview) {
|
|
88886
|
+
activeCategory === categories.SalesOrderQuotation) {
|
|
88905
88887
|
<co-add-product
|
|
88906
88888
|
>
|
|
88907
88889
|
</co-add-product>
|
|
@@ -88909,8 +88891,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
88909
88891
|
@if ((activeCategory === categories.SalesOrderCashRegister && !transactionHeaderService.readonly) ||
|
|
88910
88892
|
activeCategory === categories.SalesOrderOverview ||
|
|
88911
88893
|
activeCategory === categories.PurchaseOrderOverview ||
|
|
88912
|
-
activeCategory === categories.SalesOrderQuotation
|
|
88913
|
-
activeCategory === categories.ServiceOrderOverview) {
|
|
88894
|
+
activeCategory === categories.SalesOrderQuotation) {
|
|
88914
88895
|
<co-transaction-button
|
|
88915
88896
|
class="custom-width text-rule"
|
|
88916
88897
|
[iconData]="iconCacheService.getIcon(icons.TextSolid)"
|
|
@@ -104541,7 +104522,7 @@ class DialogTransactionLineWarehouseCcComponent extends DialogBaseComponent {
|
|
|
104541
104522
|
return;
|
|
104542
104523
|
}
|
|
104543
104524
|
const article = await this.transactionService.getArticleExtended(this.transactionLine.articleNumber);
|
|
104544
|
-
this.articleName = article?.salesDescription || this.transactionLine.
|
|
104525
|
+
this.articleName = article?.salesDescription || this.transactionLine.defaultPurchaseDescription;
|
|
104545
104526
|
}
|
|
104546
104527
|
model = model;
|
|
104547
104528
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DialogTransactionLineWarehouseCcComponent, deps: [{ token: IconCacheService }, { token: TransactionHeaderService }, { token: TransactionLineService }, { token: TransactionService }, { token: ArticleService }], target: i0.ɵɵFactoryTarget.Component });
|