@colijnit/transaction 300.1.32 → 300.1.33

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.
@@ -363,8 +363,8 @@ import { DateField } from '@colijnit/ioneconnector/build/factory/decorators/date
363
363
  class Version {
364
364
  name = "@colijnit/transaction";
365
365
  description = "Colijn IT transaction package";
366
- symVer = "300.1.32";
367
- publishDate = "1-10-2026, 17:13:05";
366
+ symVer = "300.1.33";
367
+ publishDate = "2-10-2026, 17:30:32";
368
368
  }
369
369
 
370
370
  class CheckoutModuleService extends BaseModuleService {
@@ -15563,6 +15563,11 @@ class TransactionMappingService {
15563
15563
  return this._handledByDescription.get(type);
15564
15564
  }
15565
15565
  }
15566
+ getPlanningRubricForTransactionKind(type) {
15567
+ if (this._buttonBarConfig && this._buttonBarConfig.buttonPlanning && this._buttonBarConfig.buttonPlanning.has(type)) {
15568
+ return this._buttonBarConfig.buttonPlanning.get(type);
15569
+ }
15570
+ }
15566
15571
  getButtonBar(type) {
15567
15572
  if (this._buttonBarConfig && this._buttonBarConfig.buttonBarButtons && this._buttonBarConfig.buttonBarButtons.has(type)) {
15568
15573
  return this._buttonBarConfig.buttonBarButtons.get(type);
@@ -47931,250 +47936,250 @@ class TransactionOrderTileComponent extends TransactionSearchTileBaseComponent {
47931
47936
  return `Week ${weekNumber}`;
47932
47937
  }
47933
47938
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionOrderTileComponent, deps: [{ token: IconCacheService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
47934
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionOrderTileComponent, isStandalone: false, selector: "co-transaction-order-tile", inputs: { showAvatar: "showAvatar" }, usesInheritance: true, ngImport: i0, template: `
47935
-
47936
- <div class="transaction-order-lines-wrapper">
47937
- <div class="transaction-order-info">
47938
- @if (transaction.transType === 'R') {
47939
- <div class="order-detail-section">
47940
- <span [textContent]="'CREATED_ON' | localize"></span>
47941
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
47942
- </div>
47943
- <div class="order-detail-section">
47944
- <span [textContent]="'RETURN_NUMBER' | localize"></span>
47945
- <span [textContent]="transaction.transNr"></span>
47946
- </div>
47947
- }
47948
- @if (transaction.transType !== 'R') {
47949
- <div class="order-number-info">
47950
- <span [textContent]="(transaction.transactionKind === 'S' ? ('SERVICE_NUMBER' | localize) : ('ORDER_NUMBER' | localize))"></span>
47951
- <span [textContent]="transaction.transNr"></span>
47952
- </div>
47953
- <div class="order-details-info">
47954
- <div class="order-detail-section">
47955
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
47956
- <div class="value">
47957
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
47958
- </div>
47959
- </div>
47960
- @if (transaction.getDeliveryDate()) {
47961
- <div class="order-detail-section">
47962
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
47963
- @if (!transaction.deliveryDateDefinitive) {
47964
- <div class="value">
47965
- <span [textContent]="getWeekNumber(transaction.getDeliveryDate())"></span>
47966
- <span class="expected" [textContent]="'EXPECTED_DELIVERY_WEEK' | localize"></span>
47967
- </div>
47968
- }
47969
- @if (transaction.deliveryDateDefinitive) {
47970
- <div class="value">
47971
- <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'" [title]="'DELIVERY_DATE' | localize"></span>
47972
- </div>
47973
- }
47974
- </div>
47975
- }
47976
- <div class="order-detail-section">
47977
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
47978
- <div class="value"><span
47979
- [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
47980
- </div>
47981
- </div>
47982
- </div>
47983
- }
47984
- </div>
47985
- </div>
47986
-
47987
- <!--div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
47988
- <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
47989
- <div class="tile">
47990
- <div class="tile-header">
47991
- <div class="tile-upper-left">
47992
- <div class="transaction-tile-avatar">
47993
- <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
47994
- <span [textContent]="transaction.transNr"></span>
47995
- </div>
47996
- </div>
47997
- <div class="tile-upper-middle">
47998
- <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
47999
- <div class="text"><span [textContent]="transaction.branchNr"></span></div>
48000
- </div>
48001
-
48002
- <div class="tile-upper-right">
48003
- <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
48004
- <co-transaction-statusbar
48005
- [screenConfigurationObject]="cfgNames.StatusBar"
48006
- [configNames]="statusBarConfigNames"
48007
- [transaction]="transaction">
48008
- </co-transaction-statusbar>
48009
- </div>
48010
- </div>
48011
- </div>
48012
- <div class="tile-body">
48013
- <div class="tile-middle-left">
48014
- <co-input-checkbox
48015
- *ngIf="showCheckbox"
48016
- [(model)]="transaction.selected"
48017
- (modelChange)="onSelectedClick(transaction)"
48018
- ></co-input-checkbox>
48019
- </div>
48020
- <div class="tile-middle-middle">
48021
- <div class="text"><span [textContent]="transaction.relationName"></span></div>
48022
- <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
48023
- </div>
48024
- <div class="tile-middle-right"></div>
48025
- </div>
48026
- <div class="tile-footer">
48027
- <div class="tile-bottom-left order-info-section">
48028
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
48029
- <div class="value">
48030
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
48031
- </div>
48032
- </div>
48033
- <div class="tile-bottom-middle order-info-section">
48034
- <div class="value" *ngIf="transaction.getDeliveryDate()">
48035
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
48036
- <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
48037
- <co-icon *ngIf="transaction.deliveryDateDefinitive; else indefinite"
48038
- [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
48039
- <ng-template #indefinite>
48040
- <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
48041
- </ng-template>
48042
- </div>
48043
- </div>
48044
- <div class="tile-bottom-right order-info-section">
48045
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
48046
- <div class="value"><span
48047
- [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
48048
- </div>
48049
- </div>
48050
- </div>
48051
- </div>
48052
- </div-->
47939
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionOrderTileComponent, isStandalone: false, selector: "co-transaction-order-tile", inputs: { showAvatar: "showAvatar" }, usesInheritance: true, ngImport: i0, template: `
47940
+
47941
+ <div class="transaction-order-lines-wrapper">
47942
+ <div class="transaction-order-info">
47943
+ @if (transaction.transType === 'R') {
47944
+ <div class="order-detail-section">
47945
+ <span [textContent]="'CREATED_ON' | localize"></span>
47946
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
47947
+ </div>
47948
+ <div class="order-detail-section">
47949
+ <span [textContent]="'RETURN_NUMBER' | localize"></span>
47950
+ <span [textContent]="transaction.transNr"></span>
47951
+ </div>
47952
+ }
47953
+ @if (transaction.transType !== 'R') {
47954
+ <div class="order-number-info">
47955
+ <span [textContent]="(transaction.transactionKind === 'S' ? ('SERVICE_NUMBER' | localize) : ('ORDER_NUMBER' | localize))"></span>
47956
+ <span [textContent]="transaction.transNr"></span>
47957
+ </div>
47958
+ <div class="order-details-info">
47959
+ <div class="order-detail-section">
47960
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
47961
+ <div class="value">
47962
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
47963
+ </div>
47964
+ </div>
47965
+ @if (transaction.getDeliveryDate()) {
47966
+ <div class="order-detail-section">
47967
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
47968
+ @if (!transaction.deliveryDateDefinitive) {
47969
+ <div class="value">
47970
+ <span [textContent]="getWeekNumber(transaction.getDeliveryDate())"></span>
47971
+ <span class="expected" [textContent]="'EXPECTED_DELIVERY_WEEK' | localize"></span>
47972
+ </div>
47973
+ }
47974
+ @if (transaction.deliveryDateDefinitive) {
47975
+ <div class="value">
47976
+ <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'" [title]="'DELIVERY_DATE' | localize"></span>
47977
+ </div>
47978
+ }
47979
+ </div>
47980
+ }
47981
+ <div class="order-detail-section">
47982
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
47983
+ <div class="value"><span
47984
+ [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
47985
+ </div>
47986
+ </div>
47987
+ </div>
47988
+ }
47989
+ </div>
47990
+ </div>
47991
+
47992
+ <!--div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
47993
+ <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
47994
+ <div class="tile">
47995
+ <div class="tile-header">
47996
+ <div class="tile-upper-left">
47997
+ <div class="transaction-tile-avatar">
47998
+ <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
47999
+ <span [textContent]="transaction.transNr"></span>
48000
+ </div>
48001
+ </div>
48002
+ <div class="tile-upper-middle">
48003
+ <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
48004
+ <div class="text"><span [textContent]="transaction.branchNr"></span></div>
48005
+ </div>
48006
+
48007
+ <div class="tile-upper-right">
48008
+ <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
48009
+ <co-transaction-statusbar
48010
+ [screenConfigurationObject]="cfgNames.StatusBar"
48011
+ [configNames]="statusBarConfigNames"
48012
+ [transaction]="transaction">
48013
+ </co-transaction-statusbar>
48014
+ </div>
48015
+ </div>
48016
+ </div>
48017
+ <div class="tile-body">
48018
+ <div class="tile-middle-left">
48019
+ <co-input-checkbox
48020
+ *ngIf="showCheckbox"
48021
+ [(model)]="transaction.selected"
48022
+ (modelChange)="onSelectedClick(transaction)"
48023
+ ></co-input-checkbox>
48024
+ </div>
48025
+ <div class="tile-middle-middle">
48026
+ <div class="text"><span [textContent]="transaction.relationName"></span></div>
48027
+ <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
48028
+ </div>
48029
+ <div class="tile-middle-right"></div>
48030
+ </div>
48031
+ <div class="tile-footer">
48032
+ <div class="tile-bottom-left order-info-section">
48033
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
48034
+ <div class="value">
48035
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
48036
+ </div>
48037
+ </div>
48038
+ <div class="tile-bottom-middle order-info-section">
48039
+ <div class="value" *ngIf="transaction.getDeliveryDate()">
48040
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
48041
+ <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
48042
+ <co-icon *ngIf="transaction.deliveryDateDefinitive; else indefinite"
48043
+ [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
48044
+ <ng-template #indefinite>
48045
+ <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
48046
+ </ng-template>
48047
+ </div>
48048
+ </div>
48049
+ <div class="tile-bottom-right order-info-section">
48050
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
48051
+ <div class="value"><span
48052
+ [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
48053
+ </div>
48054
+ </div>
48055
+ </div>
48056
+ </div>
48057
+ </div-->
48053
48058
  `, isInline: true, dependencies: [{ kind: "component", type: i1$1.IconComponent, selector: "co-icon", inputs: ["icon", "iconData"] }, { kind: "pipe", type: i2$1.CurrencyPipe, name: "currency" }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
48054
48059
  }
48055
48060
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionOrderTileComponent, decorators: [{
48056
48061
  type: Component,
48057
48062
  args: [{
48058
48063
  selector: "co-transaction-order-tile",
48059
- template: `
48060
-
48061
- <div class="transaction-order-lines-wrapper">
48062
- <div class="transaction-order-info">
48063
- @if (transaction.transType === 'R') {
48064
- <div class="order-detail-section">
48065
- <span [textContent]="'CREATED_ON' | localize"></span>
48066
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
48067
- </div>
48068
- <div class="order-detail-section">
48069
- <span [textContent]="'RETURN_NUMBER' | localize"></span>
48070
- <span [textContent]="transaction.transNr"></span>
48071
- </div>
48072
- }
48073
- @if (transaction.transType !== 'R') {
48074
- <div class="order-number-info">
48075
- <span [textContent]="(transaction.transactionKind === 'S' ? ('SERVICE_NUMBER' | localize) : ('ORDER_NUMBER' | localize))"></span>
48076
- <span [textContent]="transaction.transNr"></span>
48077
- </div>
48078
- <div class="order-details-info">
48079
- <div class="order-detail-section">
48080
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
48081
- <div class="value">
48082
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
48083
- </div>
48084
- </div>
48085
- @if (transaction.getDeliveryDate()) {
48086
- <div class="order-detail-section">
48087
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
48088
- @if (!transaction.deliveryDateDefinitive) {
48089
- <div class="value">
48090
- <span [textContent]="getWeekNumber(transaction.getDeliveryDate())"></span>
48091
- <span class="expected" [textContent]="'EXPECTED_DELIVERY_WEEK' | localize"></span>
48092
- </div>
48093
- }
48094
- @if (transaction.deliveryDateDefinitive) {
48095
- <div class="value">
48096
- <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'" [title]="'DELIVERY_DATE' | localize"></span>
48097
- </div>
48098
- }
48099
- </div>
48100
- }
48101
- <div class="order-detail-section">
48102
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
48103
- <div class="value"><span
48104
- [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
48105
- </div>
48106
- </div>
48107
- </div>
48108
- }
48109
- </div>
48110
- </div>
48111
-
48112
- <!--div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
48113
- <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
48114
- <div class="tile">
48115
- <div class="tile-header">
48116
- <div class="tile-upper-left">
48117
- <div class="transaction-tile-avatar">
48118
- <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
48119
- <span [textContent]="transaction.transNr"></span>
48120
- </div>
48121
- </div>
48122
- <div class="tile-upper-middle">
48123
- <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
48124
- <div class="text"><span [textContent]="transaction.branchNr"></span></div>
48125
- </div>
48126
-
48127
- <div class="tile-upper-right">
48128
- <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
48129
- <co-transaction-statusbar
48130
- [screenConfigurationObject]="cfgNames.StatusBar"
48131
- [configNames]="statusBarConfigNames"
48132
- [transaction]="transaction">
48133
- </co-transaction-statusbar>
48134
- </div>
48135
- </div>
48136
- </div>
48137
- <div class="tile-body">
48138
- <div class="tile-middle-left">
48139
- <co-input-checkbox
48140
- *ngIf="showCheckbox"
48141
- [(model)]="transaction.selected"
48142
- (modelChange)="onSelectedClick(transaction)"
48143
- ></co-input-checkbox>
48144
- </div>
48145
- <div class="tile-middle-middle">
48146
- <div class="text"><span [textContent]="transaction.relationName"></span></div>
48147
- <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
48148
- </div>
48149
- <div class="tile-middle-right"></div>
48150
- </div>
48151
- <div class="tile-footer">
48152
- <div class="tile-bottom-left order-info-section">
48153
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
48154
- <div class="value">
48155
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
48156
- </div>
48157
- </div>
48158
- <div class="tile-bottom-middle order-info-section">
48159
- <div class="value" *ngIf="transaction.getDeliveryDate()">
48160
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
48161
- <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
48162
- <co-icon *ngIf="transaction.deliveryDateDefinitive; else indefinite"
48163
- [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
48164
- <ng-template #indefinite>
48165
- <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
48166
- </ng-template>
48167
- </div>
48168
- </div>
48169
- <div class="tile-bottom-right order-info-section">
48170
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
48171
- <div class="value"><span
48172
- [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
48173
- </div>
48174
- </div>
48175
- </div>
48176
- </div>
48177
- </div-->
48064
+ template: `
48065
+
48066
+ <div class="transaction-order-lines-wrapper">
48067
+ <div class="transaction-order-info">
48068
+ @if (transaction.transType === 'R') {
48069
+ <div class="order-detail-section">
48070
+ <span [textContent]="'CREATED_ON' | localize"></span>
48071
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
48072
+ </div>
48073
+ <div class="order-detail-section">
48074
+ <span [textContent]="'RETURN_NUMBER' | localize"></span>
48075
+ <span [textContent]="transaction.transNr"></span>
48076
+ </div>
48077
+ }
48078
+ @if (transaction.transType !== 'R') {
48079
+ <div class="order-number-info">
48080
+ <span [textContent]="(transaction.transactionKind === 'S' ? ('SERVICE_NUMBER' | localize) : ('ORDER_NUMBER' | localize))"></span>
48081
+ <span [textContent]="transaction.transNr"></span>
48082
+ </div>
48083
+ <div class="order-details-info">
48084
+ <div class="order-detail-section">
48085
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
48086
+ <div class="value">
48087
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
48088
+ </div>
48089
+ </div>
48090
+ @if (transaction.getDeliveryDate()) {
48091
+ <div class="order-detail-section">
48092
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
48093
+ @if (!transaction.deliveryDateDefinitive) {
48094
+ <div class="value">
48095
+ <span [textContent]="getWeekNumber(transaction.getDeliveryDate())"></span>
48096
+ <span class="expected" [textContent]="'EXPECTED_DELIVERY_WEEK' | localize"></span>
48097
+ </div>
48098
+ }
48099
+ @if (transaction.deliveryDateDefinitive) {
48100
+ <div class="value">
48101
+ <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'" [title]="'DELIVERY_DATE' | localize"></span>
48102
+ </div>
48103
+ }
48104
+ </div>
48105
+ }
48106
+ <div class="order-detail-section">
48107
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
48108
+ <div class="value"><span
48109
+ [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
48110
+ </div>
48111
+ </div>
48112
+ </div>
48113
+ }
48114
+ </div>
48115
+ </div>
48116
+
48117
+ <!--div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
48118
+ <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
48119
+ <div class="tile">
48120
+ <div class="tile-header">
48121
+ <div class="tile-upper-left">
48122
+ <div class="transaction-tile-avatar">
48123
+ <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
48124
+ <span [textContent]="transaction.transNr"></span>
48125
+ </div>
48126
+ </div>
48127
+ <div class="tile-upper-middle">
48128
+ <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
48129
+ <div class="text"><span [textContent]="transaction.branchNr"></span></div>
48130
+ </div>
48131
+
48132
+ <div class="tile-upper-right">
48133
+ <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
48134
+ <co-transaction-statusbar
48135
+ [screenConfigurationObject]="cfgNames.StatusBar"
48136
+ [configNames]="statusBarConfigNames"
48137
+ [transaction]="transaction">
48138
+ </co-transaction-statusbar>
48139
+ </div>
48140
+ </div>
48141
+ </div>
48142
+ <div class="tile-body">
48143
+ <div class="tile-middle-left">
48144
+ <co-input-checkbox
48145
+ *ngIf="showCheckbox"
48146
+ [(model)]="transaction.selected"
48147
+ (modelChange)="onSelectedClick(transaction)"
48148
+ ></co-input-checkbox>
48149
+ </div>
48150
+ <div class="tile-middle-middle">
48151
+ <div class="text"><span [textContent]="transaction.relationName"></span></div>
48152
+ <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
48153
+ </div>
48154
+ <div class="tile-middle-right"></div>
48155
+ </div>
48156
+ <div class="tile-footer">
48157
+ <div class="tile-bottom-left order-info-section">
48158
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
48159
+ <div class="value">
48160
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
48161
+ </div>
48162
+ </div>
48163
+ <div class="tile-bottom-middle order-info-section">
48164
+ <div class="value" *ngIf="transaction.getDeliveryDate()">
48165
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
48166
+ <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
48167
+ <co-icon *ngIf="transaction.deliveryDateDefinitive; else indefinite"
48168
+ [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
48169
+ <ng-template #indefinite>
48170
+ <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
48171
+ </ng-template>
48172
+ </div>
48173
+ </div>
48174
+ <div class="tile-bottom-right order-info-section">
48175
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
48176
+ <div class="value"><span
48177
+ [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
48178
+ </div>
48179
+ </div>
48180
+ </div>
48181
+ </div>
48182
+ </div-->
48178
48183
  `,
48179
48184
  changeDetection: ChangeDetectionStrategy.OnPush,
48180
48185
  encapsulation: ViewEncapsulation.None,
@@ -66168,6 +66173,10 @@ class TransactionButtonBarModule {
66168
66173
  {
66169
66174
  provide: TRANSACTION_BUTTON_BAR_MAPPING_CONFIG,
66170
66175
  useValue: {
66176
+ buttonPlanning: new Map([
66177
+ [TransactionKind.SalesOrder, TransactionTypeCategory.SalesOrderPlanning],
66178
+ [TransactionKind.ServiceOrder, TransactionTypeCategory.ServiceOrderPlanning]
66179
+ ]),
66171
66180
  buttonBarButtons: new Map([
66172
66181
  [TransactionKind.PurchaseOrder, [
66173
66182
  { title: 'OVERVIEW', icon: Icon.CartShoppingRegular, category: TransactionTypeCategory.PurchaseOrderOverview, component: TransactionPurchaseOverviewButtonBarButtonComponent, cfgName: TransactionCfgName.RubricOverview },
@@ -66261,6 +66270,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
66261
66270
  {
66262
66271
  provide: TRANSACTION_BUTTON_BAR_MAPPING_CONFIG,
66263
66272
  useValue: {
66273
+ buttonPlanning: new Map([
66274
+ [TransactionKind.SalesOrder, TransactionTypeCategory.SalesOrderPlanning],
66275
+ [TransactionKind.ServiceOrder, TransactionTypeCategory.ServiceOrderPlanning]
66276
+ ]),
66264
66277
  buttonBarButtons: new Map([
66265
66278
  [TransactionKind.PurchaseOrder, [
66266
66279
  { title: 'OVERVIEW', icon: Icon.CartShoppingRegular, category: TransactionTypeCategory.PurchaseOrderOverview, component: TransactionPurchaseOverviewButtonBarButtonComponent, cfgName: TransactionCfgName.RubricOverview },
@@ -72296,166 +72309,166 @@ class TransactionSearchPurchaseOrderTileComponent extends TransactionSearchTileB
72296
72309
  }
72297
72310
  }
72298
72311
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionSearchPurchaseOrderTileComponent, deps: [{ token: IconCacheService }, { token: i0.ChangeDetectorRef }, { token: TransactionEventService }], target: i0.ɵɵFactoryTarget.Component });
72299
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionSearchPurchaseOrderTileComponent, isStandalone: false, selector: "co-transaction-search-purchase-order-tile", usesInheritance: true, ngImport: i0, template: `
72300
- <div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
72301
- <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
72302
- <div class="tile">
72303
- <div class="tile-header">
72304
- <div class="tile-upper-left">
72305
- <div class="transaction-tile-avatar">
72306
- <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
72307
- <span [textContent]="transaction.transNr"></span>
72308
- </div>
72309
- </div>
72310
- <div class="tile-upper-middle">
72311
- <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
72312
- <div class="text"><span [textContent]="transaction.branchNr"></span></div>
72313
- </div>
72314
-
72315
- <div class="tile-upper-right">
72316
- <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
72317
- <co-transaction-statusbar
72318
- [screenConfigurationObject]="cfgNames.StatusBar"
72319
- [configNames]="statusBarConfigNames"
72320
- [transaction]="transaction">
72321
- </co-transaction-statusbar>
72322
- </div>
72323
- </div>
72324
- </div>
72325
- <div class="tile-body">
72326
- <div class="tile-middle-left">
72327
- @if (showCheckbox && !transaction.isInProgressForBatchJob) {
72328
- <co-input-checkbox
72329
- [(model)]="transaction.selected"
72330
- (modelChange)="onSelectedClick(transaction)">
72331
- </co-input-checkbox>
72332
- }
72333
- @if (showCheckbox && transaction.isInProgressForBatchJob) {
72334
- <co-icon
72335
- class="batch-info-icon"
72336
- [title]="'PART_OF_BATCH' | localize"
72337
- [iconData]="iconCacheService.getIcon(icons.CircleInfoRegular)">
72338
- </co-icon>
72339
- }
72340
- </div>
72341
- <div class="tile-middle-middle">
72342
- <div class="text"><span [textContent]="transaction.relationName"></span></div>
72343
- <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
72344
- </div>
72345
- <div class="tile-middle-right"></div>
72346
- </div>
72347
- <div class="tile-footer">
72348
- <div class="tile-bottom-left order-info-section">
72349
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
72350
- <div class="value">
72351
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
72352
- </div>
72353
- </div>
72354
- <div class="tile-bottom-middle order-info-section">
72355
- @if (transaction.getDeliveryDate()) {
72356
- <div class="value">
72357
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
72358
- <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
72359
- @if (transaction.deliveryDateDefinitive) {
72360
- <co-icon
72361
- [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
72362
- } @else {
72363
- <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
72364
- }
72365
- </div>
72366
- }
72367
- </div>
72368
- <div class="tile-bottom-right order-info-section">
72369
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
72370
- <div class="value"><span
72371
- [textContent]="(transaction.totalPriceWithVat - transaction.totalPriceVat) | currency:'EUR'"></span></div>
72372
- </div>
72373
- </div>
72374
- </div>
72375
- </div>
72312
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionSearchPurchaseOrderTileComponent, isStandalone: false, selector: "co-transaction-search-purchase-order-tile", usesInheritance: true, ngImport: i0, template: `
72313
+ <div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
72314
+ <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
72315
+ <div class="tile">
72316
+ <div class="tile-header">
72317
+ <div class="tile-upper-left">
72318
+ <div class="transaction-tile-avatar">
72319
+ <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
72320
+ <span [textContent]="transaction.transNr"></span>
72321
+ </div>
72322
+ </div>
72323
+ <div class="tile-upper-middle">
72324
+ <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
72325
+ <div class="text"><span [textContent]="transaction.branchNr"></span></div>
72326
+ </div>
72327
+
72328
+ <div class="tile-upper-right">
72329
+ <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
72330
+ <co-transaction-statusbar
72331
+ [screenConfigurationObject]="cfgNames.StatusBar"
72332
+ [configNames]="statusBarConfigNames"
72333
+ [transaction]="transaction">
72334
+ </co-transaction-statusbar>
72335
+ </div>
72336
+ </div>
72337
+ </div>
72338
+ <div class="tile-body">
72339
+ <div class="tile-middle-left">
72340
+ @if (showCheckbox && !transaction.isInProgressForBatchJob) {
72341
+ <co-input-checkbox
72342
+ [(model)]="transaction.selected"
72343
+ (modelChange)="onSelectedClick(transaction)">
72344
+ </co-input-checkbox>
72345
+ }
72346
+ @if (showCheckbox && transaction.isInProgressForBatchJob) {
72347
+ <co-icon
72348
+ class="batch-info-icon"
72349
+ [title]="'PART_OF_BATCH' | localize"
72350
+ [iconData]="iconCacheService.getIcon(icons.CircleInfoRegular)">
72351
+ </co-icon>
72352
+ }
72353
+ </div>
72354
+ <div class="tile-middle-middle">
72355
+ <div class="text"><span [textContent]="transaction.relationName"></span></div>
72356
+ <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
72357
+ </div>
72358
+ <div class="tile-middle-right"></div>
72359
+ </div>
72360
+ <div class="tile-footer">
72361
+ <div class="tile-bottom-left order-info-section">
72362
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
72363
+ <div class="value">
72364
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
72365
+ </div>
72366
+ </div>
72367
+ <div class="tile-bottom-middle order-info-section">
72368
+ @if (transaction.getDeliveryDate()) {
72369
+ <div class="value">
72370
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
72371
+ <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
72372
+ @if (transaction.deliveryDateDefinitive) {
72373
+ <co-icon
72374
+ [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
72375
+ } @else {
72376
+ <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
72377
+ }
72378
+ </div>
72379
+ }
72380
+ </div>
72381
+ <div class="tile-bottom-right order-info-section">
72382
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
72383
+ <div class="value"><span
72384
+ [textContent]="(transaction.totalPriceWithVat - transaction.totalPriceVat) | currency:'EUR'"></span></div>
72385
+ </div>
72386
+ </div>
72387
+ </div>
72388
+ </div>
72376
72389
  `, isInline: true, dependencies: [{ kind: "component", type: AvatarComponent, selector: "co-avatar", inputs: ["image", "relationId", "tooltipTitle", "relation", "showRelationNr"] }, { kind: "component", type: i1$1.IconComponent, selector: "co-icon", inputs: ["icon", "iconData"] }, { kind: "component", type: TransactionStatusbarComponent, selector: "co-transaction-statusbar", inputs: ["configNames", "transaction"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: i1$1.InputCheckboxComponent, selector: "co-input-checkbox", inputs: ["cssClass", "clickableLabel"], outputs: ["modelChange"] }, { kind: "pipe", type: i2$1.CurrencyPipe, name: "currency" }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
72377
72390
  }
72378
72391
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionSearchPurchaseOrderTileComponent, decorators: [{
72379
72392
  type: Component,
72380
72393
  args: [{
72381
72394
  selector: "co-transaction-search-purchase-order-tile",
72382
- template: `
72383
- <div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
72384
- <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
72385
- <div class="tile">
72386
- <div class="tile-header">
72387
- <div class="tile-upper-left">
72388
- <div class="transaction-tile-avatar">
72389
- <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
72390
- <span [textContent]="transaction.transNr"></span>
72391
- </div>
72392
- </div>
72393
- <div class="tile-upper-middle">
72394
- <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
72395
- <div class="text"><span [textContent]="transaction.branchNr"></span></div>
72396
- </div>
72397
-
72398
- <div class="tile-upper-right">
72399
- <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
72400
- <co-transaction-statusbar
72401
- [screenConfigurationObject]="cfgNames.StatusBar"
72402
- [configNames]="statusBarConfigNames"
72403
- [transaction]="transaction">
72404
- </co-transaction-statusbar>
72405
- </div>
72406
- </div>
72407
- </div>
72408
- <div class="tile-body">
72409
- <div class="tile-middle-left">
72410
- @if (showCheckbox && !transaction.isInProgressForBatchJob) {
72411
- <co-input-checkbox
72412
- [(model)]="transaction.selected"
72413
- (modelChange)="onSelectedClick(transaction)">
72414
- </co-input-checkbox>
72415
- }
72416
- @if (showCheckbox && transaction.isInProgressForBatchJob) {
72417
- <co-icon
72418
- class="batch-info-icon"
72419
- [title]="'PART_OF_BATCH' | localize"
72420
- [iconData]="iconCacheService.getIcon(icons.CircleInfoRegular)">
72421
- </co-icon>
72422
- }
72423
- </div>
72424
- <div class="tile-middle-middle">
72425
- <div class="text"><span [textContent]="transaction.relationName"></span></div>
72426
- <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
72427
- </div>
72428
- <div class="tile-middle-right"></div>
72429
- </div>
72430
- <div class="tile-footer">
72431
- <div class="tile-bottom-left order-info-section">
72432
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
72433
- <div class="value">
72434
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
72435
- </div>
72436
- </div>
72437
- <div class="tile-bottom-middle order-info-section">
72438
- @if (transaction.getDeliveryDate()) {
72439
- <div class="value">
72440
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
72441
- <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
72442
- @if (transaction.deliveryDateDefinitive) {
72443
- <co-icon
72444
- [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
72445
- } @else {
72446
- <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
72447
- }
72448
- </div>
72449
- }
72450
- </div>
72451
- <div class="tile-bottom-right order-info-section">
72452
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
72453
- <div class="value"><span
72454
- [textContent]="(transaction.totalPriceWithVat - transaction.totalPriceVat) | currency:'EUR'"></span></div>
72455
- </div>
72456
- </div>
72457
- </div>
72458
- </div>
72395
+ template: `
72396
+ <div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
72397
+ <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
72398
+ <div class="tile">
72399
+ <div class="tile-header">
72400
+ <div class="tile-upper-left">
72401
+ <div class="transaction-tile-avatar">
72402
+ <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
72403
+ <span [textContent]="transaction.transNr"></span>
72404
+ </div>
72405
+ </div>
72406
+ <div class="tile-upper-middle">
72407
+ <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
72408
+ <div class="text"><span [textContent]="transaction.branchNr"></span></div>
72409
+ </div>
72410
+
72411
+ <div class="tile-upper-right">
72412
+ <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
72413
+ <co-transaction-statusbar
72414
+ [screenConfigurationObject]="cfgNames.StatusBar"
72415
+ [configNames]="statusBarConfigNames"
72416
+ [transaction]="transaction">
72417
+ </co-transaction-statusbar>
72418
+ </div>
72419
+ </div>
72420
+ </div>
72421
+ <div class="tile-body">
72422
+ <div class="tile-middle-left">
72423
+ @if (showCheckbox && !transaction.isInProgressForBatchJob) {
72424
+ <co-input-checkbox
72425
+ [(model)]="transaction.selected"
72426
+ (modelChange)="onSelectedClick(transaction)">
72427
+ </co-input-checkbox>
72428
+ }
72429
+ @if (showCheckbox && transaction.isInProgressForBatchJob) {
72430
+ <co-icon
72431
+ class="batch-info-icon"
72432
+ [title]="'PART_OF_BATCH' | localize"
72433
+ [iconData]="iconCacheService.getIcon(icons.CircleInfoRegular)">
72434
+ </co-icon>
72435
+ }
72436
+ </div>
72437
+ <div class="tile-middle-middle">
72438
+ <div class="text"><span [textContent]="transaction.relationName"></span></div>
72439
+ <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
72440
+ </div>
72441
+ <div class="tile-middle-right"></div>
72442
+ </div>
72443
+ <div class="tile-footer">
72444
+ <div class="tile-bottom-left order-info-section">
72445
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
72446
+ <div class="value">
72447
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
72448
+ </div>
72449
+ </div>
72450
+ <div class="tile-bottom-middle order-info-section">
72451
+ @if (transaction.getDeliveryDate()) {
72452
+ <div class="value">
72453
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
72454
+ <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
72455
+ @if (transaction.deliveryDateDefinitive) {
72456
+ <co-icon
72457
+ [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
72458
+ } @else {
72459
+ <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
72460
+ }
72461
+ </div>
72462
+ }
72463
+ </div>
72464
+ <div class="tile-bottom-right order-info-section">
72465
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
72466
+ <div class="value"><span
72467
+ [textContent]="(transaction.totalPriceWithVat - transaction.totalPriceVat) | currency:'EUR'"></span></div>
72468
+ </div>
72469
+ </div>
72470
+ </div>
72471
+ </div>
72459
72472
  `,
72460
72473
  encapsulation: ViewEncapsulation.None,
72461
72474
  standalone: false
@@ -85412,6 +85425,7 @@ class TransactionLineModule {
85412
85425
  [{ type: TransactionKind.ServiceOrder, category: TransactionTypeCategory.ServiceOrderPurchase }, TransactionPurchaseLineComponent],
85413
85426
  [{ type: TransactionKind.ServiceOrder, category: TransactionTypeCategory.ServiceOrderAllocation }, TransactionGoodsAllocationLineComponent],
85414
85427
  [{ type: TransactionKind.ServiceOrder, category: TransactionTypeCategory.ServiceOrderReserve }, TransactionReserveGoodsLineComponent],
85428
+ [{ type: TransactionKind.ServiceOrder, category: TransactionTypeCategory.ServiceOrderPlanning }, TransactionPlanningLineComponent],
85415
85429
  [{ type: TransactionKind.ServiceOrder, category: TransactionTypeCategory.ServiceOrderDeliveryNote }, TransactionOrderDeliveryLineComponent],
85416
85430
  [{ type: TransactionKind.ServiceOrder, category: TransactionTypeCategory.ServiceOrderInvoice }, TransactionInvoiceLineComponent],
85417
85431
  [{ type: TransactionKind.ServiceOrder, category: TransactionTypeCategory.ServiceOrderPicked }, TransactionPickedLineComponent],
@@ -85518,6 +85532,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
85518
85532
  [{ type: TransactionKind.ServiceOrder, category: TransactionTypeCategory.ServiceOrderPurchase }, TransactionPurchaseLineComponent],
85519
85533
  [{ type: TransactionKind.ServiceOrder, category: TransactionTypeCategory.ServiceOrderAllocation }, TransactionGoodsAllocationLineComponent],
85520
85534
  [{ type: TransactionKind.ServiceOrder, category: TransactionTypeCategory.ServiceOrderReserve }, TransactionReserveGoodsLineComponent],
85535
+ [{ type: TransactionKind.ServiceOrder, category: TransactionTypeCategory.ServiceOrderPlanning }, TransactionPlanningLineComponent],
85521
85536
  [{ type: TransactionKind.ServiceOrder, category: TransactionTypeCategory.ServiceOrderDeliveryNote }, TransactionOrderDeliveryLineComponent],
85522
85537
  [{ type: TransactionKind.ServiceOrder, category: TransactionTypeCategory.ServiceOrderInvoice }, TransactionInvoiceLineComponent],
85523
85538
  [{ type: TransactionKind.ServiceOrder, category: TransactionTypeCategory.ServiceOrderPicked }, TransactionPickedLineComponent],
@@ -88236,16 +88251,17 @@ class TransactionQuickAccessComponent {
88236
88251
  get activeCategory() {
88237
88252
  return this._activeCategory;
88238
88253
  }
88239
- set planningLines(value) {
88240
- this._planningLines = value;
88241
- if (value) {
88242
- this.activeCategory = TransactionTypeCategory.SalesOrderPlanning;
88243
- }
88244
- }
88245
- get planningLines() {
88246
- return this._planningLines;
88247
- }
88248
- _planningLines = false;
88254
+ // @Input()
88255
+ // public set planningLines(value: boolean) {
88256
+ // this._planningLines = value;
88257
+ // if (value) {
88258
+ // this.activeCategory = TransactionTypeCategory.SalesOrderPlanning;
88259
+ // }
88260
+ // }
88261
+ // public get planningLines(): boolean {
88262
+ // return this._planningLines;
88263
+ // }
88264
+ // private _planningLines: boolean = false;
88249
88265
  showClass() {
88250
88266
  return true;
88251
88267
  }
@@ -88298,7 +88314,7 @@ class TransactionQuickAccessComponent {
88298
88314
  this._changeDetector.detectChanges();
88299
88315
  }
88300
88316
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionQuickAccessComponent, deps: [{ token: TransactionHeaderService }, { token: TransactionMappingService }, { token: i0.ApplicationRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
88301
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: TransactionQuickAccessComponent, isStandalone: false, selector: "co-transaction-quick-access", inputs: { transactionKind: "transactionKind", activeCategory: "activeCategory", planningLines: "planningLines" }, host: { properties: { "class.show-loader": "this.showLoader", "class.co-transaction-quick-access": "this.showClass" } }, providers: [
88317
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: TransactionQuickAccessComponent, isStandalone: false, selector: "co-transaction-quick-access", inputs: { transactionKind: "transactionKind", activeCategory: "activeCategory" }, host: { properties: { "class.show-loader": "this.showLoader", "class.co-transaction-quick-access": "this.showClass" } }, providers: [
88302
88318
  TransactionMappingService
88303
88319
  ], viewQueries: [{ propertyName: "container", first: true, predicate: ["quickAccessContent"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: `
88304
88320
  <div #quickAccessContent class="quick-access-wrapper">
@@ -88330,8 +88346,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
88330
88346
  type: Input
88331
88347
  }], activeCategory: [{
88332
88348
  type: Input
88333
- }], planningLines: [{
88334
- type: Input
88335
88349
  }], showClass: [{
88336
88350
  type: HostBinding,
88337
88351
  args: ['class.co-transaction-quick-access']
@@ -89329,6 +89343,21 @@ class TransactionServiceOverviewComponent extends TransactionHeaderBaseComponent
89329
89343
  this._dialogService.hideToastAfterMs(1500);
89330
89344
  }
89331
89345
  }
89346
+ async addedDocument(documents) {
89347
+ if (!documents.length)
89348
+ return;
89349
+ let savedAny = false;
89350
+ for (const document of documents) {
89351
+ const response = await this.transactionService.mergeDocumentOnTransaction(this.transactionInfo.id.toString(), document);
89352
+ if (response)
89353
+ savedAny = true;
89354
+ }
89355
+ if (savedAny) {
89356
+ this.fetchDocuments();
89357
+ await this._dialogService.showToast('DATA_SAVED', true);
89358
+ this._dialogService.hideToastAfterMs(1500);
89359
+ }
89360
+ }
89332
89361
  async deleteDocument(doc) {
89333
89362
  const response = await this.transactionService.deleteDocument(doc.documentId);
89334
89363
  if (response && response.success) {
@@ -89431,6 +89460,8 @@ class TransactionServiceOverviewComponent extends TransactionHeaderBaseComponent
89431
89460
  </div>
89432
89461
  <div class="service-upload">
89433
89462
  <co-files-upload (documentChangeEvent)="upsertDocument($event)"
89463
+ (documentsAdded)="addedDocument($event)"
89464
+ [useWithoutSettingProps]="true"
89434
89465
  [screenConfigurationObject]="cfgNames.ServiceOverviewImage"
89435
89466
  (documentDeleted)="deleteDocument($event)"
89436
89467
  [label]="'OTHER_ATTACHMENTS' | localize"
@@ -89532,6 +89563,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
89532
89563
  </div>
89533
89564
  <div class="service-upload">
89534
89565
  <co-files-upload (documentChangeEvent)="upsertDocument($event)"
89566
+ (documentsAdded)="addedDocument($event)"
89567
+ [useWithoutSettingProps]="true"
89535
89568
  [screenConfigurationObject]="cfgNames.ServiceOverviewImage"
89536
89569
  (documentDeleted)="deleteDocument($event)"
89537
89570
  [label]="'OTHER_ATTACHMENTS' | localize"
@@ -91744,6 +91777,7 @@ class TransactionInternalComponent {
91744
91777
  _transactionBaseService;
91745
91778
  _changeDetector;
91746
91779
  _overlayService;
91780
+ _mappingService;
91747
91781
  _lineSelection;
91748
91782
  categories = TransactionTypeCategory;
91749
91783
  viewModes = ContentViewMode;
@@ -91775,7 +91809,7 @@ class TransactionInternalComponent {
91775
91809
  if (value) {
91776
91810
  this._transaction = value;
91777
91811
  }
91778
- this._fetchPlanOrderIfNeeded();
91812
+ this._handlePlanOrderAndActiveCategoryIfNeeded();
91779
91813
  }
91780
91814
  get transaction() {
91781
91815
  return this._transaction;
@@ -91784,7 +91818,7 @@ class TransactionInternalComponent {
91784
91818
  showViewModeButtons = true;
91785
91819
  set transactionPlanning(value) {
91786
91820
  this._transactionPlanning = value;
91787
- this._fetchPlanOrderIfNeeded();
91821
+ this._handlePlanOrderAndActiveCategoryIfNeeded();
91788
91822
  }
91789
91823
  get transactionPlanning() {
91790
91824
  return this._transactionPlanning;
@@ -91860,7 +91894,7 @@ class TransactionInternalComponent {
91860
91894
  _salesPersonInputComponentRef;
91861
91895
  _salesPersonAvatarComponentRef;
91862
91896
  _containerForFillMode = null;
91863
- constructor(iconCacheService, service, deliveryPlanningService, transactionHeaderService, _transactionConnectorService, _transactionEventService, _screenConfigurationService, _dialogService, _purchaseConfirmationService, _transactionBaseService, _changeDetector, _overlayService, _lineSelection //Do not remove this. While it is not directly used it has its own important subscriptions.
91897
+ constructor(iconCacheService, service, deliveryPlanningService, transactionHeaderService, _transactionConnectorService, _transactionEventService, _screenConfigurationService, _dialogService, _purchaseConfirmationService, _transactionBaseService, _changeDetector, _overlayService, _mappingService, _lineSelection //Do not remove this. While it is not directly used it has its own important subscriptions.
91864
91898
  ) {
91865
91899
  this.iconCacheService = iconCacheService;
91866
91900
  this.service = service;
@@ -91874,6 +91908,7 @@ class TransactionInternalComponent {
91874
91908
  this._transactionBaseService = _transactionBaseService;
91875
91909
  this._changeDetector = _changeDetector;
91876
91910
  this._overlayService = _overlayService;
91911
+ this._mappingService = _mappingService;
91877
91912
  this._lineSelection = _lineSelection;
91878
91913
  }
91879
91914
  async ngOnInit() {
@@ -91898,7 +91933,7 @@ class TransactionInternalComponent {
91898
91933
  this._changeDetector.detectChanges();
91899
91934
  }
91900
91935
  }), this.service.transactionKindSet.subscribe((set) => {
91901
- if (set) {
91936
+ if (!this._transactionPlanning && set) {
91902
91937
  this.activeCategory = this.confirmationAnalysisId ? TransactionTypeCategory.PurchaseOrderOrderConfirmation : this.service.activeRubric;
91903
91938
  }
91904
91939
  }), this._transactionConnectorService.connectionInitialized.subscribe((initialized) => {
@@ -91914,7 +91949,7 @@ class TransactionInternalComponent {
91914
91949
  }
91915
91950
  }), this._transactionEventService.activeRubricChange.subscribe((rubric) => {
91916
91951
  this.activeCategory = rubric.category;
91917
- if (rubric.category === TransactionTypeCategory.SalesOrderPlanning) {
91952
+ if (rubric.category === TransactionTypeCategory.SalesOrderPlanning || rubric.category === TransactionTypeCategory.ServiceOrderPlanning) {
91918
91953
  this._transactionConnectorService.getPlanOrder(this.transaction.transactionInfo.id).then((planOrder) => {
91919
91954
  this.service.currentPlanOrder = planOrder;
91920
91955
  this._transactionEventService.newPlanOrderEvent.next();
@@ -92278,11 +92313,12 @@ class TransactionInternalComponent {
92278
92313
  }
92279
92314
  //A special method necessary to ensure we correctly fetch the PlanOrder object when we summon the transaction component within the palnning module.
92280
92315
  //Not ideal but necessary until we have our new middletier planning code set up and are no longer dependent on workarounds for old plsql code.
92281
- _fetchPlanOrderIfNeeded() {
92316
+ _handlePlanOrderAndActiveCategoryIfNeeded() {
92282
92317
  //Check if we have an order for which we can plan.
92283
92318
  if (this.transaction.transactionInfo.id) {
92284
92319
  //if we are in the specific transaction display inside planning module mode and there is an active reason to load the planOrder, then do so.
92285
92320
  if (this.transactionPlanning && ((!this.service.currentPlanOrder.transId) || (this.service.currentPlanOrder.transId !== this.transaction.transactionInfo.id))) {
92321
+ this.activeCategory = this._mappingService.getPlanningRubricForTransactionKind(this.transaction.transactionInfo.transactionKind);
92286
92322
  this._transactionConnectorService.getPlanOrder(this.transaction.transactionInfo.id).then((planOrder) => {
92287
92323
  this.service.currentPlanOrder = planOrder;
92288
92324
  this._transactionEventService.newPlanOrderEvent.next();
@@ -92295,7 +92331,7 @@ class TransactionInternalComponent {
92295
92331
  this.service.currentPlanOrder = new PlanOrder();
92296
92332
  }
92297
92333
  }
92298
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionInternalComponent, deps: [{ token: IconCacheService }, { token: TransactionService }, { token: DeliveryPlanningService }, { token: TransactionHeaderService }, { token: TransactionConnectorService }, { token: TransactionEventService }, { token: TransactionScreenConfigurationService }, { token: TransactionDialogService }, { token: PurchaseConfirmationService }, { token: TransactionBaseService }, { token: i0.ChangeDetectorRef }, { token: i1$1.OverlayService }, { token: LineSelectionService }], target: i0.ɵɵFactoryTarget.Component });
92334
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionInternalComponent, deps: [{ token: IconCacheService }, { token: TransactionService }, { token: DeliveryPlanningService }, { token: TransactionHeaderService }, { token: TransactionConnectorService }, { token: TransactionEventService }, { token: TransactionScreenConfigurationService }, { token: TransactionDialogService }, { token: PurchaseConfirmationService }, { token: TransactionBaseService }, { token: i0.ChangeDetectorRef }, { token: i1$1.OverlayService }, { token: TransactionMappingService }, { token: LineSelectionService }], target: i0.ɵɵFactoryTarget.Component });
92299
92335
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionInternalComponent, isStandalone: false, selector: "co-transaction-internal", inputs: { confirmationAnalysisId: "confirmationAnalysisId", posOrderData: "posOrderData", transaction: "transaction", showHeader: "showHeader", showViewModeButtons: "showViewModeButtons", transactionPlanning: "transactionPlanning", customerPortal: "customerPortal", resetActiveRubric: "resetActiveRubric", showPresets: "showPresets", showQuickAccess: "showQuickAccess", showButtonBar: "showButtonBar" }, outputs: { serviceRequested: "serviceRequested" }, host: { listeners: { "window:resize": "onResize($event)" }, properties: { "class.show-quick-access": "this.showQuickAccess", "class.show-button-bar": "this.showButtonBar", "class.co-transaction-internal": "this.showClass" } }, providers: [
92300
92336
  TransactionHeaderService,
92301
92337
  TransactionSalesReservationService
@@ -92344,8 +92380,7 @@ class TransactionInternalComponent {
92344
92380
  <co-transaction-quick-access
92345
92381
  class="transaction-lines-header-item"
92346
92382
  [transactionKind]="transaction.transactionInfo.transactionKind"
92347
- [activeCategory]="activeCategory"
92348
- [planningLines]="transactionPlanning">
92383
+ [activeCategory]="activeCategory">
92349
92384
  </co-transaction-quick-access>
92350
92385
  }
92351
92386
  @if (showButtonBar) {
@@ -92559,7 +92594,7 @@ class TransactionInternalComponent {
92559
92594
  }
92560
92595
  </div>
92561
92596
  }
92562
- `, isInline: true, dependencies: [{ kind: "component", type: TransactionHeaderComponent, selector: "co-transaction-header", inputs: ["transaction"] }, { kind: "component", type: TransactionQuickAccessComponent, selector: "co-transaction-quick-access", inputs: ["transactionKind", "activeCategory", "planningLines"] }, { kind: "component", type: TransactionButtonBarComponent, selector: "co-transaction-button-bar", inputs: ["selectedCategory", "transactionInfoResponse", "sidePanel", "direction", "hideButtonLoader"], outputs: ["buttonClicked"] }, { kind: "component", type: AvatarComponent, selector: "co-avatar", inputs: ["image", "relationId", "tooltipTitle", "relation", "showRelationNr"] }, { kind: "component", type: i1$1.ViewModeButtonsComponent, selector: "co-view-mode-buttons", inputs: ["showViewModes", "activeViewMode"], outputs: ["viewModeChange"] }, { kind: "component", type: TransactionLinesComponent, selector: "co-transaction-lines", inputs: ["customerPortal", "planningLines", "userActionRequired"], outputs: ["userActionRequiredChange"] }, { kind: "component", type: AddProductComponent, selector: "co-add-product", inputs: ["handleAddArticleInternally", "searchPresetsCatalogTemplate", "showPresets"], outputs: ["addArticle"] }, { kind: "component", type: TransactionTotalsComponent, selector: "co-transaction-totals", inputs: ["showDiscount"], outputs: ["discountClick"] }, { kind: "component", type: TransactionArticleTextOverviewComponent, selector: "co-transaction-article-text-overview", inputs: ["transactionInfo", "transactionLine"], outputs: ["closeClick", "cancelClick"] }, { kind: "component", type: TransactionArticleTextComponent, selector: "co-transaction-article-text", inputs: ["header", "transactionUuid", "transactionLine", "orderLineSetDTO", "articleRef", "editText", "articleLineNr", "showArticleImageDescription", "showImage"], outputs: ["closeClick", "cancelClick", "saveClick", "saveOrderLineSetClick"] }, { kind: "component", type: TransactionCopyOrderComponent, selector: "co-transaction-copy-order", outputs: ["closeDialog"] }, { kind: "component", type: TransactionLinesSidePanelComponent, selector: "co-transaction-lines-side-panel", inputs: ["transaction", "posOrderData"] }, { kind: "component", type: TransactionButtonComponent, selector: "co-transaction-button", inputs: ["label", "title", "statusColor", "readonly", "hidden", "forceReadonly", "iconData", "rightIconData", "showCheckMarkLoader", "checkMarkOverlayVisible", "inputLabel", "insideLabel"], outputs: ["iconClicked"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: TransactionServiceOverviewComponent, selector: "co-transaction-service-overview", inputs: ["posOrderData", "customerPortal"] }, { kind: "component", type: TransactionCardsComponent, selector: "co-transaction-cards" }, { kind: "component", type: TransactionMarginComponent, selector: "co-transaction-margin" }, { kind: "component", type: ClickBlockComponent, selector: "co-click-block" }, { kind: "component", type: TransactionArticleStockComponent, selector: "co-transaction-article-stock-dialog", inputs: ["article"], outputs: ["closeClick"] }, { kind: "component", type: TransactionHeaderCustomerPortalComponent, selector: "co-transaction-header-customer-portal", inputs: ["transaction", "showPreferredPlanning"] }, { kind: "component", type: TransactionHeaderHandledByComponent, selector: "co-transaction-header-handled-by", inputs: ["transaction"] }, { kind: "component", type: i2.FormBuilderUserFormComponent, selector: "co-form-builder-user-form", inputs: ["showPopup", "form", "userForm", "table", "key", "readonly", "enableQuestions", "lineUUID"], outputs: ["cancelForm", "saveForm", "definitiveChange", "createNewFormResponse", "errorMessage"] }, { kind: "component", type: DeliveryPlanningOverviewPopupComponent, selector: "co-delivery-planning-overview-popup", inputs: ["planOrder", "setPlanOrder", "transportDay", "week"], outputs: ["closeEvent", "onSucceededPlanAction"] }, { kind: "component", type: TransactionLineActivitiesComponent, selector: "co-transaction-line-activities", inputs: ["transactionId"] }, { kind: "component", type: TransactionLineConversionAssistantComponent, selector: "co-transaction-line-conversion-assistant", inputs: ["transactionLine"], outputs: ["closeClick", "cancelClick", "saveClick"] }, { kind: "component", type: TransactionDocumentsCustomerPortalComponent, selector: "co-transaction-documents-customer-portal", inputs: ["transactionId"] }, { kind: "component", type: TransactionSalesReservationPopupComponent, selector: "co-transaction-sales-reservation-popup", inputs: ["reservationOrderLines", "transactionId"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
92597
+ `, isInline: true, dependencies: [{ kind: "component", type: TransactionHeaderComponent, selector: "co-transaction-header", inputs: ["transaction"] }, { kind: "component", type: TransactionQuickAccessComponent, selector: "co-transaction-quick-access", inputs: ["transactionKind", "activeCategory"] }, { kind: "component", type: TransactionButtonBarComponent, selector: "co-transaction-button-bar", inputs: ["selectedCategory", "transactionInfoResponse", "sidePanel", "direction", "hideButtonLoader"], outputs: ["buttonClicked"] }, { kind: "component", type: AvatarComponent, selector: "co-avatar", inputs: ["image", "relationId", "tooltipTitle", "relation", "showRelationNr"] }, { kind: "component", type: i1$1.ViewModeButtonsComponent, selector: "co-view-mode-buttons", inputs: ["showViewModes", "activeViewMode"], outputs: ["viewModeChange"] }, { kind: "component", type: TransactionLinesComponent, selector: "co-transaction-lines", inputs: ["customerPortal", "planningLines", "userActionRequired"], outputs: ["userActionRequiredChange"] }, { kind: "component", type: AddProductComponent, selector: "co-add-product", inputs: ["handleAddArticleInternally", "searchPresetsCatalogTemplate", "showPresets"], outputs: ["addArticle"] }, { kind: "component", type: TransactionTotalsComponent, selector: "co-transaction-totals", inputs: ["showDiscount"], outputs: ["discountClick"] }, { kind: "component", type: TransactionArticleTextOverviewComponent, selector: "co-transaction-article-text-overview", inputs: ["transactionInfo", "transactionLine"], outputs: ["closeClick", "cancelClick"] }, { kind: "component", type: TransactionArticleTextComponent, selector: "co-transaction-article-text", inputs: ["header", "transactionUuid", "transactionLine", "orderLineSetDTO", "articleRef", "editText", "articleLineNr", "showArticleImageDescription", "showImage"], outputs: ["closeClick", "cancelClick", "saveClick", "saveOrderLineSetClick"] }, { kind: "component", type: TransactionCopyOrderComponent, selector: "co-transaction-copy-order", outputs: ["closeDialog"] }, { kind: "component", type: TransactionLinesSidePanelComponent, selector: "co-transaction-lines-side-panel", inputs: ["transaction", "posOrderData"] }, { kind: "component", type: TransactionButtonComponent, selector: "co-transaction-button", inputs: ["label", "title", "statusColor", "readonly", "hidden", "forceReadonly", "iconData", "rightIconData", "showCheckMarkLoader", "checkMarkOverlayVisible", "inputLabel", "insideLabel"], outputs: ["iconClicked"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: TransactionServiceOverviewComponent, selector: "co-transaction-service-overview", inputs: ["posOrderData", "customerPortal"] }, { kind: "component", type: TransactionCardsComponent, selector: "co-transaction-cards" }, { kind: "component", type: TransactionMarginComponent, selector: "co-transaction-margin" }, { kind: "component", type: ClickBlockComponent, selector: "co-click-block" }, { kind: "component", type: TransactionArticleStockComponent, selector: "co-transaction-article-stock-dialog", inputs: ["article"], outputs: ["closeClick"] }, { kind: "component", type: TransactionHeaderCustomerPortalComponent, selector: "co-transaction-header-customer-portal", inputs: ["transaction", "showPreferredPlanning"] }, { kind: "component", type: TransactionHeaderHandledByComponent, selector: "co-transaction-header-handled-by", inputs: ["transaction"] }, { kind: "component", type: i2.FormBuilderUserFormComponent, selector: "co-form-builder-user-form", inputs: ["showPopup", "form", "userForm", "table", "key", "readonly", "enableQuestions", "lineUUID"], outputs: ["cancelForm", "saveForm", "definitiveChange", "createNewFormResponse", "errorMessage"] }, { kind: "component", type: DeliveryPlanningOverviewPopupComponent, selector: "co-delivery-planning-overview-popup", inputs: ["planOrder", "setPlanOrder", "transportDay", "week"], outputs: ["closeEvent", "onSucceededPlanAction"] }, { kind: "component", type: TransactionLineActivitiesComponent, selector: "co-transaction-line-activities", inputs: ["transactionId"] }, { kind: "component", type: TransactionLineConversionAssistantComponent, selector: "co-transaction-line-conversion-assistant", inputs: ["transactionLine"], outputs: ["closeClick", "cancelClick", "saveClick"] }, { kind: "component", type: TransactionDocumentsCustomerPortalComponent, selector: "co-transaction-documents-customer-portal", inputs: ["transactionId"] }, { kind: "component", type: TransactionSalesReservationPopupComponent, selector: "co-transaction-sales-reservation-popup", inputs: ["reservationOrderLines", "transactionId"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
92563
92598
  }
92564
92599
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionInternalComponent, decorators: [{
92565
92600
  type: Component,
@@ -92610,8 +92645,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
92610
92645
  <co-transaction-quick-access
92611
92646
  class="transaction-lines-header-item"
92612
92647
  [transactionKind]="transaction.transactionInfo.transactionKind"
92613
- [activeCategory]="activeCategory"
92614
- [planningLines]="transactionPlanning">
92648
+ [activeCategory]="activeCategory">
92615
92649
  </co-transaction-quick-access>
92616
92650
  }
92617
92651
  @if (showButtonBar) {
@@ -92833,7 +92867,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
92833
92867
  encapsulation: ViewEncapsulation.None,
92834
92868
  standalone: false
92835
92869
  }]
92836
- }], ctorParameters: () => [{ type: IconCacheService }, { type: TransactionService }, { type: DeliveryPlanningService }, { type: TransactionHeaderService }, { type: TransactionConnectorService }, { type: TransactionEventService }, { type: TransactionScreenConfigurationService }, { type: TransactionDialogService }, { type: PurchaseConfirmationService }, { type: TransactionBaseService }, { type: i0.ChangeDetectorRef }, { type: i1$1.OverlayService }, { type: LineSelectionService }], propDecorators: { child: [{
92870
+ }], ctorParameters: () => [{ type: IconCacheService }, { type: TransactionService }, { type: DeliveryPlanningService }, { type: TransactionHeaderService }, { type: TransactionConnectorService }, { type: TransactionEventService }, { type: TransactionScreenConfigurationService }, { type: TransactionDialogService }, { type: PurchaseConfirmationService }, { type: TransactionBaseService }, { type: i0.ChangeDetectorRef }, { type: i1$1.OverlayService }, { type: TransactionMappingService }, { type: LineSelectionService }], propDecorators: { child: [{
92837
92871
  type: ViewChild,
92838
92872
  args: ['salesPersonAvatar', { read: ElementRef }]
92839
92873
  }], userFormComponent: [{
@@ -101333,242 +101367,242 @@ class TransactionCardPurchaseOverviewComponent extends TransactionLineBaseCompon
101333
101367
  this.transactionEventService.articleNavigation.next(this.transactionLine.supplierArticleNumber);
101334
101368
  }
101335
101369
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardPurchaseOverviewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
101336
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionCardPurchaseOverviewComponent, isStandalone: false, selector: "co-transaction-card-purchase-overview", host: { properties: { "class.co-transaction-card-purchase-overview": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
101337
- <div class="transaction-card-wrapper">
101338
- <co-transaction-card-header
101339
- [showActionButtons]="true"
101340
- [showCheckbox]="false"
101341
- [showThumbnail]="false"
101342
- [expanded]="expanded"
101343
- (expandClicked)="expanded = !expanded"
101344
- >
101345
- </co-transaction-card-header>
101346
-
101347
- <div class="transaction-card-content-wrapper">
101348
- <div class="content-base top-base">
101349
- <div class="transaction-field-wrapper status-bar-purchase">
101350
- <co-transaction-line-statusbar
101351
- [screenConfigurationObject]="cfgNames.StatusBar"
101352
- [configNames]="statusBarConfigNames"
101353
- [activeCategory]="category.PurchaseOrderOverview">
101354
- </co-transaction-line-statusbar>
101355
- </div>
101356
- <co-transaction-navigation-button-list
101357
- [refTransactions]="transactionLine.refTransactions"
101358
- (relationClick)="handleRelationNavigation($event)"
101359
- (transactionClick)="handleTransactionNavigation($event)"></co-transaction-navigation-button-list>
101360
- @if (transactionLine.supplierArticleNumber) {
101361
- <div class="transaction-field-wrapper">
101362
- <div class="inside-field">
101363
- <co-transaction-line-label [insideLabel]="'ARTICLE_NR_SUPPLIER'"></co-transaction-line-label>
101364
- <co-transaction-navigation-button
101365
- [screenConfigurationObject]="cfgNames.LineArticleNrSupplier"
101366
- [label]="transactionLine.supplierArticleNumber"
101367
- (buttonClicked)="handleArticleNavigation($event)">
101368
- </co-transaction-navigation-button>
101369
- </div>
101370
- </div>
101371
- }
101372
- </div>
101373
- <div class="content-base bottom-base">
101374
- <div class="transaction-field-wrapper">
101375
- <div class="inside-field">
101376
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
101377
- <co-transaction-line-price class="transaction-line-totals-price price"
101378
- [screenConfigurationObject]="cfgNames.LinePrice"
101379
- [showLabel]="false"
101380
- [defaultEditMode]="false"
101381
- ></co-transaction-line-price>
101382
- </div>
101383
- </div>
101384
- <div class="transaction-field-wrapper">
101385
- <div class="inside-field">
101386
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
101387
- <co-transaction-line-discount-button
101388
- [screenConfigurationObject]="cfgNames.LineDiscount"
101389
- ></co-transaction-line-discount-button>
101390
- </div>
101391
- </div>
101392
- <div class="transaction-field-wrapper">
101393
- <div class="inside-field">
101394
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
101395
- <co-transaction-line-amount class="amount-number-picker"
101396
- [screenConfigurationObject]="cfgNames.LineAmount"
101397
- >
101398
- </co-transaction-line-amount>
101399
- </div>
101400
- </div>
101401
- <div class="transaction-field-wrapper">
101402
- <div class="inside-field">
101403
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
101404
- <co-editable-label class="transaction-line-totals-total price"
101405
- [model]="transactionLine.netLineTotal | coCurrency: true"
101406
- [editModel]="transactionLine.netLineTotal"
101407
- [commit]="!readonly"
101408
- [readonly]="true"
101409
- [editMode]="false"
101410
- ></co-editable-label>
101411
- </div>
101412
- </div>
101413
- </div>
101414
-
101415
- @if (expanded) {
101416
- <div class="content-expanded">
101417
- <div class="transaction-field-wrapper">
101418
- <div class="inside-field">
101419
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
101420
- <co-transaction-line-warehouse-button
101421
- [screenConfigurationObject]="cfgNames.LineWarehouse"
101422
- >
101423
- </co-transaction-line-warehouse-button>
101424
- </div>
101425
- </div>
101426
- <div class="transaction-field-wrapper">
101427
- <div class="inside-field">
101428
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
101429
- <co-transaction-line-delivery-button
101430
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
101431
- ></co-transaction-line-delivery-button>
101432
- </div>
101433
- </div>
101434
- <div class="transaction-field-wrapper">
101435
- <div class="inside-field">
101436
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
101437
- <co-transaction-line-delivery-date-button class="two-column"
101438
- [screenConfigurationObject]="cfgNames.LineDeliveryDate"
101439
- ></co-transaction-line-delivery-date-button>
101440
- </div>
101441
- </div>
101442
- </div>
101443
- }
101444
- </div>
101445
-
101446
- <co-transaction-card-footer
101447
- [transactionTypeCategory]="transactionTypeCategory.SalesOrderPurchase"
101448
- [expanded]="expanded"
101449
- ></co-transaction-card-footer>
101450
- </div>
101370
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionCardPurchaseOverviewComponent, isStandalone: false, selector: "co-transaction-card-purchase-overview", host: { properties: { "class.co-transaction-card-purchase-overview": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
101371
+ <div class="transaction-card-wrapper">
101372
+ <co-transaction-card-header
101373
+ [showActionButtons]="true"
101374
+ [showCheckbox]="false"
101375
+ [showThumbnail]="false"
101376
+ [expanded]="expanded"
101377
+ (expandClicked)="expanded = !expanded"
101378
+ >
101379
+ </co-transaction-card-header>
101380
+
101381
+ <div class="transaction-card-content-wrapper">
101382
+ <div class="content-base top-base">
101383
+ <div class="transaction-field-wrapper status-bar-purchase">
101384
+ <co-transaction-line-statusbar
101385
+ [screenConfigurationObject]="cfgNames.StatusBar"
101386
+ [configNames]="statusBarConfigNames"
101387
+ [activeCategory]="category.PurchaseOrderOverview">
101388
+ </co-transaction-line-statusbar>
101389
+ </div>
101390
+ <co-transaction-navigation-button-list
101391
+ [refTransactions]="transactionLine.refTransactions"
101392
+ (relationClick)="handleRelationNavigation($event)"
101393
+ (transactionClick)="handleTransactionNavigation($event)"></co-transaction-navigation-button-list>
101394
+ @if (transactionLine.supplierArticleNumber) {
101395
+ <div class="transaction-field-wrapper">
101396
+ <div class="inside-field">
101397
+ <co-transaction-line-label [insideLabel]="'ARTICLE_NR_SUPPLIER'"></co-transaction-line-label>
101398
+ <co-transaction-navigation-button
101399
+ [screenConfigurationObject]="cfgNames.LineArticleNrSupplier"
101400
+ [label]="transactionLine.supplierArticleNumber"
101401
+ (buttonClicked)="handleArticleNavigation($event)">
101402
+ </co-transaction-navigation-button>
101403
+ </div>
101404
+ </div>
101405
+ }
101406
+ </div>
101407
+ <div class="content-base bottom-base">
101408
+ <div class="transaction-field-wrapper">
101409
+ <div class="inside-field">
101410
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
101411
+ <co-transaction-line-price class="transaction-line-totals-price price"
101412
+ [screenConfigurationObject]="cfgNames.LinePrice"
101413
+ [showLabel]="false"
101414
+ [defaultEditMode]="false"
101415
+ ></co-transaction-line-price>
101416
+ </div>
101417
+ </div>
101418
+ <div class="transaction-field-wrapper">
101419
+ <div class="inside-field">
101420
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
101421
+ <co-transaction-line-discount-button
101422
+ [screenConfigurationObject]="cfgNames.LineDiscount"
101423
+ ></co-transaction-line-discount-button>
101424
+ </div>
101425
+ </div>
101426
+ <div class="transaction-field-wrapper">
101427
+ <div class="inside-field">
101428
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
101429
+ <co-transaction-line-amount class="amount-number-picker"
101430
+ [screenConfigurationObject]="cfgNames.LineAmount"
101431
+ >
101432
+ </co-transaction-line-amount>
101433
+ </div>
101434
+ </div>
101435
+ <div class="transaction-field-wrapper">
101436
+ <div class="inside-field">
101437
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
101438
+ <co-editable-label class="transaction-line-totals-total price"
101439
+ [model]="transactionLine.netLineTotal | coCurrency: true"
101440
+ [editModel]="transactionLine.netLineTotal"
101441
+ [commit]="!readonly"
101442
+ [readonly]="true"
101443
+ [editMode]="false"
101444
+ ></co-editable-label>
101445
+ </div>
101446
+ </div>
101447
+ </div>
101448
+
101449
+ @if (expanded) {
101450
+ <div class="content-expanded">
101451
+ <div class="transaction-field-wrapper">
101452
+ <div class="inside-field">
101453
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
101454
+ <co-transaction-line-warehouse-button
101455
+ [screenConfigurationObject]="cfgNames.LineWarehouse"
101456
+ >
101457
+ </co-transaction-line-warehouse-button>
101458
+ </div>
101459
+ </div>
101460
+ <div class="transaction-field-wrapper">
101461
+ <div class="inside-field">
101462
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
101463
+ <co-transaction-line-delivery-button
101464
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
101465
+ ></co-transaction-line-delivery-button>
101466
+ </div>
101467
+ </div>
101468
+ <div class="transaction-field-wrapper">
101469
+ <div class="inside-field">
101470
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
101471
+ <co-transaction-line-delivery-date-button class="two-column"
101472
+ [screenConfigurationObject]="cfgNames.LineDeliveryDate"
101473
+ ></co-transaction-line-delivery-date-button>
101474
+ </div>
101475
+ </div>
101476
+ </div>
101477
+ }
101478
+ </div>
101479
+
101480
+ <co-transaction-card-footer
101481
+ [transactionTypeCategory]="transactionTypeCategory.SalesOrderPurchase"
101482
+ [expanded]="expanded"
101483
+ ></co-transaction-card-footer>
101484
+ </div>
101451
101485
  `, isInline: true, dependencies: [{ kind: "component", type: TransactionCardHeaderComponent, selector: "co-transaction-card-header", inputs: ["showCheckbox", "showActionButtons", "showThumbnail"], outputs: ["checkboxValueChanged", "expandClicked"] }, { kind: "component", type: TransactionCardFooterComponent, selector: "co-transaction-card-footer", inputs: ["statusBarConfigNames", "transactionTypeCategory"] }, { kind: "component", type: EditableLabelComponent, selector: "co-editable-label", inputs: ["model", "editModel", "commit", "editMode", "readonly", "crossedOut", "inputLabel", "insideLabel"], outputs: ["editModelChange"] }, { 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: TransactionLineAmountComponent, selector: "co-transaction-line-amount", inputs: ["inputLabel"] }, { kind: "component", type: TransactionNavigationButtonListComponent, selector: "co-transaction-navigation-button-list", inputs: ["emptyLabel", "insideLabel", "navigationButtonIcon", "refTransactions", "showRelationButton", "inputLabel", "insideListLabel", "redService"], outputs: ["relationClick", "transactionClick", "iconClick"] }, { kind: "component", type: TransactionNavigationButtonComponent, selector: "co-transaction-navigation-button", inputs: ["label", "icon"], outputs: ["buttonClicked", "iconClicked"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: TransactionLineStatusbarComponent, selector: "co-transaction-line-statusbar", inputs: ["configNames", "activeCategory"] }, { kind: "component", type: TransactionLineDeliveryDateButtonComponent, selector: "co-transaction-line-delivery-date-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineDiscountButtonComponent, selector: "co-transaction-line-discount-button", inputs: ["configNames", "inputLabel"] }, { kind: "component", type: TransactionLinePriceComponent, selector: "co-transaction-line-price", inputs: ["showLabel", "showPurchasePrice", "defaultEditMode", "editMode", "inputLabel"] }, { kind: "component", type: TransactionLineLabelComponent, selector: "co-transaction-line-label", inputs: ["insideLabel"] }, { kind: "pipe", type: i1$1.CoCurrencyPipe, name: "coCurrency" }], encapsulation: i0.ViewEncapsulation.None });
101452
101486
  }
101453
101487
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardPurchaseOverviewComponent, decorators: [{
101454
101488
  type: Component,
101455
101489
  args: [{
101456
101490
  selector: "co-transaction-card-purchase-overview",
101457
- template: `
101458
- <div class="transaction-card-wrapper">
101459
- <co-transaction-card-header
101460
- [showActionButtons]="true"
101461
- [showCheckbox]="false"
101462
- [showThumbnail]="false"
101463
- [expanded]="expanded"
101464
- (expandClicked)="expanded = !expanded"
101465
- >
101466
- </co-transaction-card-header>
101467
-
101468
- <div class="transaction-card-content-wrapper">
101469
- <div class="content-base top-base">
101470
- <div class="transaction-field-wrapper status-bar-purchase">
101471
- <co-transaction-line-statusbar
101472
- [screenConfigurationObject]="cfgNames.StatusBar"
101473
- [configNames]="statusBarConfigNames"
101474
- [activeCategory]="category.PurchaseOrderOverview">
101475
- </co-transaction-line-statusbar>
101476
- </div>
101477
- <co-transaction-navigation-button-list
101478
- [refTransactions]="transactionLine.refTransactions"
101479
- (relationClick)="handleRelationNavigation($event)"
101480
- (transactionClick)="handleTransactionNavigation($event)"></co-transaction-navigation-button-list>
101481
- @if (transactionLine.supplierArticleNumber) {
101482
- <div class="transaction-field-wrapper">
101483
- <div class="inside-field">
101484
- <co-transaction-line-label [insideLabel]="'ARTICLE_NR_SUPPLIER'"></co-transaction-line-label>
101485
- <co-transaction-navigation-button
101486
- [screenConfigurationObject]="cfgNames.LineArticleNrSupplier"
101487
- [label]="transactionLine.supplierArticleNumber"
101488
- (buttonClicked)="handleArticleNavigation($event)">
101489
- </co-transaction-navigation-button>
101490
- </div>
101491
- </div>
101492
- }
101493
- </div>
101494
- <div class="content-base bottom-base">
101495
- <div class="transaction-field-wrapper">
101496
- <div class="inside-field">
101497
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
101498
- <co-transaction-line-price class="transaction-line-totals-price price"
101499
- [screenConfigurationObject]="cfgNames.LinePrice"
101500
- [showLabel]="false"
101501
- [defaultEditMode]="false"
101502
- ></co-transaction-line-price>
101503
- </div>
101504
- </div>
101505
- <div class="transaction-field-wrapper">
101506
- <div class="inside-field">
101507
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
101508
- <co-transaction-line-discount-button
101509
- [screenConfigurationObject]="cfgNames.LineDiscount"
101510
- ></co-transaction-line-discount-button>
101511
- </div>
101512
- </div>
101513
- <div class="transaction-field-wrapper">
101514
- <div class="inside-field">
101515
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
101516
- <co-transaction-line-amount class="amount-number-picker"
101517
- [screenConfigurationObject]="cfgNames.LineAmount"
101518
- >
101519
- </co-transaction-line-amount>
101520
- </div>
101521
- </div>
101522
- <div class="transaction-field-wrapper">
101523
- <div class="inside-field">
101524
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
101525
- <co-editable-label class="transaction-line-totals-total price"
101526
- [model]="transactionLine.netLineTotal | coCurrency: true"
101527
- [editModel]="transactionLine.netLineTotal"
101528
- [commit]="!readonly"
101529
- [readonly]="true"
101530
- [editMode]="false"
101531
- ></co-editable-label>
101532
- </div>
101533
- </div>
101534
- </div>
101535
-
101536
- @if (expanded) {
101537
- <div class="content-expanded">
101538
- <div class="transaction-field-wrapper">
101539
- <div class="inside-field">
101540
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
101541
- <co-transaction-line-warehouse-button
101542
- [screenConfigurationObject]="cfgNames.LineWarehouse"
101543
- >
101544
- </co-transaction-line-warehouse-button>
101545
- </div>
101546
- </div>
101547
- <div class="transaction-field-wrapper">
101548
- <div class="inside-field">
101549
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
101550
- <co-transaction-line-delivery-button
101551
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
101552
- ></co-transaction-line-delivery-button>
101553
- </div>
101554
- </div>
101555
- <div class="transaction-field-wrapper">
101556
- <div class="inside-field">
101557
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
101558
- <co-transaction-line-delivery-date-button class="two-column"
101559
- [screenConfigurationObject]="cfgNames.LineDeliveryDate"
101560
- ></co-transaction-line-delivery-date-button>
101561
- </div>
101562
- </div>
101563
- </div>
101564
- }
101565
- </div>
101566
-
101567
- <co-transaction-card-footer
101568
- [transactionTypeCategory]="transactionTypeCategory.SalesOrderPurchase"
101569
- [expanded]="expanded"
101570
- ></co-transaction-card-footer>
101571
- </div>
101491
+ template: `
101492
+ <div class="transaction-card-wrapper">
101493
+ <co-transaction-card-header
101494
+ [showActionButtons]="true"
101495
+ [showCheckbox]="false"
101496
+ [showThumbnail]="false"
101497
+ [expanded]="expanded"
101498
+ (expandClicked)="expanded = !expanded"
101499
+ >
101500
+ </co-transaction-card-header>
101501
+
101502
+ <div class="transaction-card-content-wrapper">
101503
+ <div class="content-base top-base">
101504
+ <div class="transaction-field-wrapper status-bar-purchase">
101505
+ <co-transaction-line-statusbar
101506
+ [screenConfigurationObject]="cfgNames.StatusBar"
101507
+ [configNames]="statusBarConfigNames"
101508
+ [activeCategory]="category.PurchaseOrderOverview">
101509
+ </co-transaction-line-statusbar>
101510
+ </div>
101511
+ <co-transaction-navigation-button-list
101512
+ [refTransactions]="transactionLine.refTransactions"
101513
+ (relationClick)="handleRelationNavigation($event)"
101514
+ (transactionClick)="handleTransactionNavigation($event)"></co-transaction-navigation-button-list>
101515
+ @if (transactionLine.supplierArticleNumber) {
101516
+ <div class="transaction-field-wrapper">
101517
+ <div class="inside-field">
101518
+ <co-transaction-line-label [insideLabel]="'ARTICLE_NR_SUPPLIER'"></co-transaction-line-label>
101519
+ <co-transaction-navigation-button
101520
+ [screenConfigurationObject]="cfgNames.LineArticleNrSupplier"
101521
+ [label]="transactionLine.supplierArticleNumber"
101522
+ (buttonClicked)="handleArticleNavigation($event)">
101523
+ </co-transaction-navigation-button>
101524
+ </div>
101525
+ </div>
101526
+ }
101527
+ </div>
101528
+ <div class="content-base bottom-base">
101529
+ <div class="transaction-field-wrapper">
101530
+ <div class="inside-field">
101531
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
101532
+ <co-transaction-line-price class="transaction-line-totals-price price"
101533
+ [screenConfigurationObject]="cfgNames.LinePrice"
101534
+ [showLabel]="false"
101535
+ [defaultEditMode]="false"
101536
+ ></co-transaction-line-price>
101537
+ </div>
101538
+ </div>
101539
+ <div class="transaction-field-wrapper">
101540
+ <div class="inside-field">
101541
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
101542
+ <co-transaction-line-discount-button
101543
+ [screenConfigurationObject]="cfgNames.LineDiscount"
101544
+ ></co-transaction-line-discount-button>
101545
+ </div>
101546
+ </div>
101547
+ <div class="transaction-field-wrapper">
101548
+ <div class="inside-field">
101549
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
101550
+ <co-transaction-line-amount class="amount-number-picker"
101551
+ [screenConfigurationObject]="cfgNames.LineAmount"
101552
+ >
101553
+ </co-transaction-line-amount>
101554
+ </div>
101555
+ </div>
101556
+ <div class="transaction-field-wrapper">
101557
+ <div class="inside-field">
101558
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
101559
+ <co-editable-label class="transaction-line-totals-total price"
101560
+ [model]="transactionLine.netLineTotal | coCurrency: true"
101561
+ [editModel]="transactionLine.netLineTotal"
101562
+ [commit]="!readonly"
101563
+ [readonly]="true"
101564
+ [editMode]="false"
101565
+ ></co-editable-label>
101566
+ </div>
101567
+ </div>
101568
+ </div>
101569
+
101570
+ @if (expanded) {
101571
+ <div class="content-expanded">
101572
+ <div class="transaction-field-wrapper">
101573
+ <div class="inside-field">
101574
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
101575
+ <co-transaction-line-warehouse-button
101576
+ [screenConfigurationObject]="cfgNames.LineWarehouse"
101577
+ >
101578
+ </co-transaction-line-warehouse-button>
101579
+ </div>
101580
+ </div>
101581
+ <div class="transaction-field-wrapper">
101582
+ <div class="inside-field">
101583
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
101584
+ <co-transaction-line-delivery-button
101585
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
101586
+ ></co-transaction-line-delivery-button>
101587
+ </div>
101588
+ </div>
101589
+ <div class="transaction-field-wrapper">
101590
+ <div class="inside-field">
101591
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
101592
+ <co-transaction-line-delivery-date-button class="two-column"
101593
+ [screenConfigurationObject]="cfgNames.LineDeliveryDate"
101594
+ ></co-transaction-line-delivery-date-button>
101595
+ </div>
101596
+ </div>
101597
+ </div>
101598
+ }
101599
+ </div>
101600
+
101601
+ <co-transaction-card-footer
101602
+ [transactionTypeCategory]="transactionTypeCategory.SalesOrderPurchase"
101603
+ [expanded]="expanded"
101604
+ ></co-transaction-card-footer>
101605
+ </div>
101572
101606
  `,
101573
101607
  encapsulation: ViewEncapsulation.None,
101574
101608
  standalone: false
@@ -101761,214 +101795,214 @@ class TransactionCardSalesOverviewComponent extends TransactionLineBaseComponent
101761
101795
  lineDiscountQuantum: this.cfgNames.LineDiscountQuantum
101762
101796
  };
101763
101797
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardSalesOverviewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
101764
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionCardSalesOverviewComponent, isStandalone: false, selector: "co-transaction-card-sales-overview", host: { properties: { "class.co-transaction-card-sales-overview": "this.showClass" } }, viewQueries: [{ propertyName: "transactionLineActionButtons", first: true, predicate: TransactionLineActionButtonsComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
101765
- <div class="transaction-card-sales-overview-wrapper transaction-card-wrapper">
101766
- <co-transaction-card-header
101767
- [showActionButtons]="true"
101768
- [showCheckbox]="false"
101769
- [expanded]="expanded"
101770
- (expandClicked)="expanded = !expanded">
101771
- </co-transaction-card-header>
101772
- <div class="transaction-card-content-wrapper">
101773
- <div class="content-base top-base">
101774
- <div class="transaction-field-wrapper status-bar">
101775
- <co-transaction-line-statusbar
101776
- [screenConfigurationObject]="cfgNames.StatusBar"
101777
- [configNames]="statusBarConfigNames"
101778
- [activeCategory]="category.SalesOrderOverview">
101779
- </co-transaction-line-statusbar>
101780
- </div>
101781
- <div class="transaction-field-wrapper">
101782
- <div class="inside-field">
101783
- <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
101784
- <co-transaction-line-commission-button></co-transaction-line-commission-button>
101785
- </div>
101786
- </div>
101787
- <div class="transaction-field-wrapper">
101788
- <div class="inside-field">
101789
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
101790
- <co-transaction-line-warehouse-button
101791
- [screenConfigurationObject]="cfgNames.LineWarehouse"
101792
- >
101793
- </co-transaction-line-warehouse-button>
101794
- </div>
101795
- </div>
101796
- </div>
101797
- <div class="content-base bottom-base">
101798
- <div class="transaction-field-wrapper">
101799
- <div class="inside-field">
101800
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
101801
- <co-editable-label class="transaction-card-price price"
101802
- [model]="transactionLine.price | coCurrency"
101803
- [readonly]="true"
101804
- ></co-editable-label>
101805
- </div>
101806
- </div>
101807
- <div class="transaction-field-wrapper">
101808
- <div class="inside-field">
101809
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
101810
- <co-transaction-line-amount class="amount-number-picker"
101811
- [screenConfigurationObject]="cfgNames.LineAmount"
101812
- ></co-transaction-line-amount>
101813
- </div>
101814
- </div>
101815
- <div class="transaction-field-wrapper">
101816
- <div class="inside-field">
101817
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
101818
- @if (!preview) {
101819
- <co-transaction-line-discount-button
101820
- [screenConfigurationObject]="cfgNames.LineDiscount"
101821
- [configNames]="discountConfigNames"
101822
- ></co-transaction-line-discount-button>
101823
- }
101824
- </div>
101825
- </div>
101826
- <div class="transaction-field-wrapper">
101827
- <div class="inside-field">
101828
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
101829
- <co-editable-label class="transaction-line-totals-total price"
101830
- [model]="transactionLine.netLineTotal | coCurrency"
101831
- [editModel]="transactionLine.netLineTotal"
101832
- [readonly]="true"
101833
- ></co-editable-label>
101834
- </div>
101835
- </div>
101836
- </div>
101837
- @if (expanded) {
101838
- <div class="content-expanded">
101839
- <div class="transaction-field-wrapper">
101840
- <div class="inside-field">
101841
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
101842
- <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
101843
- </div>
101844
- </div>
101845
- <div class="transaction-field-wrapper">
101846
- <div class="inside-field">
101847
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
101848
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
101849
- </div>
101850
- </div>
101851
- <div class="transaction-field-wrapper">
101852
- <div class="inside-field">
101853
- <co-transaction-line-label [insideLabel]="'VAT'"></co-transaction-line-label>
101854
- <co-transaction-line-vat-button></co-transaction-line-vat-button>
101855
- </div>
101856
- </div>
101857
- </div>
101858
- }
101859
- </div>
101860
- <co-transaction-card-footer
101861
- [transactionTypeCategory]="category.SalesOrderOverview"
101862
- [expanded]="expanded"
101863
- ></co-transaction-card-footer>
101864
- </div>
101798
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionCardSalesOverviewComponent, isStandalone: false, selector: "co-transaction-card-sales-overview", host: { properties: { "class.co-transaction-card-sales-overview": "this.showClass" } }, viewQueries: [{ propertyName: "transactionLineActionButtons", first: true, predicate: TransactionLineActionButtonsComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
101799
+ <div class="transaction-card-sales-overview-wrapper transaction-card-wrapper">
101800
+ <co-transaction-card-header
101801
+ [showActionButtons]="true"
101802
+ [showCheckbox]="false"
101803
+ [expanded]="expanded"
101804
+ (expandClicked)="expanded = !expanded">
101805
+ </co-transaction-card-header>
101806
+ <div class="transaction-card-content-wrapper">
101807
+ <div class="content-base top-base">
101808
+ <div class="transaction-field-wrapper status-bar">
101809
+ <co-transaction-line-statusbar
101810
+ [screenConfigurationObject]="cfgNames.StatusBar"
101811
+ [configNames]="statusBarConfigNames"
101812
+ [activeCategory]="category.SalesOrderOverview">
101813
+ </co-transaction-line-statusbar>
101814
+ </div>
101815
+ <div class="transaction-field-wrapper">
101816
+ <div class="inside-field">
101817
+ <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
101818
+ <co-transaction-line-commission-button></co-transaction-line-commission-button>
101819
+ </div>
101820
+ </div>
101821
+ <div class="transaction-field-wrapper">
101822
+ <div class="inside-field">
101823
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
101824
+ <co-transaction-line-warehouse-button
101825
+ [screenConfigurationObject]="cfgNames.LineWarehouse"
101826
+ >
101827
+ </co-transaction-line-warehouse-button>
101828
+ </div>
101829
+ </div>
101830
+ </div>
101831
+ <div class="content-base bottom-base">
101832
+ <div class="transaction-field-wrapper">
101833
+ <div class="inside-field">
101834
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
101835
+ <co-editable-label class="transaction-card-price price"
101836
+ [model]="transactionLine.price | coCurrency"
101837
+ [readonly]="true"
101838
+ ></co-editable-label>
101839
+ </div>
101840
+ </div>
101841
+ <div class="transaction-field-wrapper">
101842
+ <div class="inside-field">
101843
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
101844
+ <co-transaction-line-amount class="amount-number-picker"
101845
+ [screenConfigurationObject]="cfgNames.LineAmount"
101846
+ ></co-transaction-line-amount>
101847
+ </div>
101848
+ </div>
101849
+ <div class="transaction-field-wrapper">
101850
+ <div class="inside-field">
101851
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
101852
+ @if (!preview) {
101853
+ <co-transaction-line-discount-button
101854
+ [screenConfigurationObject]="cfgNames.LineDiscount"
101855
+ [configNames]="discountConfigNames"
101856
+ ></co-transaction-line-discount-button>
101857
+ }
101858
+ </div>
101859
+ </div>
101860
+ <div class="transaction-field-wrapper">
101861
+ <div class="inside-field">
101862
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
101863
+ <co-editable-label class="transaction-line-totals-total price"
101864
+ [model]="transactionLine.netLineTotal | coCurrency"
101865
+ [editModel]="transactionLine.netLineTotal"
101866
+ [readonly]="true"
101867
+ ></co-editable-label>
101868
+ </div>
101869
+ </div>
101870
+ </div>
101871
+ @if (expanded) {
101872
+ <div class="content-expanded">
101873
+ <div class="transaction-field-wrapper">
101874
+ <div class="inside-field">
101875
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
101876
+ <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
101877
+ </div>
101878
+ </div>
101879
+ <div class="transaction-field-wrapper">
101880
+ <div class="inside-field">
101881
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
101882
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
101883
+ </div>
101884
+ </div>
101885
+ <div class="transaction-field-wrapper">
101886
+ <div class="inside-field">
101887
+ <co-transaction-line-label [insideLabel]="'VAT'"></co-transaction-line-label>
101888
+ <co-transaction-line-vat-button></co-transaction-line-vat-button>
101889
+ </div>
101890
+ </div>
101891
+ </div>
101892
+ }
101893
+ </div>
101894
+ <co-transaction-card-footer
101895
+ [transactionTypeCategory]="category.SalesOrderOverview"
101896
+ [expanded]="expanded"
101897
+ ></co-transaction-card-footer>
101898
+ </div>
101865
101899
  `, isInline: true, dependencies: [{ kind: "component", type: TransactionCardHeaderComponent, selector: "co-transaction-card-header", inputs: ["showCheckbox", "showActionButtons", "showThumbnail"], outputs: ["checkboxValueChanged", "expandClicked"] }, { kind: "component", type: TransactionLineAmountComponent, selector: "co-transaction-line-amount", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineCommissionButtonComponent, selector: "co-transaction-line-commission-button", inputs: ["inputLabel"] }, { kind: "component", type: EditableLabelComponent, selector: "co-editable-label", inputs: ["model", "editModel", "commit", "editMode", "readonly", "crossedOut", "inputLabel", "insideLabel"], outputs: ["editModelChange"] }, { 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: TransactionCardFooterComponent, selector: "co-transaction-card-footer", inputs: ["statusBarConfigNames", "transactionTypeCategory"] }, { kind: "component", type: TransactionLineVatButtonComponent, selector: "co-transaction-line-vat-button", inputs: ["inputLabel"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: TransactionLineStatusbarComponent, selector: "co-transaction-line-statusbar", inputs: ["configNames", "activeCategory"] }, { kind: "component", type: TransactionLineDiscountButtonComponent, selector: "co-transaction-line-discount-button", inputs: ["configNames", "inputLabel"] }, { kind: "component", type: TransactionLineLabelComponent, selector: "co-transaction-line-label", inputs: ["insideLabel"] }, { kind: "component", type: TransactionLineDeliveryDateButtonComponent, selector: "co-transaction-line-delivery-date-button", inputs: ["inputLabel"] }, { kind: "pipe", type: CoCurrencyPipe, name: "coCurrency" }], encapsulation: i0.ViewEncapsulation.None });
101866
101900
  }
101867
101901
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardSalesOverviewComponent, decorators: [{
101868
101902
  type: Component,
101869
101903
  args: [{
101870
101904
  selector: "co-transaction-card-sales-overview",
101871
- template: `
101872
- <div class="transaction-card-sales-overview-wrapper transaction-card-wrapper">
101873
- <co-transaction-card-header
101874
- [showActionButtons]="true"
101875
- [showCheckbox]="false"
101876
- [expanded]="expanded"
101877
- (expandClicked)="expanded = !expanded">
101878
- </co-transaction-card-header>
101879
- <div class="transaction-card-content-wrapper">
101880
- <div class="content-base top-base">
101881
- <div class="transaction-field-wrapper status-bar">
101882
- <co-transaction-line-statusbar
101883
- [screenConfigurationObject]="cfgNames.StatusBar"
101884
- [configNames]="statusBarConfigNames"
101885
- [activeCategory]="category.SalesOrderOverview">
101886
- </co-transaction-line-statusbar>
101887
- </div>
101888
- <div class="transaction-field-wrapper">
101889
- <div class="inside-field">
101890
- <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
101891
- <co-transaction-line-commission-button></co-transaction-line-commission-button>
101892
- </div>
101893
- </div>
101894
- <div class="transaction-field-wrapper">
101895
- <div class="inside-field">
101896
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
101897
- <co-transaction-line-warehouse-button
101898
- [screenConfigurationObject]="cfgNames.LineWarehouse"
101899
- >
101900
- </co-transaction-line-warehouse-button>
101901
- </div>
101902
- </div>
101903
- </div>
101904
- <div class="content-base bottom-base">
101905
- <div class="transaction-field-wrapper">
101906
- <div class="inside-field">
101907
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
101908
- <co-editable-label class="transaction-card-price price"
101909
- [model]="transactionLine.price | coCurrency"
101910
- [readonly]="true"
101911
- ></co-editable-label>
101912
- </div>
101913
- </div>
101914
- <div class="transaction-field-wrapper">
101915
- <div class="inside-field">
101916
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
101917
- <co-transaction-line-amount class="amount-number-picker"
101918
- [screenConfigurationObject]="cfgNames.LineAmount"
101919
- ></co-transaction-line-amount>
101920
- </div>
101921
- </div>
101922
- <div class="transaction-field-wrapper">
101923
- <div class="inside-field">
101924
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
101925
- @if (!preview) {
101926
- <co-transaction-line-discount-button
101927
- [screenConfigurationObject]="cfgNames.LineDiscount"
101928
- [configNames]="discountConfigNames"
101929
- ></co-transaction-line-discount-button>
101930
- }
101931
- </div>
101932
- </div>
101933
- <div class="transaction-field-wrapper">
101934
- <div class="inside-field">
101935
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
101936
- <co-editable-label class="transaction-line-totals-total price"
101937
- [model]="transactionLine.netLineTotal | coCurrency"
101938
- [editModel]="transactionLine.netLineTotal"
101939
- [readonly]="true"
101940
- ></co-editable-label>
101941
- </div>
101942
- </div>
101943
- </div>
101944
- @if (expanded) {
101945
- <div class="content-expanded">
101946
- <div class="transaction-field-wrapper">
101947
- <div class="inside-field">
101948
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
101949
- <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
101950
- </div>
101951
- </div>
101952
- <div class="transaction-field-wrapper">
101953
- <div class="inside-field">
101954
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
101955
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
101956
- </div>
101957
- </div>
101958
- <div class="transaction-field-wrapper">
101959
- <div class="inside-field">
101960
- <co-transaction-line-label [insideLabel]="'VAT'"></co-transaction-line-label>
101961
- <co-transaction-line-vat-button></co-transaction-line-vat-button>
101962
- </div>
101963
- </div>
101964
- </div>
101965
- }
101966
- </div>
101967
- <co-transaction-card-footer
101968
- [transactionTypeCategory]="category.SalesOrderOverview"
101969
- [expanded]="expanded"
101970
- ></co-transaction-card-footer>
101971
- </div>
101905
+ template: `
101906
+ <div class="transaction-card-sales-overview-wrapper transaction-card-wrapper">
101907
+ <co-transaction-card-header
101908
+ [showActionButtons]="true"
101909
+ [showCheckbox]="false"
101910
+ [expanded]="expanded"
101911
+ (expandClicked)="expanded = !expanded">
101912
+ </co-transaction-card-header>
101913
+ <div class="transaction-card-content-wrapper">
101914
+ <div class="content-base top-base">
101915
+ <div class="transaction-field-wrapper status-bar">
101916
+ <co-transaction-line-statusbar
101917
+ [screenConfigurationObject]="cfgNames.StatusBar"
101918
+ [configNames]="statusBarConfigNames"
101919
+ [activeCategory]="category.SalesOrderOverview">
101920
+ </co-transaction-line-statusbar>
101921
+ </div>
101922
+ <div class="transaction-field-wrapper">
101923
+ <div class="inside-field">
101924
+ <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
101925
+ <co-transaction-line-commission-button></co-transaction-line-commission-button>
101926
+ </div>
101927
+ </div>
101928
+ <div class="transaction-field-wrapper">
101929
+ <div class="inside-field">
101930
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
101931
+ <co-transaction-line-warehouse-button
101932
+ [screenConfigurationObject]="cfgNames.LineWarehouse"
101933
+ >
101934
+ </co-transaction-line-warehouse-button>
101935
+ </div>
101936
+ </div>
101937
+ </div>
101938
+ <div class="content-base bottom-base">
101939
+ <div class="transaction-field-wrapper">
101940
+ <div class="inside-field">
101941
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
101942
+ <co-editable-label class="transaction-card-price price"
101943
+ [model]="transactionLine.price | coCurrency"
101944
+ [readonly]="true"
101945
+ ></co-editable-label>
101946
+ </div>
101947
+ </div>
101948
+ <div class="transaction-field-wrapper">
101949
+ <div class="inside-field">
101950
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
101951
+ <co-transaction-line-amount class="amount-number-picker"
101952
+ [screenConfigurationObject]="cfgNames.LineAmount"
101953
+ ></co-transaction-line-amount>
101954
+ </div>
101955
+ </div>
101956
+ <div class="transaction-field-wrapper">
101957
+ <div class="inside-field">
101958
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
101959
+ @if (!preview) {
101960
+ <co-transaction-line-discount-button
101961
+ [screenConfigurationObject]="cfgNames.LineDiscount"
101962
+ [configNames]="discountConfigNames"
101963
+ ></co-transaction-line-discount-button>
101964
+ }
101965
+ </div>
101966
+ </div>
101967
+ <div class="transaction-field-wrapper">
101968
+ <div class="inside-field">
101969
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
101970
+ <co-editable-label class="transaction-line-totals-total price"
101971
+ [model]="transactionLine.netLineTotal | coCurrency"
101972
+ [editModel]="transactionLine.netLineTotal"
101973
+ [readonly]="true"
101974
+ ></co-editable-label>
101975
+ </div>
101976
+ </div>
101977
+ </div>
101978
+ @if (expanded) {
101979
+ <div class="content-expanded">
101980
+ <div class="transaction-field-wrapper">
101981
+ <div class="inside-field">
101982
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
101983
+ <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
101984
+ </div>
101985
+ </div>
101986
+ <div class="transaction-field-wrapper">
101987
+ <div class="inside-field">
101988
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
101989
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
101990
+ </div>
101991
+ </div>
101992
+ <div class="transaction-field-wrapper">
101993
+ <div class="inside-field">
101994
+ <co-transaction-line-label [insideLabel]="'VAT'"></co-transaction-line-label>
101995
+ <co-transaction-line-vat-button></co-transaction-line-vat-button>
101996
+ </div>
101997
+ </div>
101998
+ </div>
101999
+ }
102000
+ </div>
102001
+ <co-transaction-card-footer
102002
+ [transactionTypeCategory]="category.SalesOrderOverview"
102003
+ [expanded]="expanded"
102004
+ ></co-transaction-card-footer>
102005
+ </div>
101972
102006
  `,
101973
102007
  encapsulation: ViewEncapsulation.None,
101974
102008
  standalone: false
@@ -102363,230 +102397,230 @@ class TransactionCardInvoiceComponent extends TransactionInvoiceLineBaseComponen
102363
102397
  statusBarGF: this.cfgNames.StatusBarGF
102364
102398
  };
102365
102399
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardInvoiceComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
102366
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionCardInvoiceComponent, isStandalone: false, selector: "co-transaction-card-invoice", host: { properties: { "class.co-transaction-card-invoice": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
102367
- <div class="transaction-card-wrapper">
102368
- <co-transaction-card-header
102369
- [showActionButtons]="true"
102370
- [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
102371
- [showThumbnail]="false"
102372
- [expanded]="expanded"
102373
- (checkboxValueChanged)="handleSelectCheckboxClick($event)"
102374
- (expandClicked)="expanded = !expanded">
102375
- @if (lineQuantityToInvoice !== 0) {
102376
- <div class="transaction-line-totals-amount card-button">
102377
- <co-input-number-picker class="amount-number-picker"
102378
- [(model)]="transactionLine.amountSelected"
102379
- [decimals]="decimals"
102380
- [min]="1"
102381
- [max]="transactionLine.amount"
102382
- [readonly]="readonly"
102383
- (modelChange)="updateSelectedQuantity(transactionLine.amountSelected)">
102384
- </co-input-number-picker>
102385
- </div>
102386
- }
102387
- </co-transaction-card-header>
102388
- <div class="transaction-card-content-wrapper">
102389
- <div class="content-base top-base">
102390
- <div class="transaction-field-wrapper status-bar">
102391
- <co-transaction-line-statusbar
102392
- [screenConfigurationObject]="cfgNames.StatusBar"
102393
- [configNames]="statusBarConfigNames"
102394
- [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
102395
- </div>
102396
- <div class="transaction-field-wrapper">
102397
- <div class="inside-field">
102398
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
102399
- <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
102400
- </div>
102401
- </div>
102402
- <div class="transaction-field-wrapper">
102403
- <div class="inside-field">
102404
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
102405
- <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
102406
- </div>
102407
- </div>
102408
- </div>
102409
- <div class="content-base bottom-base">
102410
- <div class="transaction-field-wrapper">
102411
- <div class="inside-field">
102412
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
102413
- <co-transaction-line-price class="transaction-line-totals-price price"
102414
- [screenConfigurationObject]="cfgNames.LinePrice"
102415
- [showLabel]="false"
102416
- [defaultEditMode]="false"
102417
- ></co-transaction-line-price>
102418
- </div>
102419
- </div>
102420
- <div class="transaction-field-wrapper">
102421
- <div class="inside-field">
102422
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
102423
- @if (!preview) {
102424
- <co-transaction-line-discount-button
102425
- [screenConfigurationObject]="cfgNames.LineDiscount"
102426
- [configNames]="discountConfigNames"
102427
- ></co-transaction-line-discount-button>
102428
- }
102429
- </div>
102430
- </div>
102431
- <div class="transaction-field-wrapper">
102432
- <div class="inside-field">
102433
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
102434
- <co-transaction-line-amount class="amount-number-picker"
102435
- [screenConfigurationObject]="cfgNames.LineAmount"
102436
- ></co-transaction-line-amount>
102437
- </div>
102438
- </div>
102439
- <div class="transaction-field-wrapper">
102440
- <div class="inside-field">
102441
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
102442
- <co-editable-label class="transaction-line-totals-total price"
102443
- [model]="transactionLine.netLineTotal | coCurrency: true"
102444
- [editModel]="transactionLine.netLineTotal"
102445
- [readonly]="true"
102446
- ></co-editable-label>
102447
- </div>
102448
- </div>
102449
- </div>
102450
- @if (expanded) {
102451
- <div class="content-expanded">
102452
- <div class="transaction-field-wrapper">
102453
- <div class="inside-field">
102454
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
102455
- <co-transaction-line-delivery-button
102456
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
102457
- ></co-transaction-line-delivery-button>
102458
- </div>
102459
- </div>
102460
- <div class="transaction-field-wrapper">
102461
- <div class="inside-field">
102462
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
102463
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
102464
- </div>
102465
- </div>
102466
- </div>
102467
- }
102468
- </div>
102469
-
102470
- <co-transaction-card-footer
102471
- [transactionTypeCategory]="category.SalesOrderInvoice"
102472
- [expanded]="expanded"
102473
- ></co-transaction-card-footer>
102474
- </div>
102475
- `, isInline: true, dependencies: [{ kind: "component", type: TransactionCardHeaderComponent, selector: "co-transaction-card-header", inputs: ["showCheckbox", "showActionButtons", "showThumbnail"], outputs: ["checkboxValueChanged", "expandClicked"] }, { kind: "component", type: i1$1.InputNumberPickerComponent, selector: "co-input-number-picker", inputs: ["model", "modelChangeOnEnter", "showPermanentLabel", "leftIconData", "min", "step", "max", "ngModelOptions", "minusIcon", "plusIcon", "buttonShowMode", "noValidation", "decimals"], outputs: ["modelChange", "iconClick"] }, { 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: TransactionCardFooterComponent, selector: "co-transaction-card-footer", inputs: ["statusBarConfigNames", "transactionTypeCategory"] }, { kind: "component", type: EditableLabelComponent, selector: "co-editable-label", inputs: ["model", "editModel", "commit", "editMode", "readonly", "crossedOut", "inputLabel", "insideLabel"], outputs: ["editModelChange"] }, { kind: "component", type: TransactionLineDiscountButtonComponent, selector: "co-transaction-line-discount-button", inputs: ["configNames", "inputLabel"] }, { kind: "component", type: TransactionLineAmountComponent, selector: "co-transaction-line-amount", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineStatusbarComponent, selector: "co-transaction-line-statusbar", inputs: ["configNames", "activeCategory"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: TransactionLineLabelComponent, selector: "co-transaction-line-label", inputs: ["insideLabel"] }, { kind: "component", type: TransactionLineDeliveryDateButtonComponent, selector: "co-transaction-line-delivery-date-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLinePriceComponent, selector: "co-transaction-line-price", inputs: ["showLabel", "showPurchasePrice", "defaultEditMode", "editMode", "inputLabel"] }, { kind: "pipe", type: i1$1.CoCurrencyPipe, name: "coCurrency" }], encapsulation: i0.ViewEncapsulation.None });
102476
- }
102477
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardInvoiceComponent, decorators: [{
102478
- type: Component,
102479
- args: [{
102480
- selector: "co-transaction-card-invoice",
102481
- template: `
102482
- <div class="transaction-card-wrapper">
102483
- <co-transaction-card-header
102484
- [showActionButtons]="true"
102485
- [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
102486
- [showThumbnail]="false"
102487
- [expanded]="expanded"
102488
- (checkboxValueChanged)="handleSelectCheckboxClick($event)"
102489
- (expandClicked)="expanded = !expanded">
102490
- @if (lineQuantityToInvoice !== 0) {
102491
- <div class="transaction-line-totals-amount card-button">
102492
- <co-input-number-picker class="amount-number-picker"
102493
- [(model)]="transactionLine.amountSelected"
102494
- [decimals]="decimals"
102495
- [min]="1"
102496
- [max]="transactionLine.amount"
102497
- [readonly]="readonly"
102498
- (modelChange)="updateSelectedQuantity(transactionLine.amountSelected)">
102499
- </co-input-number-picker>
102500
- </div>
102501
- }
102502
- </co-transaction-card-header>
102503
- <div class="transaction-card-content-wrapper">
102504
- <div class="content-base top-base">
102505
- <div class="transaction-field-wrapper status-bar">
102506
- <co-transaction-line-statusbar
102507
- [screenConfigurationObject]="cfgNames.StatusBar"
102508
- [configNames]="statusBarConfigNames"
102509
- [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
102510
- </div>
102511
- <div class="transaction-field-wrapper">
102512
- <div class="inside-field">
102513
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
102514
- <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
102515
- </div>
102516
- </div>
102517
- <div class="transaction-field-wrapper">
102518
- <div class="inside-field">
102519
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
102520
- <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
102521
- </div>
102522
- </div>
102523
- </div>
102524
- <div class="content-base bottom-base">
102525
- <div class="transaction-field-wrapper">
102526
- <div class="inside-field">
102527
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
102528
- <co-transaction-line-price class="transaction-line-totals-price price"
102529
- [screenConfigurationObject]="cfgNames.LinePrice"
102530
- [showLabel]="false"
102531
- [defaultEditMode]="false"
102532
- ></co-transaction-line-price>
102533
- </div>
102534
- </div>
102535
- <div class="transaction-field-wrapper">
102536
- <div class="inside-field">
102537
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
102538
- @if (!preview) {
102539
- <co-transaction-line-discount-button
102540
- [screenConfigurationObject]="cfgNames.LineDiscount"
102541
- [configNames]="discountConfigNames"
102542
- ></co-transaction-line-discount-button>
102543
- }
102544
- </div>
102545
- </div>
102546
- <div class="transaction-field-wrapper">
102547
- <div class="inside-field">
102548
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
102549
- <co-transaction-line-amount class="amount-number-picker"
102550
- [screenConfigurationObject]="cfgNames.LineAmount"
102551
- ></co-transaction-line-amount>
102552
- </div>
102553
- </div>
102554
- <div class="transaction-field-wrapper">
102555
- <div class="inside-field">
102556
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
102557
- <co-editable-label class="transaction-line-totals-total price"
102558
- [model]="transactionLine.netLineTotal | coCurrency: true"
102559
- [editModel]="transactionLine.netLineTotal"
102560
- [readonly]="true"
102561
- ></co-editable-label>
102562
- </div>
102563
- </div>
102564
- </div>
102565
- @if (expanded) {
102566
- <div class="content-expanded">
102567
- <div class="transaction-field-wrapper">
102568
- <div class="inside-field">
102569
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
102570
- <co-transaction-line-delivery-button
102571
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
102572
- ></co-transaction-line-delivery-button>
102573
- </div>
102574
- </div>
102575
- <div class="transaction-field-wrapper">
102576
- <div class="inside-field">
102577
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
102578
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
102579
- </div>
102580
- </div>
102581
- </div>
102582
- }
102583
- </div>
102584
-
102585
- <co-transaction-card-footer
102586
- [transactionTypeCategory]="category.SalesOrderInvoice"
102587
- [expanded]="expanded"
102588
- ></co-transaction-card-footer>
102589
- </div>
102400
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionCardInvoiceComponent, isStandalone: false, selector: "co-transaction-card-invoice", host: { properties: { "class.co-transaction-card-invoice": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
102401
+ <div class="transaction-card-wrapper">
102402
+ <co-transaction-card-header
102403
+ [showActionButtons]="true"
102404
+ [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
102405
+ [showThumbnail]="false"
102406
+ [expanded]="expanded"
102407
+ (checkboxValueChanged)="handleSelectCheckboxClick($event)"
102408
+ (expandClicked)="expanded = !expanded">
102409
+ @if (lineQuantityToInvoice !== 0) {
102410
+ <div class="transaction-line-totals-amount card-button">
102411
+ <co-input-number-picker class="amount-number-picker"
102412
+ [(model)]="transactionLine.amountSelected"
102413
+ [decimals]="decimals"
102414
+ [min]="1"
102415
+ [max]="transactionLine.amount"
102416
+ [readonly]="readonly"
102417
+ (modelChange)="updateSelectedQuantity(transactionLine.amountSelected)">
102418
+ </co-input-number-picker>
102419
+ </div>
102420
+ }
102421
+ </co-transaction-card-header>
102422
+ <div class="transaction-card-content-wrapper">
102423
+ <div class="content-base top-base">
102424
+ <div class="transaction-field-wrapper status-bar">
102425
+ <co-transaction-line-statusbar
102426
+ [screenConfigurationObject]="cfgNames.StatusBar"
102427
+ [configNames]="statusBarConfigNames"
102428
+ [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
102429
+ </div>
102430
+ <div class="transaction-field-wrapper">
102431
+ <div class="inside-field">
102432
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
102433
+ <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
102434
+ </div>
102435
+ </div>
102436
+ <div class="transaction-field-wrapper">
102437
+ <div class="inside-field">
102438
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
102439
+ <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
102440
+ </div>
102441
+ </div>
102442
+ </div>
102443
+ <div class="content-base bottom-base">
102444
+ <div class="transaction-field-wrapper">
102445
+ <div class="inside-field">
102446
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
102447
+ <co-transaction-line-price class="transaction-line-totals-price price"
102448
+ [screenConfigurationObject]="cfgNames.LinePrice"
102449
+ [showLabel]="false"
102450
+ [defaultEditMode]="false"
102451
+ ></co-transaction-line-price>
102452
+ </div>
102453
+ </div>
102454
+ <div class="transaction-field-wrapper">
102455
+ <div class="inside-field">
102456
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
102457
+ @if (!preview) {
102458
+ <co-transaction-line-discount-button
102459
+ [screenConfigurationObject]="cfgNames.LineDiscount"
102460
+ [configNames]="discountConfigNames"
102461
+ ></co-transaction-line-discount-button>
102462
+ }
102463
+ </div>
102464
+ </div>
102465
+ <div class="transaction-field-wrapper">
102466
+ <div class="inside-field">
102467
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
102468
+ <co-transaction-line-amount class="amount-number-picker"
102469
+ [screenConfigurationObject]="cfgNames.LineAmount"
102470
+ ></co-transaction-line-amount>
102471
+ </div>
102472
+ </div>
102473
+ <div class="transaction-field-wrapper">
102474
+ <div class="inside-field">
102475
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
102476
+ <co-editable-label class="transaction-line-totals-total price"
102477
+ [model]="transactionLine.netLineTotal | coCurrency: true"
102478
+ [editModel]="transactionLine.netLineTotal"
102479
+ [readonly]="true"
102480
+ ></co-editable-label>
102481
+ </div>
102482
+ </div>
102483
+ </div>
102484
+ @if (expanded) {
102485
+ <div class="content-expanded">
102486
+ <div class="transaction-field-wrapper">
102487
+ <div class="inside-field">
102488
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
102489
+ <co-transaction-line-delivery-button
102490
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
102491
+ ></co-transaction-line-delivery-button>
102492
+ </div>
102493
+ </div>
102494
+ <div class="transaction-field-wrapper">
102495
+ <div class="inside-field">
102496
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
102497
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
102498
+ </div>
102499
+ </div>
102500
+ </div>
102501
+ }
102502
+ </div>
102503
+
102504
+ <co-transaction-card-footer
102505
+ [transactionTypeCategory]="category.SalesOrderInvoice"
102506
+ [expanded]="expanded"
102507
+ ></co-transaction-card-footer>
102508
+ </div>
102509
+ `, isInline: true, dependencies: [{ kind: "component", type: TransactionCardHeaderComponent, selector: "co-transaction-card-header", inputs: ["showCheckbox", "showActionButtons", "showThumbnail"], outputs: ["checkboxValueChanged", "expandClicked"] }, { kind: "component", type: i1$1.InputNumberPickerComponent, selector: "co-input-number-picker", inputs: ["model", "modelChangeOnEnter", "showPermanentLabel", "leftIconData", "min", "step", "max", "ngModelOptions", "minusIcon", "plusIcon", "buttonShowMode", "noValidation", "decimals"], outputs: ["modelChange", "iconClick"] }, { 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: TransactionCardFooterComponent, selector: "co-transaction-card-footer", inputs: ["statusBarConfigNames", "transactionTypeCategory"] }, { kind: "component", type: EditableLabelComponent, selector: "co-editable-label", inputs: ["model", "editModel", "commit", "editMode", "readonly", "crossedOut", "inputLabel", "insideLabel"], outputs: ["editModelChange"] }, { kind: "component", type: TransactionLineDiscountButtonComponent, selector: "co-transaction-line-discount-button", inputs: ["configNames", "inputLabel"] }, { kind: "component", type: TransactionLineAmountComponent, selector: "co-transaction-line-amount", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineStatusbarComponent, selector: "co-transaction-line-statusbar", inputs: ["configNames", "activeCategory"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: TransactionLineLabelComponent, selector: "co-transaction-line-label", inputs: ["insideLabel"] }, { kind: "component", type: TransactionLineDeliveryDateButtonComponent, selector: "co-transaction-line-delivery-date-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLinePriceComponent, selector: "co-transaction-line-price", inputs: ["showLabel", "showPurchasePrice", "defaultEditMode", "editMode", "inputLabel"] }, { kind: "pipe", type: i1$1.CoCurrencyPipe, name: "coCurrency" }], encapsulation: i0.ViewEncapsulation.None });
102510
+ }
102511
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardInvoiceComponent, decorators: [{
102512
+ type: Component,
102513
+ args: [{
102514
+ selector: "co-transaction-card-invoice",
102515
+ template: `
102516
+ <div class="transaction-card-wrapper">
102517
+ <co-transaction-card-header
102518
+ [showActionButtons]="true"
102519
+ [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
102520
+ [showThumbnail]="false"
102521
+ [expanded]="expanded"
102522
+ (checkboxValueChanged)="handleSelectCheckboxClick($event)"
102523
+ (expandClicked)="expanded = !expanded">
102524
+ @if (lineQuantityToInvoice !== 0) {
102525
+ <div class="transaction-line-totals-amount card-button">
102526
+ <co-input-number-picker class="amount-number-picker"
102527
+ [(model)]="transactionLine.amountSelected"
102528
+ [decimals]="decimals"
102529
+ [min]="1"
102530
+ [max]="transactionLine.amount"
102531
+ [readonly]="readonly"
102532
+ (modelChange)="updateSelectedQuantity(transactionLine.amountSelected)">
102533
+ </co-input-number-picker>
102534
+ </div>
102535
+ }
102536
+ </co-transaction-card-header>
102537
+ <div class="transaction-card-content-wrapper">
102538
+ <div class="content-base top-base">
102539
+ <div class="transaction-field-wrapper status-bar">
102540
+ <co-transaction-line-statusbar
102541
+ [screenConfigurationObject]="cfgNames.StatusBar"
102542
+ [configNames]="statusBarConfigNames"
102543
+ [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
102544
+ </div>
102545
+ <div class="transaction-field-wrapper">
102546
+ <div class="inside-field">
102547
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
102548
+ <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
102549
+ </div>
102550
+ </div>
102551
+ <div class="transaction-field-wrapper">
102552
+ <div class="inside-field">
102553
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
102554
+ <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
102555
+ </div>
102556
+ </div>
102557
+ </div>
102558
+ <div class="content-base bottom-base">
102559
+ <div class="transaction-field-wrapper">
102560
+ <div class="inside-field">
102561
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
102562
+ <co-transaction-line-price class="transaction-line-totals-price price"
102563
+ [screenConfigurationObject]="cfgNames.LinePrice"
102564
+ [showLabel]="false"
102565
+ [defaultEditMode]="false"
102566
+ ></co-transaction-line-price>
102567
+ </div>
102568
+ </div>
102569
+ <div class="transaction-field-wrapper">
102570
+ <div class="inside-field">
102571
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
102572
+ @if (!preview) {
102573
+ <co-transaction-line-discount-button
102574
+ [screenConfigurationObject]="cfgNames.LineDiscount"
102575
+ [configNames]="discountConfigNames"
102576
+ ></co-transaction-line-discount-button>
102577
+ }
102578
+ </div>
102579
+ </div>
102580
+ <div class="transaction-field-wrapper">
102581
+ <div class="inside-field">
102582
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
102583
+ <co-transaction-line-amount class="amount-number-picker"
102584
+ [screenConfigurationObject]="cfgNames.LineAmount"
102585
+ ></co-transaction-line-amount>
102586
+ </div>
102587
+ </div>
102588
+ <div class="transaction-field-wrapper">
102589
+ <div class="inside-field">
102590
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
102591
+ <co-editable-label class="transaction-line-totals-total price"
102592
+ [model]="transactionLine.netLineTotal | coCurrency: true"
102593
+ [editModel]="transactionLine.netLineTotal"
102594
+ [readonly]="true"
102595
+ ></co-editable-label>
102596
+ </div>
102597
+ </div>
102598
+ </div>
102599
+ @if (expanded) {
102600
+ <div class="content-expanded">
102601
+ <div class="transaction-field-wrapper">
102602
+ <div class="inside-field">
102603
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
102604
+ <co-transaction-line-delivery-button
102605
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
102606
+ ></co-transaction-line-delivery-button>
102607
+ </div>
102608
+ </div>
102609
+ <div class="transaction-field-wrapper">
102610
+ <div class="inside-field">
102611
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
102612
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
102613
+ </div>
102614
+ </div>
102615
+ </div>
102616
+ }
102617
+ </div>
102618
+
102619
+ <co-transaction-card-footer
102620
+ [transactionTypeCategory]="category.SalesOrderInvoice"
102621
+ [expanded]="expanded"
102622
+ ></co-transaction-card-footer>
102623
+ </div>
102590
102624
  `,
102591
102625
  encapsulation: ViewEncapsulation.None,
102592
102626
  standalone: false
@@ -102684,248 +102718,248 @@ class TransactionCardPurchaseComponent extends TransactionPurchaseLineBaseCompon
102684
102718
  lineDiscountQuantum: this.cfgNames.LineDiscountQuantum
102685
102719
  };
102686
102720
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardPurchaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
102687
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionCardPurchaseComponent, isStandalone: false, selector: "co-transaction-card-purchase", host: { properties: { "class.co-transaction-card-purchase": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
102688
- <div class="transaction-card-wrapper">
102689
- <co-transaction-card-header
102690
- [showActionButtons]="true"
102691
- [showCheckbox]="showCheckboxForLine && transactionInfo.transactionDefinitive"
102692
- [expanded]="expanded"
102693
- (expandClicked)="expanded = !expanded">
102694
- </co-transaction-card-header>
102695
- <div class="transaction-card-content-wrapper">
102696
- <div class="content-base top-base" [class.commission]="transactionLine.commissionCode === '0'">
102697
- <div class="transaction-field-wrapper status-bar">
102698
- <co-transaction-line-statusbar
102699
- [screenConfigurationObject]="cfgNames.StatusBar"
102700
- [configNames]="statusBarConfigNames"
102701
- [activeCategory]="category.SalesOrderPurchase"></co-transaction-line-statusbar>
102702
- </div>
102703
- <div class="transaction-field-wrapper">
102704
- <div class="inside-field">
102705
- <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
102706
- <co-transaction-line-supplier-button
102707
- [screenConfigurationObject]="cfgNames.LineSupplier"
102708
- [readonly]="hasPurchaseOrder"></co-transaction-line-supplier-button>
102709
- </div>
102710
- </div>
102711
- @if (transactionLine.commissionCode === '0') {
102712
- <div class="transaction-field-wrapper">
102713
- <div class="inside-field">
102714
- <co-transaction-navigation-button-list
102715
- class="transaction-field-wrapper medium"
102716
- [screenConfigurationObject]="cfgNames.LineRefTransactions"
102717
- [refTransactions]="transactionLine.refTransactionsPurchase"
102718
- [emptyLabel]="'NO_PURCHASE_ORDER' | localize"
102719
- [insideLabel]="'PURCHASE_ORDER'"
102720
- (transactionClick)="handleExistingOrderNavigation($event)"
102721
- [inputLabel]="true"
102722
- ></co-transaction-navigation-button-list>
102723
- </div>
102724
- </div>
102725
- }
102726
- <div class="transaction-field-wrapper">
102727
- <div class="inside-field">
102728
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
102729
- <co-transaction-line-warehouse-button
102730
- [screenConfigurationObject]="cfgNames.LineWarehouse"
102731
- ></co-transaction-line-warehouse-button>
102732
- </div>
102733
- </div>
102734
- </div>
102735
- <div class="content-base bottom-base">
102736
- <div class="transaction-field-wrapper">
102737
- <div class="inside-field">
102738
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
102739
- <co-editable-label class="transaction-card-price price"
102740
- [model]="transactionLine.price | coCurrency"
102741
- [readonly]="true"
102742
- ></co-editable-label>
102743
- </div>
102744
- </div>
102745
- <div class="transaction-field-wrapper">
102746
- <div class="inside-field">
102747
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
102748
- <co-transaction-line-amount class="amount-number-picker"
102749
- [screenConfigurationObject]="cfgNames.LineAmount"
102750
- ></co-transaction-line-amount>
102751
- </div>
102752
- </div>
102753
- <div class="transaction-field-wrapper">
102754
- <div class="inside-field">
102755
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
102756
- @if (!preview) {
102757
- <co-transaction-line-discount-button
102758
- [screenConfigurationObject]="cfgNames.LineDiscount"
102759
- [configNames]="discountConfigNames"
102760
- ></co-transaction-line-discount-button>
102761
- }
102762
- </div>
102763
- </div>
102764
- <div class="transaction-field-wrapper">
102765
- <div class="inside-field">
102766
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
102767
- <co-editable-label class="transaction-line-totals-total price"
102768
- [model]="transactionLine.netLineTotal | coCurrency"
102769
- [editModel]="transactionLine.netLineTotal"
102770
- [readonly]="true"
102771
- ></co-editable-label>
102772
- </div>
102773
- </div>
102774
- </div>
102775
- @if (expanded) {
102776
- <div class="content-expanded">
102777
- <div class="transaction-field-wrapper">
102778
- <div class="inside-field">
102779
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
102780
- <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
102781
- </div>
102782
- </div>
102783
- <div class="transaction-field-wrapper">
102784
- <div class="inside-field">
102785
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
102786
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
102787
- </div>
102788
- </div>
102789
- <div class="transaction-field-wrapper">
102790
- <div class="inside-field">
102791
- <co-transaction-line-drop-shipment-button
102792
- [screenConfigurationObject]="cfgNames.LineDropShipment"
102793
- [showLabel]="true"
102794
- [class.active]="transactionLine.dropShipment"></co-transaction-line-drop-shipment-button>
102795
- </div>
102796
- </div>
102797
- </div>
102798
- }
102799
- </div>
102800
- <co-transaction-card-footer
102801
- [transactionTypeCategory]="category.SalesOrderPurchase"
102802
- [expanded]="expanded"
102803
- ></co-transaction-card-footer>
102804
- </div>
102721
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionCardPurchaseComponent, isStandalone: false, selector: "co-transaction-card-purchase", host: { properties: { "class.co-transaction-card-purchase": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
102722
+ <div class="transaction-card-wrapper">
102723
+ <co-transaction-card-header
102724
+ [showActionButtons]="true"
102725
+ [showCheckbox]="showCheckboxForLine && transactionInfo.transactionDefinitive"
102726
+ [expanded]="expanded"
102727
+ (expandClicked)="expanded = !expanded">
102728
+ </co-transaction-card-header>
102729
+ <div class="transaction-card-content-wrapper">
102730
+ <div class="content-base top-base" [class.commission]="transactionLine.commissionCode === '0'">
102731
+ <div class="transaction-field-wrapper status-bar">
102732
+ <co-transaction-line-statusbar
102733
+ [screenConfigurationObject]="cfgNames.StatusBar"
102734
+ [configNames]="statusBarConfigNames"
102735
+ [activeCategory]="category.SalesOrderPurchase"></co-transaction-line-statusbar>
102736
+ </div>
102737
+ <div class="transaction-field-wrapper">
102738
+ <div class="inside-field">
102739
+ <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
102740
+ <co-transaction-line-supplier-button
102741
+ [screenConfigurationObject]="cfgNames.LineSupplier"
102742
+ [readonly]="hasPurchaseOrder"></co-transaction-line-supplier-button>
102743
+ </div>
102744
+ </div>
102745
+ @if (transactionLine.commissionCode === '0') {
102746
+ <div class="transaction-field-wrapper">
102747
+ <div class="inside-field">
102748
+ <co-transaction-navigation-button-list
102749
+ class="transaction-field-wrapper medium"
102750
+ [screenConfigurationObject]="cfgNames.LineRefTransactions"
102751
+ [refTransactions]="transactionLine.refTransactionsPurchase"
102752
+ [emptyLabel]="'NO_PURCHASE_ORDER' | localize"
102753
+ [insideLabel]="'PURCHASE_ORDER'"
102754
+ (transactionClick)="handleExistingOrderNavigation($event)"
102755
+ [inputLabel]="true"
102756
+ ></co-transaction-navigation-button-list>
102757
+ </div>
102758
+ </div>
102759
+ }
102760
+ <div class="transaction-field-wrapper">
102761
+ <div class="inside-field">
102762
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
102763
+ <co-transaction-line-warehouse-button
102764
+ [screenConfigurationObject]="cfgNames.LineWarehouse"
102765
+ ></co-transaction-line-warehouse-button>
102766
+ </div>
102767
+ </div>
102768
+ </div>
102769
+ <div class="content-base bottom-base">
102770
+ <div class="transaction-field-wrapper">
102771
+ <div class="inside-field">
102772
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
102773
+ <co-editable-label class="transaction-card-price price"
102774
+ [model]="transactionLine.price | coCurrency"
102775
+ [readonly]="true"
102776
+ ></co-editable-label>
102777
+ </div>
102778
+ </div>
102779
+ <div class="transaction-field-wrapper">
102780
+ <div class="inside-field">
102781
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
102782
+ <co-transaction-line-amount class="amount-number-picker"
102783
+ [screenConfigurationObject]="cfgNames.LineAmount"
102784
+ ></co-transaction-line-amount>
102785
+ </div>
102786
+ </div>
102787
+ <div class="transaction-field-wrapper">
102788
+ <div class="inside-field">
102789
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
102790
+ @if (!preview) {
102791
+ <co-transaction-line-discount-button
102792
+ [screenConfigurationObject]="cfgNames.LineDiscount"
102793
+ [configNames]="discountConfigNames"
102794
+ ></co-transaction-line-discount-button>
102795
+ }
102796
+ </div>
102797
+ </div>
102798
+ <div class="transaction-field-wrapper">
102799
+ <div class="inside-field">
102800
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
102801
+ <co-editable-label class="transaction-line-totals-total price"
102802
+ [model]="transactionLine.netLineTotal | coCurrency"
102803
+ [editModel]="transactionLine.netLineTotal"
102804
+ [readonly]="true"
102805
+ ></co-editable-label>
102806
+ </div>
102807
+ </div>
102808
+ </div>
102809
+ @if (expanded) {
102810
+ <div class="content-expanded">
102811
+ <div class="transaction-field-wrapper">
102812
+ <div class="inside-field">
102813
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
102814
+ <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
102815
+ </div>
102816
+ </div>
102817
+ <div class="transaction-field-wrapper">
102818
+ <div class="inside-field">
102819
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
102820
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
102821
+ </div>
102822
+ </div>
102823
+ <div class="transaction-field-wrapper">
102824
+ <div class="inside-field">
102825
+ <co-transaction-line-drop-shipment-button
102826
+ [screenConfigurationObject]="cfgNames.LineDropShipment"
102827
+ [showLabel]="true"
102828
+ [class.active]="transactionLine.dropShipment"></co-transaction-line-drop-shipment-button>
102829
+ </div>
102830
+ </div>
102831
+ </div>
102832
+ }
102833
+ </div>
102834
+ <co-transaction-card-footer
102835
+ [transactionTypeCategory]="category.SalesOrderPurchase"
102836
+ [expanded]="expanded"
102837
+ ></co-transaction-card-footer>
102838
+ </div>
102805
102839
  `, isInline: true, dependencies: [{ kind: "component", type: TransactionCardHeaderComponent, selector: "co-transaction-card-header", inputs: ["showCheckbox", "showActionButtons", "showThumbnail"], outputs: ["checkboxValueChanged", "expandClicked"] }, { 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: TransactionCardFooterComponent, selector: "co-transaction-card-footer", inputs: ["statusBarConfigNames", "transactionTypeCategory"] }, { kind: "component", type: EditableLabelComponent, selector: "co-editable-label", inputs: ["model", "editModel", "commit", "editMode", "readonly", "crossedOut", "inputLabel", "insideLabel"], outputs: ["editModelChange"] }, { kind: "component", type: TransactionLineAmountComponent, selector: "co-transaction-line-amount", inputs: ["inputLabel"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: TransactionLineDropShipmentButtonComponent, selector: "co-transaction-line-drop-shipment-button", inputs: ["showLabel"] }, { kind: "component", type: TransactionNavigationButtonListComponent, selector: "co-transaction-navigation-button-list", inputs: ["emptyLabel", "insideLabel", "navigationButtonIcon", "refTransactions", "showRelationButton", "inputLabel", "insideListLabel", "redService"], outputs: ["relationClick", "transactionClick", "iconClick"] }, { kind: "component", type: TransactionLineSupplierButtonComponent, selector: "co-transaction-line-supplier-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineDiscountButtonComponent, selector: "co-transaction-line-discount-button", inputs: ["configNames", "inputLabel"] }, { kind: "component", type: TransactionLineStatusbarComponent, selector: "co-transaction-line-statusbar", inputs: ["configNames", "activeCategory"] }, { kind: "component", type: TransactionLineLabelComponent, selector: "co-transaction-line-label", inputs: ["insideLabel"] }, { kind: "component", type: TransactionLineDeliveryDateButtonComponent, selector: "co-transaction-line-delivery-date-button", inputs: ["inputLabel"] }, { kind: "pipe", type: CoCurrencyPipe, name: "coCurrency" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
102806
102840
  }
102807
102841
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardPurchaseComponent, decorators: [{
102808
102842
  type: Component,
102809
102843
  args: [{
102810
102844
  selector: "co-transaction-card-purchase",
102811
- template: `
102812
- <div class="transaction-card-wrapper">
102813
- <co-transaction-card-header
102814
- [showActionButtons]="true"
102815
- [showCheckbox]="showCheckboxForLine && transactionInfo.transactionDefinitive"
102816
- [expanded]="expanded"
102817
- (expandClicked)="expanded = !expanded">
102818
- </co-transaction-card-header>
102819
- <div class="transaction-card-content-wrapper">
102820
- <div class="content-base top-base" [class.commission]="transactionLine.commissionCode === '0'">
102821
- <div class="transaction-field-wrapper status-bar">
102822
- <co-transaction-line-statusbar
102823
- [screenConfigurationObject]="cfgNames.StatusBar"
102824
- [configNames]="statusBarConfigNames"
102825
- [activeCategory]="category.SalesOrderPurchase"></co-transaction-line-statusbar>
102826
- </div>
102827
- <div class="transaction-field-wrapper">
102828
- <div class="inside-field">
102829
- <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
102830
- <co-transaction-line-supplier-button
102831
- [screenConfigurationObject]="cfgNames.LineSupplier"
102832
- [readonly]="hasPurchaseOrder"></co-transaction-line-supplier-button>
102833
- </div>
102834
- </div>
102835
- @if (transactionLine.commissionCode === '0') {
102836
- <div class="transaction-field-wrapper">
102837
- <div class="inside-field">
102838
- <co-transaction-navigation-button-list
102839
- class="transaction-field-wrapper medium"
102840
- [screenConfigurationObject]="cfgNames.LineRefTransactions"
102841
- [refTransactions]="transactionLine.refTransactionsPurchase"
102842
- [emptyLabel]="'NO_PURCHASE_ORDER' | localize"
102843
- [insideLabel]="'PURCHASE_ORDER'"
102844
- (transactionClick)="handleExistingOrderNavigation($event)"
102845
- [inputLabel]="true"
102846
- ></co-transaction-navigation-button-list>
102847
- </div>
102848
- </div>
102849
- }
102850
- <div class="transaction-field-wrapper">
102851
- <div class="inside-field">
102852
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
102853
- <co-transaction-line-warehouse-button
102854
- [screenConfigurationObject]="cfgNames.LineWarehouse"
102855
- ></co-transaction-line-warehouse-button>
102856
- </div>
102857
- </div>
102858
- </div>
102859
- <div class="content-base bottom-base">
102860
- <div class="transaction-field-wrapper">
102861
- <div class="inside-field">
102862
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
102863
- <co-editable-label class="transaction-card-price price"
102864
- [model]="transactionLine.price | coCurrency"
102865
- [readonly]="true"
102866
- ></co-editable-label>
102867
- </div>
102868
- </div>
102869
- <div class="transaction-field-wrapper">
102870
- <div class="inside-field">
102871
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
102872
- <co-transaction-line-amount class="amount-number-picker"
102873
- [screenConfigurationObject]="cfgNames.LineAmount"
102874
- ></co-transaction-line-amount>
102875
- </div>
102876
- </div>
102877
- <div class="transaction-field-wrapper">
102878
- <div class="inside-field">
102879
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
102880
- @if (!preview) {
102881
- <co-transaction-line-discount-button
102882
- [screenConfigurationObject]="cfgNames.LineDiscount"
102883
- [configNames]="discountConfigNames"
102884
- ></co-transaction-line-discount-button>
102885
- }
102886
- </div>
102887
- </div>
102888
- <div class="transaction-field-wrapper">
102889
- <div class="inside-field">
102890
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
102891
- <co-editable-label class="transaction-line-totals-total price"
102892
- [model]="transactionLine.netLineTotal | coCurrency"
102893
- [editModel]="transactionLine.netLineTotal"
102894
- [readonly]="true"
102895
- ></co-editable-label>
102896
- </div>
102897
- </div>
102898
- </div>
102899
- @if (expanded) {
102900
- <div class="content-expanded">
102901
- <div class="transaction-field-wrapper">
102902
- <div class="inside-field">
102903
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
102904
- <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
102905
- </div>
102906
- </div>
102907
- <div class="transaction-field-wrapper">
102908
- <div class="inside-field">
102909
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
102910
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
102911
- </div>
102912
- </div>
102913
- <div class="transaction-field-wrapper">
102914
- <div class="inside-field">
102915
- <co-transaction-line-drop-shipment-button
102916
- [screenConfigurationObject]="cfgNames.LineDropShipment"
102917
- [showLabel]="true"
102918
- [class.active]="transactionLine.dropShipment"></co-transaction-line-drop-shipment-button>
102919
- </div>
102920
- </div>
102921
- </div>
102922
- }
102923
- </div>
102924
- <co-transaction-card-footer
102925
- [transactionTypeCategory]="category.SalesOrderPurchase"
102926
- [expanded]="expanded"
102927
- ></co-transaction-card-footer>
102928
- </div>
102845
+ template: `
102846
+ <div class="transaction-card-wrapper">
102847
+ <co-transaction-card-header
102848
+ [showActionButtons]="true"
102849
+ [showCheckbox]="showCheckboxForLine && transactionInfo.transactionDefinitive"
102850
+ [expanded]="expanded"
102851
+ (expandClicked)="expanded = !expanded">
102852
+ </co-transaction-card-header>
102853
+ <div class="transaction-card-content-wrapper">
102854
+ <div class="content-base top-base" [class.commission]="transactionLine.commissionCode === '0'">
102855
+ <div class="transaction-field-wrapper status-bar">
102856
+ <co-transaction-line-statusbar
102857
+ [screenConfigurationObject]="cfgNames.StatusBar"
102858
+ [configNames]="statusBarConfigNames"
102859
+ [activeCategory]="category.SalesOrderPurchase"></co-transaction-line-statusbar>
102860
+ </div>
102861
+ <div class="transaction-field-wrapper">
102862
+ <div class="inside-field">
102863
+ <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
102864
+ <co-transaction-line-supplier-button
102865
+ [screenConfigurationObject]="cfgNames.LineSupplier"
102866
+ [readonly]="hasPurchaseOrder"></co-transaction-line-supplier-button>
102867
+ </div>
102868
+ </div>
102869
+ @if (transactionLine.commissionCode === '0') {
102870
+ <div class="transaction-field-wrapper">
102871
+ <div class="inside-field">
102872
+ <co-transaction-navigation-button-list
102873
+ class="transaction-field-wrapper medium"
102874
+ [screenConfigurationObject]="cfgNames.LineRefTransactions"
102875
+ [refTransactions]="transactionLine.refTransactionsPurchase"
102876
+ [emptyLabel]="'NO_PURCHASE_ORDER' | localize"
102877
+ [insideLabel]="'PURCHASE_ORDER'"
102878
+ (transactionClick)="handleExistingOrderNavigation($event)"
102879
+ [inputLabel]="true"
102880
+ ></co-transaction-navigation-button-list>
102881
+ </div>
102882
+ </div>
102883
+ }
102884
+ <div class="transaction-field-wrapper">
102885
+ <div class="inside-field">
102886
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
102887
+ <co-transaction-line-warehouse-button
102888
+ [screenConfigurationObject]="cfgNames.LineWarehouse"
102889
+ ></co-transaction-line-warehouse-button>
102890
+ </div>
102891
+ </div>
102892
+ </div>
102893
+ <div class="content-base bottom-base">
102894
+ <div class="transaction-field-wrapper">
102895
+ <div class="inside-field">
102896
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
102897
+ <co-editable-label class="transaction-card-price price"
102898
+ [model]="transactionLine.price | coCurrency"
102899
+ [readonly]="true"
102900
+ ></co-editable-label>
102901
+ </div>
102902
+ </div>
102903
+ <div class="transaction-field-wrapper">
102904
+ <div class="inside-field">
102905
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
102906
+ <co-transaction-line-amount class="amount-number-picker"
102907
+ [screenConfigurationObject]="cfgNames.LineAmount"
102908
+ ></co-transaction-line-amount>
102909
+ </div>
102910
+ </div>
102911
+ <div class="transaction-field-wrapper">
102912
+ <div class="inside-field">
102913
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
102914
+ @if (!preview) {
102915
+ <co-transaction-line-discount-button
102916
+ [screenConfigurationObject]="cfgNames.LineDiscount"
102917
+ [configNames]="discountConfigNames"
102918
+ ></co-transaction-line-discount-button>
102919
+ }
102920
+ </div>
102921
+ </div>
102922
+ <div class="transaction-field-wrapper">
102923
+ <div class="inside-field">
102924
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
102925
+ <co-editable-label class="transaction-line-totals-total price"
102926
+ [model]="transactionLine.netLineTotal | coCurrency"
102927
+ [editModel]="transactionLine.netLineTotal"
102928
+ [readonly]="true"
102929
+ ></co-editable-label>
102930
+ </div>
102931
+ </div>
102932
+ </div>
102933
+ @if (expanded) {
102934
+ <div class="content-expanded">
102935
+ <div class="transaction-field-wrapper">
102936
+ <div class="inside-field">
102937
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
102938
+ <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
102939
+ </div>
102940
+ </div>
102941
+ <div class="transaction-field-wrapper">
102942
+ <div class="inside-field">
102943
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
102944
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
102945
+ </div>
102946
+ </div>
102947
+ <div class="transaction-field-wrapper">
102948
+ <div class="inside-field">
102949
+ <co-transaction-line-drop-shipment-button
102950
+ [screenConfigurationObject]="cfgNames.LineDropShipment"
102951
+ [showLabel]="true"
102952
+ [class.active]="transactionLine.dropShipment"></co-transaction-line-drop-shipment-button>
102953
+ </div>
102954
+ </div>
102955
+ </div>
102956
+ }
102957
+ </div>
102958
+ <co-transaction-card-footer
102959
+ [transactionTypeCategory]="category.SalesOrderPurchase"
102960
+ [expanded]="expanded"
102961
+ ></co-transaction-card-footer>
102962
+ </div>
102929
102963
  `,
102930
102964
  encapsulation: ViewEncapsulation.None,
102931
102965
  standalone: false
@@ -103035,242 +103069,242 @@ class TransactionCardOrderDeliveryComponent extends TransactionOrderDeliveryLine
103035
103069
  statusBarGF: this.cfgNames.StatusBarGF
103036
103070
  };
103037
103071
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardOrderDeliveryComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
103038
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionCardOrderDeliveryComponent, isStandalone: false, selector: "co-transaction-card-order-delivery", host: { properties: { "class.co-transaction-card-order-delivery": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
103039
- <div class="transaction-card-wrapper">
103040
- <co-transaction-card-header
103041
- [showActionButtons]="true"
103042
- [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
103043
- [showThumbnail]="false"
103044
- [expanded]="expanded"
103045
- (checkboxValueChanged)="handleSelectCheckboxClick($event)"
103046
- (expandClicked)="expanded = !expanded"
103047
- >
103048
- <!--div class="transaction-line-totals-amount card-button" *ngIf="lineQuantityToDeliver !== 0 && transactionInfo.allowPartialDelivery">
103049
- <co-input-number-picker class="amount-number-picker"
103050
- [(model)]="transactionLine.amountSelected"
103051
- [decimals]="decimals"
103052
- [min]="!transactionInfo.allowPartialDelivery ? transactionLine.amount : 1"
103053
- [max]="transactionLine.amount"
103054
- [readonly]="readonly || !transactionInfo.allowPartialDelivery"
103055
- (modelChange)="updateSelectedQuantity()"
103056
- >
103057
- </co-input-number-picker>
103058
- </div>
103059
- <co-editable-label-- class="transaction-line-totals-total price card-button"
103060
- *ngIf="lineQuantityToDeliver === 0 || !transactionInfo.allowPartialDelivery"
103061
- [model]="lineQuantityToDeliver"
103062
- [readonly]="true"
103063
- ></co-editable-label-->
103064
- </co-transaction-card-header>
103065
- <div class="transaction-card-content-wrapper">
103066
- <div class="content-base top-base">
103067
- <div class="transaction-field-wrapper status-bar">
103068
- <co-transaction-line-statusbar
103069
- [screenConfigurationObject]="cfgNames.StatusBar"
103070
- [configNames]="statusBarConfigNames"
103071
- [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
103072
- </div>
103073
- <div class="transaction-field-wrapper">
103074
- <div class="inside-field">
103075
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
103076
- <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
103077
- </div>
103078
- </div>
103079
- <div class="transaction-field-wrapper">
103080
- <div class="inside-field">
103081
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
103082
- <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
103083
- </div>
103084
- </div>
103085
- </div>
103086
- <div class="content-base bottom-base">
103087
- <div class="transaction-field-wrapper">
103088
- <div class="inside-field">
103089
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
103090
- <co-transaction-line-price class="transaction-line-totals-price price"
103091
- [screenConfigurationObject]="cfgNames.LinePrice"
103092
- [showLabel]="false"
103093
- [defaultEditMode]="false"
103094
- ></co-transaction-line-price>
103095
- </div>
103096
- </div>
103097
- <div class="transaction-field-wrapper">
103098
- <div class="inside-field">
103099
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
103100
- @if (!preview) {
103101
- <co-transaction-line-discount-button
103102
- [screenConfigurationObject]="cfgNames.LineDiscount"
103103
- [configNames]="discountConfigNames"
103104
- ></co-transaction-line-discount-button>
103105
- }
103106
- </div>
103107
- </div>
103108
- <div class="transaction-field-wrapper">
103109
- <div class="inside-field">
103110
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
103111
- <co-transaction-line-amount class="amount-number-picker"
103112
- [screenConfigurationObject]="cfgNames.LineAmount"
103113
- ></co-transaction-line-amount>
103114
- </div>
103115
- </div>
103116
- <div class="transaction-field-wrapper">
103117
- <div class="inside-field">
103118
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
103119
- <co-editable-label class="transaction-line-totals-total price"
103120
- [model]="transactionLine.netLineTotal | coCurrency: true"
103121
- [editModel]="transactionLine.netLineTotal"
103122
- [readonly]="true"
103123
- ></co-editable-label>
103124
- </div>
103125
- </div>
103126
- </div>
103127
- @if (expanded) {
103128
- <div class="content-expanded">
103129
- <div class="transaction-field-wrapper">
103130
- <div class="inside-field">
103131
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
103132
- <co-transaction-line-delivery-button
103133
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
103134
- ></co-transaction-line-delivery-button>
103135
- </div>
103136
- </div>
103137
- <div class="transaction-field-wrapper">
103138
- <div class="inside-field">
103139
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
103140
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
103141
- </div>
103142
- </div>
103143
- </div>
103144
- }
103145
- </div>
103146
-
103147
- <co-transaction-card-footer
103148
- [statusBarConfigNames]="statusBarConfigNames"
103149
- [transactionTypeCategory]="category.SalesOrderDeliveryNote"
103150
- [expanded]="expanded"
103151
- ></co-transaction-card-footer>
103152
- </div>
103072
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionCardOrderDeliveryComponent, isStandalone: false, selector: "co-transaction-card-order-delivery", host: { properties: { "class.co-transaction-card-order-delivery": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
103073
+ <div class="transaction-card-wrapper">
103074
+ <co-transaction-card-header
103075
+ [showActionButtons]="true"
103076
+ [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
103077
+ [showThumbnail]="false"
103078
+ [expanded]="expanded"
103079
+ (checkboxValueChanged)="handleSelectCheckboxClick($event)"
103080
+ (expandClicked)="expanded = !expanded"
103081
+ >
103082
+ <!--div class="transaction-line-totals-amount card-button" *ngIf="lineQuantityToDeliver !== 0 && transactionInfo.allowPartialDelivery">
103083
+ <co-input-number-picker class="amount-number-picker"
103084
+ [(model)]="transactionLine.amountSelected"
103085
+ [decimals]="decimals"
103086
+ [min]="!transactionInfo.allowPartialDelivery ? transactionLine.amount : 1"
103087
+ [max]="transactionLine.amount"
103088
+ [readonly]="readonly || !transactionInfo.allowPartialDelivery"
103089
+ (modelChange)="updateSelectedQuantity()"
103090
+ >
103091
+ </co-input-number-picker>
103092
+ </div>
103093
+ <co-editable-label-- class="transaction-line-totals-total price card-button"
103094
+ *ngIf="lineQuantityToDeliver === 0 || !transactionInfo.allowPartialDelivery"
103095
+ [model]="lineQuantityToDeliver"
103096
+ [readonly]="true"
103097
+ ></co-editable-label-->
103098
+ </co-transaction-card-header>
103099
+ <div class="transaction-card-content-wrapper">
103100
+ <div class="content-base top-base">
103101
+ <div class="transaction-field-wrapper status-bar">
103102
+ <co-transaction-line-statusbar
103103
+ [screenConfigurationObject]="cfgNames.StatusBar"
103104
+ [configNames]="statusBarConfigNames"
103105
+ [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
103106
+ </div>
103107
+ <div class="transaction-field-wrapper">
103108
+ <div class="inside-field">
103109
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
103110
+ <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
103111
+ </div>
103112
+ </div>
103113
+ <div class="transaction-field-wrapper">
103114
+ <div class="inside-field">
103115
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
103116
+ <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
103117
+ </div>
103118
+ </div>
103119
+ </div>
103120
+ <div class="content-base bottom-base">
103121
+ <div class="transaction-field-wrapper">
103122
+ <div class="inside-field">
103123
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
103124
+ <co-transaction-line-price class="transaction-line-totals-price price"
103125
+ [screenConfigurationObject]="cfgNames.LinePrice"
103126
+ [showLabel]="false"
103127
+ [defaultEditMode]="false"
103128
+ ></co-transaction-line-price>
103129
+ </div>
103130
+ </div>
103131
+ <div class="transaction-field-wrapper">
103132
+ <div class="inside-field">
103133
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
103134
+ @if (!preview) {
103135
+ <co-transaction-line-discount-button
103136
+ [screenConfigurationObject]="cfgNames.LineDiscount"
103137
+ [configNames]="discountConfigNames"
103138
+ ></co-transaction-line-discount-button>
103139
+ }
103140
+ </div>
103141
+ </div>
103142
+ <div class="transaction-field-wrapper">
103143
+ <div class="inside-field">
103144
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
103145
+ <co-transaction-line-amount class="amount-number-picker"
103146
+ [screenConfigurationObject]="cfgNames.LineAmount"
103147
+ ></co-transaction-line-amount>
103148
+ </div>
103149
+ </div>
103150
+ <div class="transaction-field-wrapper">
103151
+ <div class="inside-field">
103152
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
103153
+ <co-editable-label class="transaction-line-totals-total price"
103154
+ [model]="transactionLine.netLineTotal | coCurrency: true"
103155
+ [editModel]="transactionLine.netLineTotal"
103156
+ [readonly]="true"
103157
+ ></co-editable-label>
103158
+ </div>
103159
+ </div>
103160
+ </div>
103161
+ @if (expanded) {
103162
+ <div class="content-expanded">
103163
+ <div class="transaction-field-wrapper">
103164
+ <div class="inside-field">
103165
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
103166
+ <co-transaction-line-delivery-button
103167
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
103168
+ ></co-transaction-line-delivery-button>
103169
+ </div>
103170
+ </div>
103171
+ <div class="transaction-field-wrapper">
103172
+ <div class="inside-field">
103173
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
103174
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
103175
+ </div>
103176
+ </div>
103177
+ </div>
103178
+ }
103179
+ </div>
103180
+
103181
+ <co-transaction-card-footer
103182
+ [statusBarConfigNames]="statusBarConfigNames"
103183
+ [transactionTypeCategory]="category.SalesOrderDeliveryNote"
103184
+ [expanded]="expanded"
103185
+ ></co-transaction-card-footer>
103186
+ </div>
103153
103187
  `, isInline: true, dependencies: [{ kind: "component", type: TransactionCardFooterComponent, selector: "co-transaction-card-footer", inputs: ["statusBarConfigNames", "transactionTypeCategory"] }, { kind: "component", type: TransactionCardHeaderComponent, selector: "co-transaction-card-header", inputs: ["showCheckbox", "showActionButtons", "showThumbnail"], outputs: ["checkboxValueChanged", "expandClicked"] }, { 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: EditableLabelComponent, selector: "co-editable-label", inputs: ["model", "editModel", "commit", "editMode", "readonly", "crossedOut", "inputLabel", "insideLabel"], outputs: ["editModelChange"] }, { kind: "component", type: TransactionLineAmountComponent, selector: "co-transaction-line-amount", inputs: ["inputLabel"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: TransactionLineDiscountButtonComponent, selector: "co-transaction-line-discount-button", inputs: ["configNames", "inputLabel"] }, { kind: "component", type: TransactionLineStatusbarComponent, selector: "co-transaction-line-statusbar", inputs: ["configNames", "activeCategory"] }, { kind: "component", type: TransactionLineLabelComponent, selector: "co-transaction-line-label", inputs: ["insideLabel"] }, { kind: "component", type: TransactionLinePriceComponent, selector: "co-transaction-line-price", inputs: ["showLabel", "showPurchasePrice", "defaultEditMode", "editMode", "inputLabel"] }, { kind: "component", type: TransactionLineDeliveryDateButtonComponent, selector: "co-transaction-line-delivery-date-button", inputs: ["inputLabel"] }, { kind: "pipe", type: i1$1.CoCurrencyPipe, name: "coCurrency" }], encapsulation: i0.ViewEncapsulation.None });
103154
103188
  }
103155
103189
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardOrderDeliveryComponent, decorators: [{
103156
103190
  type: Component,
103157
103191
  args: [{
103158
103192
  selector: "co-transaction-card-order-delivery",
103159
- template: `
103160
- <div class="transaction-card-wrapper">
103161
- <co-transaction-card-header
103162
- [showActionButtons]="true"
103163
- [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
103164
- [showThumbnail]="false"
103165
- [expanded]="expanded"
103166
- (checkboxValueChanged)="handleSelectCheckboxClick($event)"
103167
- (expandClicked)="expanded = !expanded"
103168
- >
103169
- <!--div class="transaction-line-totals-amount card-button" *ngIf="lineQuantityToDeliver !== 0 && transactionInfo.allowPartialDelivery">
103170
- <co-input-number-picker class="amount-number-picker"
103171
- [(model)]="transactionLine.amountSelected"
103172
- [decimals]="decimals"
103173
- [min]="!transactionInfo.allowPartialDelivery ? transactionLine.amount : 1"
103174
- [max]="transactionLine.amount"
103175
- [readonly]="readonly || !transactionInfo.allowPartialDelivery"
103176
- (modelChange)="updateSelectedQuantity()"
103177
- >
103178
- </co-input-number-picker>
103179
- </div>
103180
- <co-editable-label-- class="transaction-line-totals-total price card-button"
103181
- *ngIf="lineQuantityToDeliver === 0 || !transactionInfo.allowPartialDelivery"
103182
- [model]="lineQuantityToDeliver"
103183
- [readonly]="true"
103184
- ></co-editable-label-->
103185
- </co-transaction-card-header>
103186
- <div class="transaction-card-content-wrapper">
103187
- <div class="content-base top-base">
103188
- <div class="transaction-field-wrapper status-bar">
103189
- <co-transaction-line-statusbar
103190
- [screenConfigurationObject]="cfgNames.StatusBar"
103191
- [configNames]="statusBarConfigNames"
103192
- [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
103193
- </div>
103194
- <div class="transaction-field-wrapper">
103195
- <div class="inside-field">
103196
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
103197
- <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
103198
- </div>
103199
- </div>
103200
- <div class="transaction-field-wrapper">
103201
- <div class="inside-field">
103202
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
103203
- <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
103204
- </div>
103205
- </div>
103206
- </div>
103207
- <div class="content-base bottom-base">
103208
- <div class="transaction-field-wrapper">
103209
- <div class="inside-field">
103210
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
103211
- <co-transaction-line-price class="transaction-line-totals-price price"
103212
- [screenConfigurationObject]="cfgNames.LinePrice"
103213
- [showLabel]="false"
103214
- [defaultEditMode]="false"
103215
- ></co-transaction-line-price>
103216
- </div>
103217
- </div>
103218
- <div class="transaction-field-wrapper">
103219
- <div class="inside-field">
103220
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
103221
- @if (!preview) {
103222
- <co-transaction-line-discount-button
103223
- [screenConfigurationObject]="cfgNames.LineDiscount"
103224
- [configNames]="discountConfigNames"
103225
- ></co-transaction-line-discount-button>
103226
- }
103227
- </div>
103228
- </div>
103229
- <div class="transaction-field-wrapper">
103230
- <div class="inside-field">
103231
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
103232
- <co-transaction-line-amount class="amount-number-picker"
103233
- [screenConfigurationObject]="cfgNames.LineAmount"
103234
- ></co-transaction-line-amount>
103235
- </div>
103236
- </div>
103237
- <div class="transaction-field-wrapper">
103238
- <div class="inside-field">
103239
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
103240
- <co-editable-label class="transaction-line-totals-total price"
103241
- [model]="transactionLine.netLineTotal | coCurrency: true"
103242
- [editModel]="transactionLine.netLineTotal"
103243
- [readonly]="true"
103244
- ></co-editable-label>
103245
- </div>
103246
- </div>
103247
- </div>
103248
- @if (expanded) {
103249
- <div class="content-expanded">
103250
- <div class="transaction-field-wrapper">
103251
- <div class="inside-field">
103252
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
103253
- <co-transaction-line-delivery-button
103254
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
103255
- ></co-transaction-line-delivery-button>
103256
- </div>
103257
- </div>
103258
- <div class="transaction-field-wrapper">
103259
- <div class="inside-field">
103260
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
103261
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
103262
- </div>
103263
- </div>
103264
- </div>
103265
- }
103266
- </div>
103267
-
103268
- <co-transaction-card-footer
103269
- [statusBarConfigNames]="statusBarConfigNames"
103270
- [transactionTypeCategory]="category.SalesOrderDeliveryNote"
103271
- [expanded]="expanded"
103272
- ></co-transaction-card-footer>
103273
- </div>
103193
+ template: `
103194
+ <div class="transaction-card-wrapper">
103195
+ <co-transaction-card-header
103196
+ [showActionButtons]="true"
103197
+ [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
103198
+ [showThumbnail]="false"
103199
+ [expanded]="expanded"
103200
+ (checkboxValueChanged)="handleSelectCheckboxClick($event)"
103201
+ (expandClicked)="expanded = !expanded"
103202
+ >
103203
+ <!--div class="transaction-line-totals-amount card-button" *ngIf="lineQuantityToDeliver !== 0 && transactionInfo.allowPartialDelivery">
103204
+ <co-input-number-picker class="amount-number-picker"
103205
+ [(model)]="transactionLine.amountSelected"
103206
+ [decimals]="decimals"
103207
+ [min]="!transactionInfo.allowPartialDelivery ? transactionLine.amount : 1"
103208
+ [max]="transactionLine.amount"
103209
+ [readonly]="readonly || !transactionInfo.allowPartialDelivery"
103210
+ (modelChange)="updateSelectedQuantity()"
103211
+ >
103212
+ </co-input-number-picker>
103213
+ </div>
103214
+ <co-editable-label-- class="transaction-line-totals-total price card-button"
103215
+ *ngIf="lineQuantityToDeliver === 0 || !transactionInfo.allowPartialDelivery"
103216
+ [model]="lineQuantityToDeliver"
103217
+ [readonly]="true"
103218
+ ></co-editable-label-->
103219
+ </co-transaction-card-header>
103220
+ <div class="transaction-card-content-wrapper">
103221
+ <div class="content-base top-base">
103222
+ <div class="transaction-field-wrapper status-bar">
103223
+ <co-transaction-line-statusbar
103224
+ [screenConfigurationObject]="cfgNames.StatusBar"
103225
+ [configNames]="statusBarConfigNames"
103226
+ [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
103227
+ </div>
103228
+ <div class="transaction-field-wrapper">
103229
+ <div class="inside-field">
103230
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
103231
+ <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
103232
+ </div>
103233
+ </div>
103234
+ <div class="transaction-field-wrapper">
103235
+ <div class="inside-field">
103236
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
103237
+ <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
103238
+ </div>
103239
+ </div>
103240
+ </div>
103241
+ <div class="content-base bottom-base">
103242
+ <div class="transaction-field-wrapper">
103243
+ <div class="inside-field">
103244
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
103245
+ <co-transaction-line-price class="transaction-line-totals-price price"
103246
+ [screenConfigurationObject]="cfgNames.LinePrice"
103247
+ [showLabel]="false"
103248
+ [defaultEditMode]="false"
103249
+ ></co-transaction-line-price>
103250
+ </div>
103251
+ </div>
103252
+ <div class="transaction-field-wrapper">
103253
+ <div class="inside-field">
103254
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
103255
+ @if (!preview) {
103256
+ <co-transaction-line-discount-button
103257
+ [screenConfigurationObject]="cfgNames.LineDiscount"
103258
+ [configNames]="discountConfigNames"
103259
+ ></co-transaction-line-discount-button>
103260
+ }
103261
+ </div>
103262
+ </div>
103263
+ <div class="transaction-field-wrapper">
103264
+ <div class="inside-field">
103265
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
103266
+ <co-transaction-line-amount class="amount-number-picker"
103267
+ [screenConfigurationObject]="cfgNames.LineAmount"
103268
+ ></co-transaction-line-amount>
103269
+ </div>
103270
+ </div>
103271
+ <div class="transaction-field-wrapper">
103272
+ <div class="inside-field">
103273
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
103274
+ <co-editable-label class="transaction-line-totals-total price"
103275
+ [model]="transactionLine.netLineTotal | coCurrency: true"
103276
+ [editModel]="transactionLine.netLineTotal"
103277
+ [readonly]="true"
103278
+ ></co-editable-label>
103279
+ </div>
103280
+ </div>
103281
+ </div>
103282
+ @if (expanded) {
103283
+ <div class="content-expanded">
103284
+ <div class="transaction-field-wrapper">
103285
+ <div class="inside-field">
103286
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
103287
+ <co-transaction-line-delivery-button
103288
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
103289
+ ></co-transaction-line-delivery-button>
103290
+ </div>
103291
+ </div>
103292
+ <div class="transaction-field-wrapper">
103293
+ <div class="inside-field">
103294
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
103295
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
103296
+ </div>
103297
+ </div>
103298
+ </div>
103299
+ }
103300
+ </div>
103301
+
103302
+ <co-transaction-card-footer
103303
+ [statusBarConfigNames]="statusBarConfigNames"
103304
+ [transactionTypeCategory]="category.SalesOrderDeliveryNote"
103305
+ [expanded]="expanded"
103306
+ ></co-transaction-card-footer>
103307
+ </div>
103274
103308
  `,
103275
103309
  encapsulation: ViewEncapsulation.None,
103276
103310
  standalone: false
@@ -104918,222 +104952,222 @@ class TransactionCardPlanningComponent extends TransactionLineBaseComponent {
104918
104952
  return this.transactionInfo?.allowPartialDelivery;
104919
104953
  }
104920
104954
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardPlanningComponent, deps: [{ token: TransactionHeaderService }, { token: TransactionLineService }, { token: TransactionEventService }, { token: IconCacheService }, { token: TransactionScreenConfigurationService }, { token: TransactionImageService }, { token: DictionaryService }, { token: TransactionService }, { token: i0.ChangeDetectorRef }, { token: DeliveryPlanningService }], target: i0.ɵɵFactoryTarget.Component });
104921
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionCardPlanningComponent, isStandalone: false, selector: "co-transaction-card-planning", host: { properties: { "class.co-transaction-card-planning": "this.showClass" } }, viewQueries: [{ propertyName: "transactionLineActionButtons", first: true, predicate: TransactionLineActionButtonsComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
104922
- <div class="transaction-card-wrapper"
104923
- [draggable]="lineNotPlanned(transactionLine)"
104924
- (dragstart)="dragStarted($event)">
104925
- <co-transaction-card-header
104926
- [showActionButtons]="true"
104927
- [showCheckbox]="lineNotPlanned(transactionLine)"
104928
- [expanded]="expanded" [selected]="selected"
104929
- (checkboxValueChanged)="selected = $event"
104930
- (expandClicked)="expanded = !expanded"
104931
- >
104932
- </co-transaction-card-header>
104933
- <div class="transaction-card-content-wrapper">
104934
- <div class="content-base top-base">
104935
- <div class="transaction-field-wrapper status-bar">
104936
- <co-transaction-line-statusbar
104937
- [screenConfigurationObject]="cfgNames.StatusBar"
104938
- [configNames]="statusBarConfigNames"
104939
- [activeCategory]="category.SalesOrderPlanning"></co-transaction-line-statusbar>
104940
- </div>
104941
- <div class="transaction-field-wrapper">
104942
- <div class="inside-field">
104943
- <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
104944
- <co-transaction-line-commission-button></co-transaction-line-commission-button>
104945
- </div>
104946
- </div>
104947
- <div class="transaction-field-wrapper">
104948
- <div class="inside-field">
104949
- <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
104950
- <co-transaction-line-supplier-button></co-transaction-line-supplier-button>
104951
- </div>
104952
- </div>
104953
- </div>
104954
- <div class="content-base bottom-base">
104955
- <div class="transaction-field-wrapper">
104956
- <div class="inside-field">
104957
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
104958
- <co-transaction-line-price class="transaction-line-totals-price price"
104959
- [screenConfigurationObject]="cfgNames.LinePrice"
104960
- [showLabel]="false"
104961
- [defaultEditMode]="false"
104962
- ></co-transaction-line-price>
104963
- </div>
104964
- </div>
104965
- <div class="transaction-field-wrapper">
104966
- <div class="inside-field">
104967
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
104968
- @if (!preview) {
104969
- <co-transaction-line-discount-button
104970
- [screenConfigurationObject]="cfgNames.LineDiscount"
104971
- [configNames]="discountConfigNames"
104972
- ></co-transaction-line-discount-button>
104973
- }
104974
- </div>
104975
- </div>
104976
- <div class="transaction-field-wrapper">
104977
- <div class="inside-field">
104978
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
104979
- <co-transaction-line-amount class="amount-number-picker"
104980
- [screenConfigurationObject]="cfgNames.LineAmount"
104981
- ></co-transaction-line-amount>
104982
- </div>
104983
- </div>
104984
- <div class="transaction-field-wrapper">
104985
- <div class="inside-field">
104986
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
104987
- <co-editable-label class="transaction-line-totals-total price"
104988
- [model]="transactionLine.netLineTotal | coCurrency: true"
104989
- [editModel]="transactionLine.netLineTotal"
104990
- [readonly]="true"
104991
- ></co-editable-label>
104992
- </div>
104993
- </div>
104994
- </div>
104995
- @if (expanded) {
104996
- <div class="content-expanded">
104997
- <div class="transaction-field-wrapper">
104998
- <div class="inside-field">
104999
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
105000
- <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
105001
- </div>
105002
- </div>
105003
- <div class="transaction-field-wrapper">
105004
- <div class="inside-field">
105005
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
105006
- <co-transaction-line-delivery-button
105007
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
105008
- ></co-transaction-line-delivery-button>
105009
- </div>
105010
- </div>
105011
- <div class="transaction-field-wrapper">
105012
- <div class="inside-field">
105013
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
105014
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
105015
- </div>
105016
- </div>
105017
- </div>
105018
- }
105019
- </div>
105020
-
105021
- <co-transaction-card-footer
105022
- [transactionTypeCategory]="category.SalesOrderOverview"
105023
- [expanded]="expanded"
105024
- ></co-transaction-card-footer>
105025
- </div>
104955
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionCardPlanningComponent, isStandalone: false, selector: "co-transaction-card-planning", host: { properties: { "class.co-transaction-card-planning": "this.showClass" } }, viewQueries: [{ propertyName: "transactionLineActionButtons", first: true, predicate: TransactionLineActionButtonsComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
104956
+ <div class="transaction-card-wrapper"
104957
+ [draggable]="lineNotPlanned(transactionLine)"
104958
+ (dragstart)="dragStarted($event)">
104959
+ <co-transaction-card-header
104960
+ [showActionButtons]="true"
104961
+ [showCheckbox]="lineNotPlanned(transactionLine)"
104962
+ [expanded]="expanded" [selected]="selected"
104963
+ (checkboxValueChanged)="selected = $event"
104964
+ (expandClicked)="expanded = !expanded"
104965
+ >
104966
+ </co-transaction-card-header>
104967
+ <div class="transaction-card-content-wrapper">
104968
+ <div class="content-base top-base">
104969
+ <div class="transaction-field-wrapper status-bar">
104970
+ <co-transaction-line-statusbar
104971
+ [screenConfigurationObject]="cfgNames.StatusBar"
104972
+ [configNames]="statusBarConfigNames"
104973
+ [activeCategory]="category.SalesOrderPlanning"></co-transaction-line-statusbar>
104974
+ </div>
104975
+ <div class="transaction-field-wrapper">
104976
+ <div class="inside-field">
104977
+ <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
104978
+ <co-transaction-line-commission-button></co-transaction-line-commission-button>
104979
+ </div>
104980
+ </div>
104981
+ <div class="transaction-field-wrapper">
104982
+ <div class="inside-field">
104983
+ <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
104984
+ <co-transaction-line-supplier-button></co-transaction-line-supplier-button>
104985
+ </div>
104986
+ </div>
104987
+ </div>
104988
+ <div class="content-base bottom-base">
104989
+ <div class="transaction-field-wrapper">
104990
+ <div class="inside-field">
104991
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
104992
+ <co-transaction-line-price class="transaction-line-totals-price price"
104993
+ [screenConfigurationObject]="cfgNames.LinePrice"
104994
+ [showLabel]="false"
104995
+ [defaultEditMode]="false"
104996
+ ></co-transaction-line-price>
104997
+ </div>
104998
+ </div>
104999
+ <div class="transaction-field-wrapper">
105000
+ <div class="inside-field">
105001
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
105002
+ @if (!preview) {
105003
+ <co-transaction-line-discount-button
105004
+ [screenConfigurationObject]="cfgNames.LineDiscount"
105005
+ [configNames]="discountConfigNames"
105006
+ ></co-transaction-line-discount-button>
105007
+ }
105008
+ </div>
105009
+ </div>
105010
+ <div class="transaction-field-wrapper">
105011
+ <div class="inside-field">
105012
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
105013
+ <co-transaction-line-amount class="amount-number-picker"
105014
+ [screenConfigurationObject]="cfgNames.LineAmount"
105015
+ ></co-transaction-line-amount>
105016
+ </div>
105017
+ </div>
105018
+ <div class="transaction-field-wrapper">
105019
+ <div class="inside-field">
105020
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
105021
+ <co-editable-label class="transaction-line-totals-total price"
105022
+ [model]="transactionLine.netLineTotal | coCurrency: true"
105023
+ [editModel]="transactionLine.netLineTotal"
105024
+ [readonly]="true"
105025
+ ></co-editable-label>
105026
+ </div>
105027
+ </div>
105028
+ </div>
105029
+ @if (expanded) {
105030
+ <div class="content-expanded">
105031
+ <div class="transaction-field-wrapper">
105032
+ <div class="inside-field">
105033
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
105034
+ <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
105035
+ </div>
105036
+ </div>
105037
+ <div class="transaction-field-wrapper">
105038
+ <div class="inside-field">
105039
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
105040
+ <co-transaction-line-delivery-button
105041
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
105042
+ ></co-transaction-line-delivery-button>
105043
+ </div>
105044
+ </div>
105045
+ <div class="transaction-field-wrapper">
105046
+ <div class="inside-field">
105047
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
105048
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
105049
+ </div>
105050
+ </div>
105051
+ </div>
105052
+ }
105053
+ </div>
105054
+
105055
+ <co-transaction-card-footer
105056
+ [transactionTypeCategory]="category.SalesOrderOverview"
105057
+ [expanded]="expanded"
105058
+ ></co-transaction-card-footer>
105059
+ </div>
105026
105060
  `, isInline: true, dependencies: [{ kind: "component", type: TransactionCardHeaderComponent, selector: "co-transaction-card-header", inputs: ["showCheckbox", "showActionButtons", "showThumbnail"], outputs: ["checkboxValueChanged", "expandClicked"] }, { kind: "component", type: TransactionLineAmountComponent, selector: "co-transaction-line-amount", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineCommissionButtonComponent, selector: "co-transaction-line-commission-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineSupplierButtonComponent, selector: "co-transaction-line-supplier-button", inputs: ["inputLabel"] }, { kind: "component", type: EditableLabelComponent, selector: "co-editable-label", inputs: ["model", "editModel", "commit", "editMode", "readonly", "crossedOut", "inputLabel", "insideLabel"], outputs: ["editModelChange"] }, { 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: TransactionCardFooterComponent, selector: "co-transaction-card-footer", inputs: ["statusBarConfigNames", "transactionTypeCategory"] }, { 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: TransactionLineStatusbarComponent, selector: "co-transaction-line-statusbar", inputs: ["configNames", "activeCategory"] }, { kind: "component", type: TransactionLineLabelComponent, selector: "co-transaction-line-label", inputs: ["insideLabel"] }, { kind: "component", type: TransactionLinePriceComponent, selector: "co-transaction-line-price", inputs: ["showLabel", "showPurchasePrice", "defaultEditMode", "editMode", "inputLabel"] }, { kind: "component", type: TransactionLineDeliveryDateButtonComponent, selector: "co-transaction-line-delivery-date-button", inputs: ["inputLabel"] }, { kind: "pipe", type: CoCurrencyPipe, name: "coCurrency" }], encapsulation: i0.ViewEncapsulation.None });
105027
105061
  }
105028
105062
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardPlanningComponent, decorators: [{
105029
105063
  type: Component,
105030
105064
  args: [{
105031
105065
  selector: "co-transaction-card-planning",
105032
- template: `
105033
- <div class="transaction-card-wrapper"
105034
- [draggable]="lineNotPlanned(transactionLine)"
105035
- (dragstart)="dragStarted($event)">
105036
- <co-transaction-card-header
105037
- [showActionButtons]="true"
105038
- [showCheckbox]="lineNotPlanned(transactionLine)"
105039
- [expanded]="expanded" [selected]="selected"
105040
- (checkboxValueChanged)="selected = $event"
105041
- (expandClicked)="expanded = !expanded"
105042
- >
105043
- </co-transaction-card-header>
105044
- <div class="transaction-card-content-wrapper">
105045
- <div class="content-base top-base">
105046
- <div class="transaction-field-wrapper status-bar">
105047
- <co-transaction-line-statusbar
105048
- [screenConfigurationObject]="cfgNames.StatusBar"
105049
- [configNames]="statusBarConfigNames"
105050
- [activeCategory]="category.SalesOrderPlanning"></co-transaction-line-statusbar>
105051
- </div>
105052
- <div class="transaction-field-wrapper">
105053
- <div class="inside-field">
105054
- <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
105055
- <co-transaction-line-commission-button></co-transaction-line-commission-button>
105056
- </div>
105057
- </div>
105058
- <div class="transaction-field-wrapper">
105059
- <div class="inside-field">
105060
- <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
105061
- <co-transaction-line-supplier-button></co-transaction-line-supplier-button>
105062
- </div>
105063
- </div>
105064
- </div>
105065
- <div class="content-base bottom-base">
105066
- <div class="transaction-field-wrapper">
105067
- <div class="inside-field">
105068
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
105069
- <co-transaction-line-price class="transaction-line-totals-price price"
105070
- [screenConfigurationObject]="cfgNames.LinePrice"
105071
- [showLabel]="false"
105072
- [defaultEditMode]="false"
105073
- ></co-transaction-line-price>
105074
- </div>
105075
- </div>
105076
- <div class="transaction-field-wrapper">
105077
- <div class="inside-field">
105078
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
105079
- @if (!preview) {
105080
- <co-transaction-line-discount-button
105081
- [screenConfigurationObject]="cfgNames.LineDiscount"
105082
- [configNames]="discountConfigNames"
105083
- ></co-transaction-line-discount-button>
105084
- }
105085
- </div>
105086
- </div>
105087
- <div class="transaction-field-wrapper">
105088
- <div class="inside-field">
105089
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
105090
- <co-transaction-line-amount class="amount-number-picker"
105091
- [screenConfigurationObject]="cfgNames.LineAmount"
105092
- ></co-transaction-line-amount>
105093
- </div>
105094
- </div>
105095
- <div class="transaction-field-wrapper">
105096
- <div class="inside-field">
105097
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
105098
- <co-editable-label class="transaction-line-totals-total price"
105099
- [model]="transactionLine.netLineTotal | coCurrency: true"
105100
- [editModel]="transactionLine.netLineTotal"
105101
- [readonly]="true"
105102
- ></co-editable-label>
105103
- </div>
105104
- </div>
105105
- </div>
105106
- @if (expanded) {
105107
- <div class="content-expanded">
105108
- <div class="transaction-field-wrapper">
105109
- <div class="inside-field">
105110
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
105111
- <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
105112
- </div>
105113
- </div>
105114
- <div class="transaction-field-wrapper">
105115
- <div class="inside-field">
105116
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
105117
- <co-transaction-line-delivery-button
105118
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
105119
- ></co-transaction-line-delivery-button>
105120
- </div>
105121
- </div>
105122
- <div class="transaction-field-wrapper">
105123
- <div class="inside-field">
105124
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
105125
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
105126
- </div>
105127
- </div>
105128
- </div>
105129
- }
105130
- </div>
105131
-
105132
- <co-transaction-card-footer
105133
- [transactionTypeCategory]="category.SalesOrderOverview"
105134
- [expanded]="expanded"
105135
- ></co-transaction-card-footer>
105136
- </div>
105066
+ template: `
105067
+ <div class="transaction-card-wrapper"
105068
+ [draggable]="lineNotPlanned(transactionLine)"
105069
+ (dragstart)="dragStarted($event)">
105070
+ <co-transaction-card-header
105071
+ [showActionButtons]="true"
105072
+ [showCheckbox]="lineNotPlanned(transactionLine)"
105073
+ [expanded]="expanded" [selected]="selected"
105074
+ (checkboxValueChanged)="selected = $event"
105075
+ (expandClicked)="expanded = !expanded"
105076
+ >
105077
+ </co-transaction-card-header>
105078
+ <div class="transaction-card-content-wrapper">
105079
+ <div class="content-base top-base">
105080
+ <div class="transaction-field-wrapper status-bar">
105081
+ <co-transaction-line-statusbar
105082
+ [screenConfigurationObject]="cfgNames.StatusBar"
105083
+ [configNames]="statusBarConfigNames"
105084
+ [activeCategory]="category.SalesOrderPlanning"></co-transaction-line-statusbar>
105085
+ </div>
105086
+ <div class="transaction-field-wrapper">
105087
+ <div class="inside-field">
105088
+ <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
105089
+ <co-transaction-line-commission-button></co-transaction-line-commission-button>
105090
+ </div>
105091
+ </div>
105092
+ <div class="transaction-field-wrapper">
105093
+ <div class="inside-field">
105094
+ <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
105095
+ <co-transaction-line-supplier-button></co-transaction-line-supplier-button>
105096
+ </div>
105097
+ </div>
105098
+ </div>
105099
+ <div class="content-base bottom-base">
105100
+ <div class="transaction-field-wrapper">
105101
+ <div class="inside-field">
105102
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
105103
+ <co-transaction-line-price class="transaction-line-totals-price price"
105104
+ [screenConfigurationObject]="cfgNames.LinePrice"
105105
+ [showLabel]="false"
105106
+ [defaultEditMode]="false"
105107
+ ></co-transaction-line-price>
105108
+ </div>
105109
+ </div>
105110
+ <div class="transaction-field-wrapper">
105111
+ <div class="inside-field">
105112
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
105113
+ @if (!preview) {
105114
+ <co-transaction-line-discount-button
105115
+ [screenConfigurationObject]="cfgNames.LineDiscount"
105116
+ [configNames]="discountConfigNames"
105117
+ ></co-transaction-line-discount-button>
105118
+ }
105119
+ </div>
105120
+ </div>
105121
+ <div class="transaction-field-wrapper">
105122
+ <div class="inside-field">
105123
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
105124
+ <co-transaction-line-amount class="amount-number-picker"
105125
+ [screenConfigurationObject]="cfgNames.LineAmount"
105126
+ ></co-transaction-line-amount>
105127
+ </div>
105128
+ </div>
105129
+ <div class="transaction-field-wrapper">
105130
+ <div class="inside-field">
105131
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
105132
+ <co-editable-label class="transaction-line-totals-total price"
105133
+ [model]="transactionLine.netLineTotal | coCurrency: true"
105134
+ [editModel]="transactionLine.netLineTotal"
105135
+ [readonly]="true"
105136
+ ></co-editable-label>
105137
+ </div>
105138
+ </div>
105139
+ </div>
105140
+ @if (expanded) {
105141
+ <div class="content-expanded">
105142
+ <div class="transaction-field-wrapper">
105143
+ <div class="inside-field">
105144
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
105145
+ <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
105146
+ </div>
105147
+ </div>
105148
+ <div class="transaction-field-wrapper">
105149
+ <div class="inside-field">
105150
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
105151
+ <co-transaction-line-delivery-button
105152
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
105153
+ ></co-transaction-line-delivery-button>
105154
+ </div>
105155
+ </div>
105156
+ <div class="transaction-field-wrapper">
105157
+ <div class="inside-field">
105158
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
105159
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
105160
+ </div>
105161
+ </div>
105162
+ </div>
105163
+ }
105164
+ </div>
105165
+
105166
+ <co-transaction-card-footer
105167
+ [transactionTypeCategory]="category.SalesOrderOverview"
105168
+ [expanded]="expanded"
105169
+ ></co-transaction-card-footer>
105170
+ </div>
105137
105171
  `,
105138
105172
  encapsulation: ViewEncapsulation.None,
105139
105173
  standalone: false
@@ -114849,6 +114883,11 @@ class ServiceWizardServiceFieldsComponent {
114849
114883
  await this.transactionService.addHeaderImage(document, true);
114850
114884
  this.documents.push(document);
114851
114885
  }
114886
+ async addedDocument(docs) {
114887
+ for (const document of docs) {
114888
+ await this.upsertDocument(document);
114889
+ }
114890
+ }
114852
114891
  async deleteDocument(document) {
114853
114892
  await this.transactionService.deleteHeaderImage(document, true);
114854
114893
  }
@@ -114864,7 +114903,13 @@ class ServiceWizardServiceFieldsComponent {
114864
114903
  <co-input-textarea [(model)]="serviceMessage"></co-input-textarea>
114865
114904
  </div>
114866
114905
  <div class="files-upload co-small-scrollbar">
114867
- <co-files-upload class="files-upload-component" [label]="'ADD_IMAGES' | localize" (documentChangeEvent)="upsertDocument($event)" (documentDeleted)="deleteDocument($event)" [documents]="documents"></co-files-upload>
114906
+ <co-files-upload class="files-upload-component"
114907
+ [label]="'ADD_IMAGES' | localize"
114908
+ (documentChangeEvent)="upsertDocument($event)"
114909
+ (documentsAdded)="addedDocument($event)"
114910
+ (documentDeleted)="deleteDocument($event)"
114911
+ [useWithoutSettingProps]="true"
114912
+ [documents]="documents"></co-files-upload>
114868
114913
  </div>
114869
114914
  </co-form>
114870
114915
  </div>
@@ -114883,7 +114928,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
114883
114928
  <co-input-textarea [(model)]="serviceMessage"></co-input-textarea>
114884
114929
  </div>
114885
114930
  <div class="files-upload co-small-scrollbar">
114886
- <co-files-upload class="files-upload-component" [label]="'ADD_IMAGES' | localize" (documentChangeEvent)="upsertDocument($event)" (documentDeleted)="deleteDocument($event)" [documents]="documents"></co-files-upload>
114931
+ <co-files-upload class="files-upload-component"
114932
+ [label]="'ADD_IMAGES' | localize"
114933
+ (documentChangeEvent)="upsertDocument($event)"
114934
+ (documentsAdded)="addedDocument($event)"
114935
+ (documentDeleted)="deleteDocument($event)"
114936
+ [useWithoutSettingProps]="true"
114937
+ [documents]="documents"></co-files-upload>
114887
114938
  </div>
114888
114939
  </co-form>
114889
114940
  </div>