@colijnit/transaction 300.1.12 → 300.1.13

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.
Files changed (16) hide show
  1. package/fesm2022/colijnit-transaction.mjs +2186 -2144
  2. package/fesm2022/colijnit-transaction.mjs.map +1 -1
  3. package/index.d.ts +15 -6
  4. package/lib/component/transaction-line/transaction-receive-goods-line/style/_layout.scss +0 -1
  5. package/lib/component/transaction-line-interbranch-receive-goods/style/_layout.scss +78 -78
  6. package/lib/component/transaction-line-interbranch-receive-goods/style/_material-definition.scss +2 -2
  7. package/lib/component/transaction-line-interbranch-receive-goods/style/_theme.scss +4 -4
  8. package/lib/component/transaction-line-interbranch-receive-goods/style/material.scss +4 -4
  9. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_layout.scss +27 -27
  10. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_material-definition.scss +1 -1
  11. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_theme.scss +4 -4
  12. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/material.scss +4 -4
  13. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_layout.scss +73 -73
  14. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_theme.scss +6 -6
  15. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/material.scss +4 -4
  16. package/package.json +2 -2
@@ -256,9 +256,9 @@ import { PurchaseAdviceFilters } from '@colijnit/transactionapi/build/model/purc
256
256
  import { GetArticlePriceRequest } from '@colijnit/articleapi/build/model/get-article-price-request';
257
257
  import { PriceListType } from '@colijnit/articleapi/build/enum/refcode/price-list-type.enum';
258
258
  import { RouterModule } from '@angular/router';
259
+ import { SearchType } from '@colijnit/transactionapi/build/enum/search-type.enum';
259
260
  import { QuantityInHistoricState } from '@colijnit/transactionapi/build/enum/quantity-in-historic-state.enum';
260
261
  import { TagCategory } from '@colijnit/mainapi/build/enum/tab-category.enum';
261
- import { SearchType } from '@colijnit/transactionapi/build/enum/search-type.enum';
262
262
  import { BatchTransactionSendingRequest } from '@colijnit/transactionapi/build/model/batch-transaction-sending-request';
263
263
  import { ChangeHeadersTransactionsDefinitiveRequest } from '@colijnit/transactionapi/build/model/change-headers-transactions-definitive-request';
264
264
  import { SetMultipleTransportNotificationsInContainerOnSelectedLinesRequest } from '@colijnit/transactionapi/build/model/set-multiple-transport-notifications-in-container-on-selected-lines-request';
@@ -356,8 +356,8 @@ import { DateField } from '@colijnit/ioneconnector/build/factory/decorators/date
356
356
  class Version {
357
357
  name = "@colijnit/transaction";
358
358
  description = "Colijn IT transaction package";
359
- symVer = "300.1.12";
360
- publishDate = "8/19/2026, 9:58:22 AM";
359
+ symVer = "300.1.13";
360
+ publishDate = "19-8-2026, 16:43:20";
361
361
  }
362
362
 
363
363
  class CheckoutModuleService extends BaseModuleService {
@@ -2052,6 +2052,7 @@ class TransactionEventService {
2052
2052
  removeFromContainerRequested = new Subject;
2053
2053
  removeFromContainerSuccess = new Subject;
2054
2054
  requestFocusOnArticleField = new Subject;
2055
+ transportNotificationsSet = new Subject;
2055
2056
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2056
2057
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionEventService, providedIn: "root" });
2057
2058
  }
@@ -10455,21 +10456,17 @@ class TransactionBaseService extends BaseModuleService {
10455
10456
  inputTransactions = inputRefTransactions.filter(r => r.refRowNumbers.split(",").indexOf(lineNr.toString()) > -1);
10456
10457
  }
10457
10458
  for (let i = 0; i < inputTransactions.length; i++) {
10458
- const request = new TransactionSearchViewRequest();
10459
- request.transactionKind = inputTransactions[i].refTransactionType;
10460
- if (inputRefTransactions[i].refTransactionType !== RefTransactionType.PurchaseInvoice) {
10459
+ if (inputTransactions[i].refTransactionType.toString().length === 1) {
10460
+ const request = new TransactionSearchViewRequest();
10461
+ request.transactionKind = inputTransactions[i].refTransactionType;
10461
10462
  request.transNr = parseInt(inputTransactions[i].refTransactionNr);
10463
+ const transSearchResult = await this.searchTransactions(request);
10464
+ transSearchResult.transactions.forEach((transaction) => {
10465
+ refTransactions.push(new TransactionRefTransaction(transaction.transId, transaction.transNr.toString(), transaction.transactionKind, transaction.relationNr, transaction.relationName));
10466
+ });
10462
10467
  }
10463
- const transSearchResult = await this.searchTransactions(request);
10464
- if (transSearchResult.transactions && transSearchResult.transactions.length > 0) {
10465
- switch (refTransactionType) {
10466
- default:
10467
- refTransactions.push(new TransactionRefTransaction(transSearchResult.transactions[0].transId, transSearchResult.transactions[0].transNr.toString(), transSearchResult.transactions[0].transactionKind, transSearchResult.transactions[0].relationNr, transSearchResult.transactions[0].relationName));
10468
- break;
10469
- case RefTransactionType.PurchaseInvoice:
10470
- refTransactions.push(new TransactionRefTransaction(transSearchResult.transactions[0].transId, inputRefTransactions[i].refTransactionNr, inputRefTransactions[i].refTransactionType, transSearchResult.transactions[0].relationNr, transSearchResult.transactions[0].relationName));
10471
- break;
10472
- }
10468
+ else {
10469
+ refTransactions.push(new TransactionRefTransaction(undefined, inputRefTransactions[i].refTransactionNr, inputRefTransactions[i].refTransactionType, undefined, undefined));
10473
10470
  }
10474
10471
  }
10475
10472
  return refTransactions;
@@ -13291,7 +13288,9 @@ class TransactionService extends PendingReasonService {
13291
13288
  request = this.addSelectedLineDetailsToTransportNotificationRequest(request);
13292
13289
  const response = await this.connector.setTransportNotificationOnSelectedLines(request);
13293
13290
  this.transactionDirty = true;
13294
- return this.handleLineOperationStatuses(response, true);
13291
+ const result = await this.handleLineOperationStatuses(response, true);
13292
+ this.transactionEventService.transportNotificationsSet.next();
13293
+ return result;
13295
13294
  }
13296
13295
  else {
13297
13296
  return false;
@@ -13460,14 +13459,17 @@ class TransactionService extends PendingReasonService {
13460
13459
  if (transactionId && analysisId && lines && lines.length > 0) {
13461
13460
  const selectedLinesForAI = lines.filter(l => l.linkedAnalysisResultId !== null && l.linkedAnalysisResultId !== undefined);
13462
13461
  const orderConfirmationTransactionLinks = [];
13463
- selectedLinesForAI.forEach(l => {
13464
- const orderConfirmationTransactionLink = new OrderConfirmationTransactionLink();
13465
- orderConfirmationTransactionLink.transactionId = transactionId;
13466
- orderConfirmationTransactionLink.transactionLineNumber = l.lineNr;
13467
- orderConfirmationTransactionLink.orderConfirmationAnalysisResultId = l.linkedAnalysisResultId;
13468
- orderConfirmationTransactionLinks.push(orderConfirmationTransactionLink);
13469
- });
13470
- return this.connector.linkTransactionToOrderConfirmation(analysisId, orderConfirmationTransactionLinks);
13462
+ //You can have an analysis available and still decide to not actually confirm any lines via AI.
13463
+ if (selectedLinesForAI.length > 0) {
13464
+ selectedLinesForAI.forEach(l => {
13465
+ const orderConfirmationTransactionLink = new OrderConfirmationTransactionLink();
13466
+ orderConfirmationTransactionLink.transactionId = transactionId;
13467
+ orderConfirmationTransactionLink.transactionLineNumber = l.lineNr;
13468
+ orderConfirmationTransactionLink.orderConfirmationAnalysisResultId = l.linkedAnalysisResultId;
13469
+ orderConfirmationTransactionLinks.push(orderConfirmationTransactionLink);
13470
+ });
13471
+ return this.connector.linkTransactionToOrderConfirmation(analysisId, orderConfirmationTransactionLinks);
13472
+ }
13471
13473
  }
13472
13474
  return Promise.resolve(true);
13473
13475
  }
@@ -26527,49 +26529,45 @@ class DeliveryPlanningOverviewComponent {
26527
26529
  async planSelectedLines(transportDay, week) {
26528
26530
  let planOrder = await this._transactionCon.getPlanOrder(this._transaction.currentTransaction.transactionInfo.id);
26529
26531
  await this.getSequenceOrderValue(planOrder);
26530
- // await this.getOrderLinesPlanned(planOrder);
26531
- await this.getOrderLinesNotPlanned(planOrder);
26532
+ await this.getOrderLinesPlanned(planOrder);
26532
26533
  if (planOrder.partDelivery) {
26533
- let selectedLines = this._transaction.currentTransaction.transactionLines.filter((transLines) => transLines.selected);
26534
- //Does the order already exist?
26535
- if (transportDay?.plannedOrders?.find(order => order.transId === planOrder.transId)) {
26536
- //Yes the order exists
26537
- //If the line(s) we're trying to plan already are planned we need to validate if we need to plan anyway
26538
- let cantPlanSelectedLines = [];
26539
- if (selectedLines.length > 0) {
26540
- transportDay.plannedOrders.find((plannedOrder) => plannedOrder.transId === planOrder.transId).lines.forEach((plannedLine) => {
26541
- if (selectedLines.find((selectedLine) => selectedLine.lineNr === plannedLine.originalLineNr)) {
26542
- cantPlanSelectedLines.push(plannedLine);
26543
- }
26544
- });
26545
- if (cantPlanSelectedLines.length === planOrder.lines.length) {
26546
- await this._dialog.showError('NO_LINES_TO_PLAN', true);
26547
- return;
26548
- }
26549
- }
26550
- else {
26551
- await this._dialog.showError('NO_LINES_SELECTED', true);
26534
+ let selectedLines = this._transaction.currentTransaction.transactionLines.filter((transLine) => transLine.selected);
26535
+ if (selectedLines.length === 0) {
26536
+ await this._dialog.showError("NO_LINES_SELECTED", true);
26537
+ return;
26538
+ }
26539
+ let plannedOrder = transportDay?.plannedOrders?.find((plannedOrder) => plannedOrder.transId === planOrder.transId);
26540
+ // Does the order already exist?
26541
+ if (plannedOrder) {
26542
+ // Yes, the order exists.
26543
+ // Check which of the selected lines are already planned.
26544
+ let cantPlanSelectedLines = plannedOrder.lines.filter((plannedLine) => selectedLines.some((selectedLine) => selectedLine.lineNr === plannedLine.originalLineNr));
26545
+ // If all selected lines are already planned there is nothing left to plan.
26546
+ if (cantPlanSelectedLines.length === selectedLines.length) {
26547
+ await this._dialog.showError("NO_LINES_TO_PLAN", true);
26552
26548
  return;
26553
26549
  }
26554
- let plannedOrder = transportDay.plannedOrders.find((plannedOrder) => plannedOrder.transId === planOrder.transId);
26555
- //All lines that need to be planned for an order are in planOrder now
26556
- //Which means that we just filter the lines out that DON'T match a selected line AND are planned
26557
- planOrder.lines.filter((toPlanLine) => !plannedOrder.lines.find((plannedOrderLine) => plannedOrderLine.originalLineNr === toPlanLine.originalLineNr)
26558
- && !selectedLines.find((selectedLine) => selectedLine.lineNr === toPlanLine.originalLineNr));
26550
+ // Only keep lines that are selected and aren't already planned.
26551
+ planOrder.lines = planOrder.lines.filter((toPlanLine) => !plannedOrder.lines.some((plannedOrderLine) => plannedOrderLine.originalLineNr === toPlanLine.originalLineNr)
26552
+ && selectedLines.some((selectedLine) => selectedLine.lineNr === toPlanLine.originalLineNr));
26559
26553
  }
26560
26554
  else {
26561
- //Order does not exist, lets prepare it with the selected lines
26562
- //Filter the lines for only the selected ones
26563
- planOrder.lines = planOrder.lines.filter(plannedOrderLine => selectedLines.find((selectedLine) => plannedOrderLine.originalLineNr === selectedLine.lineNr));
26555
+ // Order does not exist, prepare it with the selected lines.
26556
+ planOrder.lines = planOrder.lines.filter((plannedOrderLine) => selectedLines.some((selectedLine) => plannedOrderLine.originalLineNr === selectedLine.lineNr));
26557
+ }
26558
+ // Safeguard in case there are no lines remaining after filtering.
26559
+ if (planOrder.lines.length === 0) {
26560
+ await this._dialog.showError("NO_LINES_TO_PLAN", true);
26561
+ return;
26564
26562
  }
26565
26563
  }
26566
- planOrder.lines.forEach((line, index) => {
26567
- let matchedTransLine = this._transaction.currentTransaction.transactionLines.find(transLine => transLine.lineNr === line.originalLineNr);
26564
+ planOrder.lines.forEach((line) => {
26565
+ let matchedTransLine = this._transaction.currentTransaction.transactionLines.find((transLine) => transLine.lineNr === line.originalLineNr);
26568
26566
  if (matchedTransLine) {
26569
26567
  line.amountToPlan = matchedTransLine.amountSelected;
26570
26568
  }
26571
26569
  });
26572
- //If the mode is transaction planning we need to emit an event
26570
+ // If the mode is transaction planning we need to emit an event.
26573
26571
  if (this.deliveryPlanningService.currentPlanningMode === DeliveryPlanningModes.Transaction) {
26574
26572
  this.deliveryPlanningService.currentPlanningPlanOrder = planOrder;
26575
26573
  this.deliveryPlanningService.currentPlanningTransportDay = transportDay;
@@ -26577,8 +26575,7 @@ class DeliveryPlanningOverviewComponent {
26577
26575
  this.deliveryPlanningService.showPlanningPopup.emit();
26578
26576
  }
26579
26577
  else {
26580
- //If we're planning from planning then:
26581
- //Send the prepared order to the
26578
+ // If we're planning from planning, open the planning popup.
26582
26579
  this.openPlanningPopup(planOrder, transportDay, week);
26583
26580
  }
26584
26581
  }
@@ -47090,250 +47087,250 @@ class TransactionOrderTileComponent extends TransactionSearchTileBaseComponent {
47090
47087
  return `Week ${weekNumber}`;
47091
47088
  }
47092
47089
  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 });
47093
- 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: `
47094
-
47095
- <div class="transaction-order-lines-wrapper">
47096
- <div class="transaction-order-info">
47097
- @if (transaction.transType === 'R') {
47098
- <div class="order-detail-section">
47099
- <span [textContent]="'CREATED_ON' | localize"></span>
47100
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
47101
- </div>
47102
- <div class="order-detail-section">
47103
- <span [textContent]="'RETURN_NUMBER' | localize"></span>
47104
- <span [textContent]="transaction.transNr"></span>
47105
- </div>
47106
- }
47107
- @if (transaction.transType !== 'R') {
47108
- <div class="order-number-info">
47109
- <span [textContent]="(transaction.transactionKind === 'S' ? ('SERVICE_NUMBER' | localize) : ('ORDER_NUMBER' | localize))"></span>
47110
- <span [textContent]="transaction.transNr"></span>
47111
- </div>
47112
- <div class="order-details-info">
47113
- <div class="order-detail-section">
47114
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
47115
- <div class="value">
47116
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
47117
- </div>
47118
- </div>
47119
- @if (transaction.getDeliveryDate()) {
47120
- <div class="order-detail-section">
47121
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
47122
- @if (!transaction.deliveryDateDefinitive) {
47123
- <div class="value">
47124
- <span [textContent]="getWeekNumber(transaction.getDeliveryDate())"></span>
47125
- <span class="expected" [textContent]="'EXPECTED_DELIVERY_WEEK' | localize"></span>
47126
- </div>
47127
- }
47128
- @if (transaction.deliveryDateDefinitive) {
47129
- <div class="value">
47130
- <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'" [title]="'DELIVERY_DATE' | localize"></span>
47131
- </div>
47132
- }
47133
- </div>
47134
- }
47135
- <div class="order-detail-section">
47136
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
47137
- <div class="value"><span
47138
- [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
47139
- </div>
47140
- </div>
47141
- </div>
47142
- }
47143
- </div>
47144
- </div>
47145
-
47146
- <!--div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
47147
- <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
47148
- <div class="tile">
47149
- <div class="tile-header">
47150
- <div class="tile-upper-left">
47151
- <div class="transaction-tile-avatar">
47152
- <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
47153
- <span [textContent]="transaction.transNr"></span>
47154
- </div>
47155
- </div>
47156
- <div class="tile-upper-middle">
47157
- <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
47158
- <div class="text"><span [textContent]="transaction.branchNr"></span></div>
47159
- </div>
47160
-
47161
- <div class="tile-upper-right">
47162
- <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
47163
- <co-transaction-statusbar
47164
- [screenConfigurationObject]="cfgNames.StatusBar"
47165
- [configNames]="statusBarConfigNames"
47166
- [transaction]="transaction">
47167
- </co-transaction-statusbar>
47168
- </div>
47169
- </div>
47170
- </div>
47171
- <div class="tile-body">
47172
- <div class="tile-middle-left">
47173
- <co-input-checkbox
47174
- *ngIf="showCheckbox"
47175
- [(model)]="transaction.selected"
47176
- (modelChange)="onSelectedClick(transaction)"
47177
- ></co-input-checkbox>
47178
- </div>
47179
- <div class="tile-middle-middle">
47180
- <div class="text"><span [textContent]="transaction.relationName"></span></div>
47181
- <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
47182
- </div>
47183
- <div class="tile-middle-right"></div>
47184
- </div>
47185
- <div class="tile-footer">
47186
- <div class="tile-bottom-left order-info-section">
47187
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
47188
- <div class="value">
47189
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
47190
- </div>
47191
- </div>
47192
- <div class="tile-bottom-middle order-info-section">
47193
- <div class="value" *ngIf="transaction.getDeliveryDate()">
47194
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
47195
- <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
47196
- <co-icon *ngIf="transaction.deliveryDateDefinitive; else indefinite"
47197
- [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
47198
- <ng-template #indefinite>
47199
- <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
47200
- </ng-template>
47201
- </div>
47202
- </div>
47203
- <div class="tile-bottom-right order-info-section">
47204
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
47205
- <div class="value"><span
47206
- [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
47207
- </div>
47208
- </div>
47209
- </div>
47210
- </div>
47211
- </div-->
47090
+ 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: `
47091
+
47092
+ <div class="transaction-order-lines-wrapper">
47093
+ <div class="transaction-order-info">
47094
+ @if (transaction.transType === 'R') {
47095
+ <div class="order-detail-section">
47096
+ <span [textContent]="'CREATED_ON' | localize"></span>
47097
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
47098
+ </div>
47099
+ <div class="order-detail-section">
47100
+ <span [textContent]="'RETURN_NUMBER' | localize"></span>
47101
+ <span [textContent]="transaction.transNr"></span>
47102
+ </div>
47103
+ }
47104
+ @if (transaction.transType !== 'R') {
47105
+ <div class="order-number-info">
47106
+ <span [textContent]="(transaction.transactionKind === 'S' ? ('SERVICE_NUMBER' | localize) : ('ORDER_NUMBER' | localize))"></span>
47107
+ <span [textContent]="transaction.transNr"></span>
47108
+ </div>
47109
+ <div class="order-details-info">
47110
+ <div class="order-detail-section">
47111
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
47112
+ <div class="value">
47113
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
47114
+ </div>
47115
+ </div>
47116
+ @if (transaction.getDeliveryDate()) {
47117
+ <div class="order-detail-section">
47118
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
47119
+ @if (!transaction.deliveryDateDefinitive) {
47120
+ <div class="value">
47121
+ <span [textContent]="getWeekNumber(transaction.getDeliveryDate())"></span>
47122
+ <span class="expected" [textContent]="'EXPECTED_DELIVERY_WEEK' | localize"></span>
47123
+ </div>
47124
+ }
47125
+ @if (transaction.deliveryDateDefinitive) {
47126
+ <div class="value">
47127
+ <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'" [title]="'DELIVERY_DATE' | localize"></span>
47128
+ </div>
47129
+ }
47130
+ </div>
47131
+ }
47132
+ <div class="order-detail-section">
47133
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
47134
+ <div class="value"><span
47135
+ [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
47136
+ </div>
47137
+ </div>
47138
+ </div>
47139
+ }
47140
+ </div>
47141
+ </div>
47142
+
47143
+ <!--div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
47144
+ <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
47145
+ <div class="tile">
47146
+ <div class="tile-header">
47147
+ <div class="tile-upper-left">
47148
+ <div class="transaction-tile-avatar">
47149
+ <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
47150
+ <span [textContent]="transaction.transNr"></span>
47151
+ </div>
47152
+ </div>
47153
+ <div class="tile-upper-middle">
47154
+ <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
47155
+ <div class="text"><span [textContent]="transaction.branchNr"></span></div>
47156
+ </div>
47157
+
47158
+ <div class="tile-upper-right">
47159
+ <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
47160
+ <co-transaction-statusbar
47161
+ [screenConfigurationObject]="cfgNames.StatusBar"
47162
+ [configNames]="statusBarConfigNames"
47163
+ [transaction]="transaction">
47164
+ </co-transaction-statusbar>
47165
+ </div>
47166
+ </div>
47167
+ </div>
47168
+ <div class="tile-body">
47169
+ <div class="tile-middle-left">
47170
+ <co-input-checkbox
47171
+ *ngIf="showCheckbox"
47172
+ [(model)]="transaction.selected"
47173
+ (modelChange)="onSelectedClick(transaction)"
47174
+ ></co-input-checkbox>
47175
+ </div>
47176
+ <div class="tile-middle-middle">
47177
+ <div class="text"><span [textContent]="transaction.relationName"></span></div>
47178
+ <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
47179
+ </div>
47180
+ <div class="tile-middle-right"></div>
47181
+ </div>
47182
+ <div class="tile-footer">
47183
+ <div class="tile-bottom-left order-info-section">
47184
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
47185
+ <div class="value">
47186
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
47187
+ </div>
47188
+ </div>
47189
+ <div class="tile-bottom-middle order-info-section">
47190
+ <div class="value" *ngIf="transaction.getDeliveryDate()">
47191
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
47192
+ <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
47193
+ <co-icon *ngIf="transaction.deliveryDateDefinitive; else indefinite"
47194
+ [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
47195
+ <ng-template #indefinite>
47196
+ <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
47197
+ </ng-template>
47198
+ </div>
47199
+ </div>
47200
+ <div class="tile-bottom-right order-info-section">
47201
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
47202
+ <div class="value"><span
47203
+ [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
47204
+ </div>
47205
+ </div>
47206
+ </div>
47207
+ </div>
47208
+ </div-->
47212
47209
  `, 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 });
47213
47210
  }
47214
47211
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionOrderTileComponent, decorators: [{
47215
47212
  type: Component,
47216
47213
  args: [{
47217
47214
  selector: "co-transaction-order-tile",
47218
- template: `
47219
-
47220
- <div class="transaction-order-lines-wrapper">
47221
- <div class="transaction-order-info">
47222
- @if (transaction.transType === 'R') {
47223
- <div class="order-detail-section">
47224
- <span [textContent]="'CREATED_ON' | localize"></span>
47225
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
47226
- </div>
47227
- <div class="order-detail-section">
47228
- <span [textContent]="'RETURN_NUMBER' | localize"></span>
47229
- <span [textContent]="transaction.transNr"></span>
47230
- </div>
47231
- }
47232
- @if (transaction.transType !== 'R') {
47233
- <div class="order-number-info">
47234
- <span [textContent]="(transaction.transactionKind === 'S' ? ('SERVICE_NUMBER' | localize) : ('ORDER_NUMBER' | localize))"></span>
47235
- <span [textContent]="transaction.transNr"></span>
47236
- </div>
47237
- <div class="order-details-info">
47238
- <div class="order-detail-section">
47239
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
47240
- <div class="value">
47241
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
47242
- </div>
47243
- </div>
47244
- @if (transaction.getDeliveryDate()) {
47245
- <div class="order-detail-section">
47246
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
47247
- @if (!transaction.deliveryDateDefinitive) {
47248
- <div class="value">
47249
- <span [textContent]="getWeekNumber(transaction.getDeliveryDate())"></span>
47250
- <span class="expected" [textContent]="'EXPECTED_DELIVERY_WEEK' | localize"></span>
47251
- </div>
47252
- }
47253
- @if (transaction.deliveryDateDefinitive) {
47254
- <div class="value">
47255
- <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'" [title]="'DELIVERY_DATE' | localize"></span>
47256
- </div>
47257
- }
47258
- </div>
47259
- }
47260
- <div class="order-detail-section">
47261
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
47262
- <div class="value"><span
47263
- [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
47264
- </div>
47265
- </div>
47266
- </div>
47267
- }
47268
- </div>
47269
- </div>
47270
-
47271
- <!--div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
47272
- <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
47273
- <div class="tile">
47274
- <div class="tile-header">
47275
- <div class="tile-upper-left">
47276
- <div class="transaction-tile-avatar">
47277
- <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
47278
- <span [textContent]="transaction.transNr"></span>
47279
- </div>
47280
- </div>
47281
- <div class="tile-upper-middle">
47282
- <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
47283
- <div class="text"><span [textContent]="transaction.branchNr"></span></div>
47284
- </div>
47285
-
47286
- <div class="tile-upper-right">
47287
- <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
47288
- <co-transaction-statusbar
47289
- [screenConfigurationObject]="cfgNames.StatusBar"
47290
- [configNames]="statusBarConfigNames"
47291
- [transaction]="transaction">
47292
- </co-transaction-statusbar>
47293
- </div>
47294
- </div>
47295
- </div>
47296
- <div class="tile-body">
47297
- <div class="tile-middle-left">
47298
- <co-input-checkbox
47299
- *ngIf="showCheckbox"
47300
- [(model)]="transaction.selected"
47301
- (modelChange)="onSelectedClick(transaction)"
47302
- ></co-input-checkbox>
47303
- </div>
47304
- <div class="tile-middle-middle">
47305
- <div class="text"><span [textContent]="transaction.relationName"></span></div>
47306
- <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
47307
- </div>
47308
- <div class="tile-middle-right"></div>
47309
- </div>
47310
- <div class="tile-footer">
47311
- <div class="tile-bottom-left order-info-section">
47312
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
47313
- <div class="value">
47314
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
47315
- </div>
47316
- </div>
47317
- <div class="tile-bottom-middle order-info-section">
47318
- <div class="value" *ngIf="transaction.getDeliveryDate()">
47319
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
47320
- <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
47321
- <co-icon *ngIf="transaction.deliveryDateDefinitive; else indefinite"
47322
- [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
47323
- <ng-template #indefinite>
47324
- <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
47325
- </ng-template>
47326
- </div>
47327
- </div>
47328
- <div class="tile-bottom-right order-info-section">
47329
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
47330
- <div class="value"><span
47331
- [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
47332
- </div>
47333
- </div>
47334
- </div>
47335
- </div>
47336
- </div-->
47215
+ template: `
47216
+
47217
+ <div class="transaction-order-lines-wrapper">
47218
+ <div class="transaction-order-info">
47219
+ @if (transaction.transType === 'R') {
47220
+ <div class="order-detail-section">
47221
+ <span [textContent]="'CREATED_ON' | localize"></span>
47222
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
47223
+ </div>
47224
+ <div class="order-detail-section">
47225
+ <span [textContent]="'RETURN_NUMBER' | localize"></span>
47226
+ <span [textContent]="transaction.transNr"></span>
47227
+ </div>
47228
+ }
47229
+ @if (transaction.transType !== 'R') {
47230
+ <div class="order-number-info">
47231
+ <span [textContent]="(transaction.transactionKind === 'S' ? ('SERVICE_NUMBER' | localize) : ('ORDER_NUMBER' | localize))"></span>
47232
+ <span [textContent]="transaction.transNr"></span>
47233
+ </div>
47234
+ <div class="order-details-info">
47235
+ <div class="order-detail-section">
47236
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
47237
+ <div class="value">
47238
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'" [title]="'TRANSACTION_DATE' | localize"></span>
47239
+ </div>
47240
+ </div>
47241
+ @if (transaction.getDeliveryDate()) {
47242
+ <div class="order-detail-section">
47243
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
47244
+ @if (!transaction.deliveryDateDefinitive) {
47245
+ <div class="value">
47246
+ <span [textContent]="getWeekNumber(transaction.getDeliveryDate())"></span>
47247
+ <span class="expected" [textContent]="'EXPECTED_DELIVERY_WEEK' | localize"></span>
47248
+ </div>
47249
+ }
47250
+ @if (transaction.deliveryDateDefinitive) {
47251
+ <div class="value">
47252
+ <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'" [title]="'DELIVERY_DATE' | localize"></span>
47253
+ </div>
47254
+ }
47255
+ </div>
47256
+ }
47257
+ <div class="order-detail-section">
47258
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
47259
+ <div class="value"><span
47260
+ [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
47261
+ </div>
47262
+ </div>
47263
+ </div>
47264
+ }
47265
+ </div>
47266
+ </div>
47267
+
47268
+ <!--div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
47269
+ <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
47270
+ <div class="tile">
47271
+ <div class="tile-header">
47272
+ <div class="tile-upper-left">
47273
+ <div class="transaction-tile-avatar">
47274
+ <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
47275
+ <span [textContent]="transaction.transNr"></span>
47276
+ </div>
47277
+ </div>
47278
+ <div class="tile-upper-middle">
47279
+ <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
47280
+ <div class="text"><span [textContent]="transaction.branchNr"></span></div>
47281
+ </div>
47282
+
47283
+ <div class="tile-upper-right">
47284
+ <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
47285
+ <co-transaction-statusbar
47286
+ [screenConfigurationObject]="cfgNames.StatusBar"
47287
+ [configNames]="statusBarConfigNames"
47288
+ [transaction]="transaction">
47289
+ </co-transaction-statusbar>
47290
+ </div>
47291
+ </div>
47292
+ </div>
47293
+ <div class="tile-body">
47294
+ <div class="tile-middle-left">
47295
+ <co-input-checkbox
47296
+ *ngIf="showCheckbox"
47297
+ [(model)]="transaction.selected"
47298
+ (modelChange)="onSelectedClick(transaction)"
47299
+ ></co-input-checkbox>
47300
+ </div>
47301
+ <div class="tile-middle-middle">
47302
+ <div class="text"><span [textContent]="transaction.relationName"></span></div>
47303
+ <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
47304
+ </div>
47305
+ <div class="tile-middle-right"></div>
47306
+ </div>
47307
+ <div class="tile-footer">
47308
+ <div class="tile-bottom-left order-info-section">
47309
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
47310
+ <div class="value">
47311
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
47312
+ </div>
47313
+ </div>
47314
+ <div class="tile-bottom-middle order-info-section">
47315
+ <div class="value" *ngIf="transaction.getDeliveryDate()">
47316
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
47317
+ <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
47318
+ <co-icon *ngIf="transaction.deliveryDateDefinitive; else indefinite"
47319
+ [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
47320
+ <ng-template #indefinite>
47321
+ <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
47322
+ </ng-template>
47323
+ </div>
47324
+ </div>
47325
+ <div class="tile-bottom-right order-info-section">
47326
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
47327
+ <div class="value"><span
47328
+ [textContent]="transaction.totalPriceWithVat | currency:'EUR'"></span>
47329
+ </div>
47330
+ </div>
47331
+ </div>
47332
+ </div>
47333
+ </div-->
47337
47334
  `,
47338
47335
  changeDetection: ChangeDetectionStrategy.OnPush,
47339
47336
  encapsulation: ViewEncapsulation.None,
@@ -61210,236 +61207,236 @@ class TransactionPurchaseOverviewLineComponent extends TransactionLineBaseCompon
61210
61207
  this.transactionEventService.transactionNavigation.next({ transactionNo: ref.refTransactionNr, transactionKind: ref.refTransactionType });
61211
61208
  }
61212
61209
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionPurchaseOverviewLineComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
61213
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionPurchaseOverviewLineComponent, isStandalone: false, selector: "co-transaction-purchase-overview-line", inputs: { lineIndex: "lineIndex" }, host: { properties: { "class.co-transaction-purchase-overview-line": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
61214
- <co-transaction-base-line
61215
- [lineIndex]="lineIndex"
61216
- [transactionInfo]="transactionInfo"
61217
- [transactionLine]="transactionLine"
61218
- [preview]="preview"
61219
- [isFirst]="isFirst"
61220
- (checkboxValueChanged)="selected = $event">
61221
- <div class="transaction-line-wrapper">
61222
- <div class="transaction-line-extended-wrapper">
61223
- <div class="column-full align-right">
61224
- <co-transaction-line-statusbar
61225
- [screenConfigurationObject]="cfgNames.StatusBar"
61226
- [configNames]="statusBarConfigNames"
61227
- [activeCategory]="category.PurchaseOrderOverview">
61228
- </co-transaction-line-statusbar>
61229
- <co-transaction-navigation-button-list
61230
- class="transaction-field-wrapper multi-list"
61231
- [refTransactions]="refTransList"
61232
- (relationClick)="handleRelationNavigation($event)"
61233
- (transactionClick)="handleTransactionNavigation($event)">
61234
- </co-transaction-navigation-button-list>
61235
- <co-transaction-line-warehouse-button
61236
- class="transaction-field-wrapper medium"
61237
- [screenConfigurationObject]="cfgNames.LineWarehouse"
61238
- [inputLabel]="true"
61239
- ></co-transaction-line-warehouse-button>
61240
- <co-transaction-line-delivery-button
61241
- class="transaction-field-wrapper medium"
61242
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
61243
- [inputLabel]="true"
61244
- ></co-transaction-line-delivery-button>
61245
- <co-transaction-line-delivery-date-button
61246
- class="transaction-field-wrapper medium two-column"
61247
- [screenConfigurationObject]="cfgNames.LineDeliveryDate"
61248
- [inputLabel]="true"
61249
- ></co-transaction-line-delivery-date-button>
61250
- <co-transaction-line-vat-button
61251
- class="transaction-field-wrapper small"
61252
- [screenConfigurationObject]="cfgNames.LineVat"
61253
- [inputLabel]="true"
61254
- ></co-transaction-line-vat-button>
61255
- <co-transaction-line-price
61256
- class="transaction-field-wrapper small transaction-line-totals-price price"
61257
- [screenConfigurationObject]="cfgNames.LinePrice"
61258
- [showLabel]="false"
61259
- [defaultEditMode]="false"
61260
- [inputLabel]="true"
61261
- ></co-transaction-line-price>
61262
- <co-transaction-line-discount-button
61263
- class="transaction-field-wrapper small"
61264
- [screenConfigurationObject]="cfgNames.LineDiscount"
61265
- [inputLabel]="true"
61266
- ></co-transaction-line-discount-button>
61267
- <co-transaction-line-amount
61268
- class="transaction-field-wrapper small amount-number-picker"
61269
- [screenConfigurationObject]="cfgNames.LineAmount"
61270
- [inputLabel]="true">
61271
- </co-transaction-line-amount>
61272
- <co-editable-label
61273
- class="transaction-field-wrapper small transaction-line-totals-total price"
61274
- [model]="transactionLine.netLineTotal | coCurrency: true"
61275
- [editModel]="transactionLine.netLineTotal"
61276
- [commit]="!readonly"
61277
- [readonly]="true"
61278
- [editMode]="false"
61279
- [inputLabel]="true"
61280
- ></co-editable-label>
61281
-
61282
- @if (lineMarginInfo) {
61283
- <div class="transaction-field-wrapper small">
61284
- <div class="inside-field">
61285
- <co-transaction-button [statusColor]="true"
61286
- class="no-gap"
61287
- [insideLabel]="'GROSS_PROFIT_PERCENT'"
61288
- [inputLabel]="true"
61289
- [iconData]="iconCacheService.getIcon(icons.ChartPieSimpleRegular)"
61290
- [title]="lineMarginInfo?.grossProfitPercentage / 100 | percent : '1.2-2'">
61291
- </co-transaction-button>
61292
- </div>
61293
- </div>
61294
- }
61295
- @if (lineMarginInfo) {
61296
- <div class="transaction-field-wrapper small">
61297
- <div class="inside-field">
61298
- <co-transaction-button [statusColor]="true"
61299
- class="no-gap"
61300
- [insideLabel]="'GROSS_PROFIT_TOTAL'"
61301
- [inputLabel]="true"
61302
- [iconData]="iconCacheService.getIcon(icons.ChartPieSimpleRegular)"
61303
- [title]="lineMarginInfo?.grossProfit | coCurrency: true">
61304
- </co-transaction-button>
61305
- </div>
61306
- </div>
61307
- }
61308
- @if (lineMarginInfo) {
61309
- <div class="transaction-field-wrapper small">
61310
- <div class="inside-field">
61311
- <co-transaction-button [statusColor]="true"
61312
- class="no-gap"
61313
- [inputLabel]="true"
61314
- [insideLabel]="'CALCULATION_FACTOR'"
61315
- [iconData]="iconCacheService.getIcon(icons.ChartPieSimpleRegular)"
61316
- [title]="lineMarginInfo?.calculationFactor | number">
61317
- </co-transaction-button>
61318
- </div>
61319
- </div>
61320
- }
61321
- </div>
61322
- </div>
61323
- </div>
61324
- </co-transaction-base-line>
61210
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionPurchaseOverviewLineComponent, isStandalone: false, selector: "co-transaction-purchase-overview-line", inputs: { lineIndex: "lineIndex" }, host: { properties: { "class.co-transaction-purchase-overview-line": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
61211
+ <co-transaction-base-line
61212
+ [lineIndex]="lineIndex"
61213
+ [transactionInfo]="transactionInfo"
61214
+ [transactionLine]="transactionLine"
61215
+ [preview]="preview"
61216
+ [isFirst]="isFirst"
61217
+ (checkboxValueChanged)="selected = $event">
61218
+ <div class="transaction-line-wrapper">
61219
+ <div class="transaction-line-extended-wrapper">
61220
+ <div class="column-full align-right">
61221
+ <co-transaction-line-statusbar
61222
+ [screenConfigurationObject]="cfgNames.StatusBar"
61223
+ [configNames]="statusBarConfigNames"
61224
+ [activeCategory]="category.PurchaseOrderOverview">
61225
+ </co-transaction-line-statusbar>
61226
+ <co-transaction-navigation-button-list
61227
+ class="transaction-field-wrapper multi-list"
61228
+ [refTransactions]="refTransList"
61229
+ (relationClick)="handleRelationNavigation($event)"
61230
+ (transactionClick)="handleTransactionNavigation($event)">
61231
+ </co-transaction-navigation-button-list>
61232
+ <co-transaction-line-warehouse-button
61233
+ class="transaction-field-wrapper medium"
61234
+ [screenConfigurationObject]="cfgNames.LineWarehouse"
61235
+ [inputLabel]="true"
61236
+ ></co-transaction-line-warehouse-button>
61237
+ <co-transaction-line-delivery-button
61238
+ class="transaction-field-wrapper medium"
61239
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
61240
+ [inputLabel]="true"
61241
+ ></co-transaction-line-delivery-button>
61242
+ <co-transaction-line-delivery-date-button
61243
+ class="transaction-field-wrapper medium two-column"
61244
+ [screenConfigurationObject]="cfgNames.LineDeliveryDate"
61245
+ [inputLabel]="true"
61246
+ ></co-transaction-line-delivery-date-button>
61247
+ <co-transaction-line-vat-button
61248
+ class="transaction-field-wrapper small"
61249
+ [screenConfigurationObject]="cfgNames.LineVat"
61250
+ [inputLabel]="true"
61251
+ ></co-transaction-line-vat-button>
61252
+ <co-transaction-line-price
61253
+ class="transaction-field-wrapper small transaction-line-totals-price price"
61254
+ [screenConfigurationObject]="cfgNames.LinePrice"
61255
+ [showLabel]="false"
61256
+ [defaultEditMode]="false"
61257
+ [inputLabel]="true"
61258
+ ></co-transaction-line-price>
61259
+ <co-transaction-line-discount-button
61260
+ class="transaction-field-wrapper small"
61261
+ [screenConfigurationObject]="cfgNames.LineDiscount"
61262
+ [inputLabel]="true"
61263
+ ></co-transaction-line-discount-button>
61264
+ <co-transaction-line-amount
61265
+ class="transaction-field-wrapper small amount-number-picker"
61266
+ [screenConfigurationObject]="cfgNames.LineAmount"
61267
+ [inputLabel]="true">
61268
+ </co-transaction-line-amount>
61269
+ <co-editable-label
61270
+ class="transaction-field-wrapper small transaction-line-totals-total price"
61271
+ [model]="transactionLine.netLineTotal | coCurrency: true"
61272
+ [editModel]="transactionLine.netLineTotal"
61273
+ [commit]="!readonly"
61274
+ [readonly]="true"
61275
+ [editMode]="false"
61276
+ [inputLabel]="true"
61277
+ ></co-editable-label>
61278
+
61279
+ @if (lineMarginInfo) {
61280
+ <div class="transaction-field-wrapper small">
61281
+ <div class="inside-field">
61282
+ <co-transaction-button [statusColor]="true"
61283
+ class="no-gap"
61284
+ [insideLabel]="'GROSS_PROFIT_PERCENT'"
61285
+ [inputLabel]="true"
61286
+ [iconData]="iconCacheService.getIcon(icons.ChartPieSimpleRegular)"
61287
+ [title]="lineMarginInfo?.grossProfitPercentage / 100 | percent : '1.2-2'">
61288
+ </co-transaction-button>
61289
+ </div>
61290
+ </div>
61291
+ }
61292
+ @if (lineMarginInfo) {
61293
+ <div class="transaction-field-wrapper small">
61294
+ <div class="inside-field">
61295
+ <co-transaction-button [statusColor]="true"
61296
+ class="no-gap"
61297
+ [insideLabel]="'GROSS_PROFIT_TOTAL'"
61298
+ [inputLabel]="true"
61299
+ [iconData]="iconCacheService.getIcon(icons.ChartPieSimpleRegular)"
61300
+ [title]="lineMarginInfo?.grossProfit | coCurrency: true">
61301
+ </co-transaction-button>
61302
+ </div>
61303
+ </div>
61304
+ }
61305
+ @if (lineMarginInfo) {
61306
+ <div class="transaction-field-wrapper small">
61307
+ <div class="inside-field">
61308
+ <co-transaction-button [statusColor]="true"
61309
+ class="no-gap"
61310
+ [inputLabel]="true"
61311
+ [insideLabel]="'CALCULATION_FACTOR'"
61312
+ [iconData]="iconCacheService.getIcon(icons.ChartPieSimpleRegular)"
61313
+ [title]="lineMarginInfo?.calculationFactor | number">
61314
+ </co-transaction-button>
61315
+ </div>
61316
+ </div>
61317
+ }
61318
+ </div>
61319
+ </div>
61320
+ </div>
61321
+ </co-transaction-base-line>
61325
61322
  `, isInline: true, dependencies: [{ kind: "component", type: TransactionBaseLineComponent, selector: "co-transaction-base-line", inputs: ["lineIndex", "transaction", "transactionInfo", "draggable", "transactionLine", "selected", "preview", "isFirst", "checkboxValue", "showColorIndicator", "colorIndicatorColor", "checkboxReadonly", "checkbox", "actionButtons", "showPurchaseDescAndPrice", "showArticleNr", "customerPortal", "showPriceAmount"], outputs: ["dragStart", "dragEnd", "checkboxValueChanged", "waitingForUserAction"] }, { kind: "component", type: TransactionLineDeliveryDateButtonComponent, selector: "co-transaction-line-delivery-date-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineWarehouseButtonComponent, selector: "co-transaction-line-warehouse-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineDeliveryButtonComponent, selector: "co-transaction-line-delivery-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionLineStatusbarComponent, selector: "co-transaction-line-statusbar", inputs: ["configNames", "activeCategory"] }, { kind: "component", type: TransactionLinePriceComponent, selector: "co-transaction-line-price", inputs: ["showLabel", "showPurchasePrice", "defaultEditMode", "editMode", "inputLabel"] }, { 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: EditableLabelComponent, selector: "co-editable-label", inputs: ["model", "editModel", "commit", "editMode", "readonly", "crossedOut", "inputLabel", "insideLabel"], outputs: ["editModelChange"] }, { kind: "component", type: TransactionLineVatButtonComponent, selector: "co-transaction-line-vat-button", inputs: ["inputLabel"] }, { kind: "component", type: TransactionNavigationButtonListComponent, selector: "co-transaction-navigation-button-list", inputs: ["emptyLabel", "insideLabel", "navigationButtonIcon", "refTransactions", "showRelationButton", "inputLabel", "redService"], outputs: ["relationClick", "transactionClick", "iconClick"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: TransactionButtonComponent, selector: "co-transaction-button", inputs: ["label", "title", "statusColor", "readonly", "hidden", "forceReadonly", "iconData", "rightIconData", "showCheckMarkLoader", "checkMarkOverlayVisible", "inputLabel", "insideLabel"], outputs: ["iconClicked"] }, { kind: "pipe", type: i2$1.DecimalPipe, name: "number" }, { kind: "pipe", type: i2$1.PercentPipe, name: "percent" }, { kind: "pipe", type: CoCurrencyPipe, name: "coCurrency" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
61326
61323
  }
61327
61324
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionPurchaseOverviewLineComponent, decorators: [{
61328
61325
  type: Component,
61329
61326
  args: [{
61330
61327
  selector: "co-transaction-purchase-overview-line",
61331
- template: `
61332
- <co-transaction-base-line
61333
- [lineIndex]="lineIndex"
61334
- [transactionInfo]="transactionInfo"
61335
- [transactionLine]="transactionLine"
61336
- [preview]="preview"
61337
- [isFirst]="isFirst"
61338
- (checkboxValueChanged)="selected = $event">
61339
- <div class="transaction-line-wrapper">
61340
- <div class="transaction-line-extended-wrapper">
61341
- <div class="column-full align-right">
61342
- <co-transaction-line-statusbar
61343
- [screenConfigurationObject]="cfgNames.StatusBar"
61344
- [configNames]="statusBarConfigNames"
61345
- [activeCategory]="category.PurchaseOrderOverview">
61346
- </co-transaction-line-statusbar>
61347
- <co-transaction-navigation-button-list
61348
- class="transaction-field-wrapper multi-list"
61349
- [refTransactions]="refTransList"
61350
- (relationClick)="handleRelationNavigation($event)"
61351
- (transactionClick)="handleTransactionNavigation($event)">
61352
- </co-transaction-navigation-button-list>
61353
- <co-transaction-line-warehouse-button
61354
- class="transaction-field-wrapper medium"
61355
- [screenConfigurationObject]="cfgNames.LineWarehouse"
61356
- [inputLabel]="true"
61357
- ></co-transaction-line-warehouse-button>
61358
- <co-transaction-line-delivery-button
61359
- class="transaction-field-wrapper medium"
61360
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
61361
- [inputLabel]="true"
61362
- ></co-transaction-line-delivery-button>
61363
- <co-transaction-line-delivery-date-button
61364
- class="transaction-field-wrapper medium two-column"
61365
- [screenConfigurationObject]="cfgNames.LineDeliveryDate"
61366
- [inputLabel]="true"
61367
- ></co-transaction-line-delivery-date-button>
61368
- <co-transaction-line-vat-button
61369
- class="transaction-field-wrapper small"
61370
- [screenConfigurationObject]="cfgNames.LineVat"
61371
- [inputLabel]="true"
61372
- ></co-transaction-line-vat-button>
61373
- <co-transaction-line-price
61374
- class="transaction-field-wrapper small transaction-line-totals-price price"
61375
- [screenConfigurationObject]="cfgNames.LinePrice"
61376
- [showLabel]="false"
61377
- [defaultEditMode]="false"
61378
- [inputLabel]="true"
61379
- ></co-transaction-line-price>
61380
- <co-transaction-line-discount-button
61381
- class="transaction-field-wrapper small"
61382
- [screenConfigurationObject]="cfgNames.LineDiscount"
61383
- [inputLabel]="true"
61384
- ></co-transaction-line-discount-button>
61385
- <co-transaction-line-amount
61386
- class="transaction-field-wrapper small amount-number-picker"
61387
- [screenConfigurationObject]="cfgNames.LineAmount"
61388
- [inputLabel]="true">
61389
- </co-transaction-line-amount>
61390
- <co-editable-label
61391
- class="transaction-field-wrapper small transaction-line-totals-total price"
61392
- [model]="transactionLine.netLineTotal | coCurrency: true"
61393
- [editModel]="transactionLine.netLineTotal"
61394
- [commit]="!readonly"
61395
- [readonly]="true"
61396
- [editMode]="false"
61397
- [inputLabel]="true"
61398
- ></co-editable-label>
61399
-
61400
- @if (lineMarginInfo) {
61401
- <div class="transaction-field-wrapper small">
61402
- <div class="inside-field">
61403
- <co-transaction-button [statusColor]="true"
61404
- class="no-gap"
61405
- [insideLabel]="'GROSS_PROFIT_PERCENT'"
61406
- [inputLabel]="true"
61407
- [iconData]="iconCacheService.getIcon(icons.ChartPieSimpleRegular)"
61408
- [title]="lineMarginInfo?.grossProfitPercentage / 100 | percent : '1.2-2'">
61409
- </co-transaction-button>
61410
- </div>
61411
- </div>
61412
- }
61413
- @if (lineMarginInfo) {
61414
- <div class="transaction-field-wrapper small">
61415
- <div class="inside-field">
61416
- <co-transaction-button [statusColor]="true"
61417
- class="no-gap"
61418
- [insideLabel]="'GROSS_PROFIT_TOTAL'"
61419
- [inputLabel]="true"
61420
- [iconData]="iconCacheService.getIcon(icons.ChartPieSimpleRegular)"
61421
- [title]="lineMarginInfo?.grossProfit | coCurrency: true">
61422
- </co-transaction-button>
61423
- </div>
61424
- </div>
61425
- }
61426
- @if (lineMarginInfo) {
61427
- <div class="transaction-field-wrapper small">
61428
- <div class="inside-field">
61429
- <co-transaction-button [statusColor]="true"
61430
- class="no-gap"
61431
- [inputLabel]="true"
61432
- [insideLabel]="'CALCULATION_FACTOR'"
61433
- [iconData]="iconCacheService.getIcon(icons.ChartPieSimpleRegular)"
61434
- [title]="lineMarginInfo?.calculationFactor | number">
61435
- </co-transaction-button>
61436
- </div>
61437
- </div>
61438
- }
61439
- </div>
61440
- </div>
61441
- </div>
61442
- </co-transaction-base-line>
61328
+ template: `
61329
+ <co-transaction-base-line
61330
+ [lineIndex]="lineIndex"
61331
+ [transactionInfo]="transactionInfo"
61332
+ [transactionLine]="transactionLine"
61333
+ [preview]="preview"
61334
+ [isFirst]="isFirst"
61335
+ (checkboxValueChanged)="selected = $event">
61336
+ <div class="transaction-line-wrapper">
61337
+ <div class="transaction-line-extended-wrapper">
61338
+ <div class="column-full align-right">
61339
+ <co-transaction-line-statusbar
61340
+ [screenConfigurationObject]="cfgNames.StatusBar"
61341
+ [configNames]="statusBarConfigNames"
61342
+ [activeCategory]="category.PurchaseOrderOverview">
61343
+ </co-transaction-line-statusbar>
61344
+ <co-transaction-navigation-button-list
61345
+ class="transaction-field-wrapper multi-list"
61346
+ [refTransactions]="refTransList"
61347
+ (relationClick)="handleRelationNavigation($event)"
61348
+ (transactionClick)="handleTransactionNavigation($event)">
61349
+ </co-transaction-navigation-button-list>
61350
+ <co-transaction-line-warehouse-button
61351
+ class="transaction-field-wrapper medium"
61352
+ [screenConfigurationObject]="cfgNames.LineWarehouse"
61353
+ [inputLabel]="true"
61354
+ ></co-transaction-line-warehouse-button>
61355
+ <co-transaction-line-delivery-button
61356
+ class="transaction-field-wrapper medium"
61357
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
61358
+ [inputLabel]="true"
61359
+ ></co-transaction-line-delivery-button>
61360
+ <co-transaction-line-delivery-date-button
61361
+ class="transaction-field-wrapper medium two-column"
61362
+ [screenConfigurationObject]="cfgNames.LineDeliveryDate"
61363
+ [inputLabel]="true"
61364
+ ></co-transaction-line-delivery-date-button>
61365
+ <co-transaction-line-vat-button
61366
+ class="transaction-field-wrapper small"
61367
+ [screenConfigurationObject]="cfgNames.LineVat"
61368
+ [inputLabel]="true"
61369
+ ></co-transaction-line-vat-button>
61370
+ <co-transaction-line-price
61371
+ class="transaction-field-wrapper small transaction-line-totals-price price"
61372
+ [screenConfigurationObject]="cfgNames.LinePrice"
61373
+ [showLabel]="false"
61374
+ [defaultEditMode]="false"
61375
+ [inputLabel]="true"
61376
+ ></co-transaction-line-price>
61377
+ <co-transaction-line-discount-button
61378
+ class="transaction-field-wrapper small"
61379
+ [screenConfigurationObject]="cfgNames.LineDiscount"
61380
+ [inputLabel]="true"
61381
+ ></co-transaction-line-discount-button>
61382
+ <co-transaction-line-amount
61383
+ class="transaction-field-wrapper small amount-number-picker"
61384
+ [screenConfigurationObject]="cfgNames.LineAmount"
61385
+ [inputLabel]="true">
61386
+ </co-transaction-line-amount>
61387
+ <co-editable-label
61388
+ class="transaction-field-wrapper small transaction-line-totals-total price"
61389
+ [model]="transactionLine.netLineTotal | coCurrency: true"
61390
+ [editModel]="transactionLine.netLineTotal"
61391
+ [commit]="!readonly"
61392
+ [readonly]="true"
61393
+ [editMode]="false"
61394
+ [inputLabel]="true"
61395
+ ></co-editable-label>
61396
+
61397
+ @if (lineMarginInfo) {
61398
+ <div class="transaction-field-wrapper small">
61399
+ <div class="inside-field">
61400
+ <co-transaction-button [statusColor]="true"
61401
+ class="no-gap"
61402
+ [insideLabel]="'GROSS_PROFIT_PERCENT'"
61403
+ [inputLabel]="true"
61404
+ [iconData]="iconCacheService.getIcon(icons.ChartPieSimpleRegular)"
61405
+ [title]="lineMarginInfo?.grossProfitPercentage / 100 | percent : '1.2-2'">
61406
+ </co-transaction-button>
61407
+ </div>
61408
+ </div>
61409
+ }
61410
+ @if (lineMarginInfo) {
61411
+ <div class="transaction-field-wrapper small">
61412
+ <div class="inside-field">
61413
+ <co-transaction-button [statusColor]="true"
61414
+ class="no-gap"
61415
+ [insideLabel]="'GROSS_PROFIT_TOTAL'"
61416
+ [inputLabel]="true"
61417
+ [iconData]="iconCacheService.getIcon(icons.ChartPieSimpleRegular)"
61418
+ [title]="lineMarginInfo?.grossProfit | coCurrency: true">
61419
+ </co-transaction-button>
61420
+ </div>
61421
+ </div>
61422
+ }
61423
+ @if (lineMarginInfo) {
61424
+ <div class="transaction-field-wrapper small">
61425
+ <div class="inside-field">
61426
+ <co-transaction-button [statusColor]="true"
61427
+ class="no-gap"
61428
+ [inputLabel]="true"
61429
+ [insideLabel]="'CALCULATION_FACTOR'"
61430
+ [iconData]="iconCacheService.getIcon(icons.ChartPieSimpleRegular)"
61431
+ [title]="lineMarginInfo?.calculationFactor | number">
61432
+ </co-transaction-button>
61433
+ </div>
61434
+ </div>
61435
+ }
61436
+ </div>
61437
+ </div>
61438
+ </div>
61439
+ </co-transaction-base-line>
61443
61440
  `,
61444
61441
  encapsulation: ViewEncapsulation.None,
61445
61442
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -63302,130 +63299,130 @@ class TransactionCashRegisterOrderLineComponent extends TransactionLineBaseCompo
63302
63299
  return true;
63303
63300
  }
63304
63301
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCashRegisterOrderLineComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
63305
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionCashRegisterOrderLineComponent, isStandalone: false, selector: "co-transaction-cash-register-order-line", inputs: { lineIndex: "lineIndex" }, host: { properties: { "class.co-transaction-cash-register-order-line": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
63306
- <co-transaction-base-line
63307
- [transactionInfo]="transactionInfo"
63308
- [transactionLine]="transactionLine"
63309
- [preview]="false"
63310
- [checkbox]="false"
63311
- [isFirst]="isFirst"
63312
- [lineIndex]="lineIndex"
63313
- [actionButtons]="false">
63314
-
63315
- <div class="transaction-line-wrapper" [class.payment-line]="transactionLine && transactionLine.isPayment">
63316
- <div class="transaction-line-extended-wrapper">
63317
- <div class="column-full align-right">
63318
- @if (!transactionLine.isPayment) {
63319
- <co-transaction-line-warehouse-button
63320
- class="transaction-field-wrapper medium"
63321
- [inputLabel]="true">
63322
- </co-transaction-line-warehouse-button>
63323
- }
63324
- @if (!transactionLine.isPayment) {
63325
- <co-transaction-line-vat-button
63326
- class="transaction-field-wrapper small"
63327
- [inputLabel]="true">
63328
- </co-transaction-line-vat-button>
63329
- }
63330
- @if (!transactionLine.isPayment) {
63331
- <co-transaction-line-price
63332
- class="transaction-field-wrapper small transaction-line-totals-price price"
63333
- [screenConfigurationObject]="cfgNames.LinePrice"
63334
- [showLabel]="false"
63335
- [defaultEditMode]="false"
63336
- [inputLabel]="true"
63337
- ></co-transaction-line-price>
63338
- }
63339
- @if (!transactionLine.isPayment) {
63340
- <co-transaction-line-discount-button
63341
- class="transaction-field-wrapper small"
63342
- [inputLabel]="true">
63343
- </co-transaction-line-discount-button>
63344
- }
63345
- @if (!transactionLine.isPayment) {
63346
- <co-transaction-line-amount
63347
- [inputLabel]="true"
63348
- class="transaction-field-wrapper small amount-number-picker">
63349
- </co-transaction-line-amount>
63350
- }
63351
- <co-editable-label
63352
- class="transaction-field-wrapper small transaction-line-totals-total price"
63353
- [class.payment-label]="transactionLine && transactionLine.isPayment"
63354
- [model]="transactionLine.netLineTotal | coCurrency: true"
63355
- [editModel]="transactionLine.netLineTotal"
63356
- [readonly]="true"
63357
- [commit]="!readonly"
63358
- [inputLabel]="true"
63359
- ></co-editable-label>
63360
- </div>
63361
- </div>
63362
- </div>
63363
- </co-transaction-base-line>
63302
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionCashRegisterOrderLineComponent, isStandalone: false, selector: "co-transaction-cash-register-order-line", inputs: { lineIndex: "lineIndex" }, host: { properties: { "class.co-transaction-cash-register-order-line": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
63303
+ <co-transaction-base-line
63304
+ [transactionInfo]="transactionInfo"
63305
+ [transactionLine]="transactionLine"
63306
+ [preview]="false"
63307
+ [checkbox]="false"
63308
+ [isFirst]="isFirst"
63309
+ [lineIndex]="lineIndex"
63310
+ [actionButtons]="false">
63311
+
63312
+ <div class="transaction-line-wrapper" [class.payment-line]="transactionLine && transactionLine.isPayment">
63313
+ <div class="transaction-line-extended-wrapper">
63314
+ <div class="column-full align-right">
63315
+ @if (!transactionLine.isPayment) {
63316
+ <co-transaction-line-warehouse-button
63317
+ class="transaction-field-wrapper medium"
63318
+ [inputLabel]="true">
63319
+ </co-transaction-line-warehouse-button>
63320
+ }
63321
+ @if (!transactionLine.isPayment) {
63322
+ <co-transaction-line-vat-button
63323
+ class="transaction-field-wrapper small"
63324
+ [inputLabel]="true">
63325
+ </co-transaction-line-vat-button>
63326
+ }
63327
+ @if (!transactionLine.isPayment) {
63328
+ <co-transaction-line-price
63329
+ class="transaction-field-wrapper small transaction-line-totals-price price"
63330
+ [screenConfigurationObject]="cfgNames.LinePrice"
63331
+ [showLabel]="false"
63332
+ [defaultEditMode]="false"
63333
+ [inputLabel]="true"
63334
+ ></co-transaction-line-price>
63335
+ }
63336
+ @if (!transactionLine.isPayment) {
63337
+ <co-transaction-line-discount-button
63338
+ class="transaction-field-wrapper small"
63339
+ [inputLabel]="true">
63340
+ </co-transaction-line-discount-button>
63341
+ }
63342
+ @if (!transactionLine.isPayment) {
63343
+ <co-transaction-line-amount
63344
+ [inputLabel]="true"
63345
+ class="transaction-field-wrapper small amount-number-picker">
63346
+ </co-transaction-line-amount>
63347
+ }
63348
+ <co-editable-label
63349
+ class="transaction-field-wrapper small transaction-line-totals-total price"
63350
+ [class.payment-label]="transactionLine && transactionLine.isPayment"
63351
+ [model]="transactionLine.netLineTotal | coCurrency: true"
63352
+ [editModel]="transactionLine.netLineTotal"
63353
+ [readonly]="true"
63354
+ [commit]="!readonly"
63355
+ [inputLabel]="true"
63356
+ ></co-editable-label>
63357
+ </div>
63358
+ </div>
63359
+ </div>
63360
+ </co-transaction-base-line>
63364
63361
  `, isInline: true, dependencies: [{ kind: "component", type: TransactionBaseLineComponent, selector: "co-transaction-base-line", inputs: ["lineIndex", "transaction", "transactionInfo", "draggable", "transactionLine", "selected", "preview", "isFirst", "checkboxValue", "showColorIndicator", "colorIndicatorColor", "checkboxReadonly", "checkbox", "actionButtons", "showPurchaseDescAndPrice", "showArticleNr", "customerPortal", "showPriceAmount"], outputs: ["dragStart", "dragEnd", "checkboxValueChanged", "waitingForUserAction"] }, { kind: "component", type: TransactionLineWarehouseButtonComponent, selector: "co-transaction-line-warehouse-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: TransactionLineVatButtonComponent, selector: "co-transaction-line-vat-button", inputs: ["inputLabel"] }, { 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: TransactionLinePriceComponent, selector: "co-transaction-line-price", inputs: ["showLabel", "showPurchasePrice", "defaultEditMode", "editMode", "inputLabel"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "pipe", type: CoCurrencyPipe, name: "coCurrency" }], encapsulation: i0.ViewEncapsulation.None });
63365
63362
  }
63366
63363
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCashRegisterOrderLineComponent, decorators: [{
63367
63364
  type: Component,
63368
63365
  args: [{
63369
63366
  selector: "co-transaction-cash-register-order-line",
63370
- template: `
63371
- <co-transaction-base-line
63372
- [transactionInfo]="transactionInfo"
63373
- [transactionLine]="transactionLine"
63374
- [preview]="false"
63375
- [checkbox]="false"
63376
- [isFirst]="isFirst"
63377
- [lineIndex]="lineIndex"
63378
- [actionButtons]="false">
63379
-
63380
- <div class="transaction-line-wrapper" [class.payment-line]="transactionLine && transactionLine.isPayment">
63381
- <div class="transaction-line-extended-wrapper">
63382
- <div class="column-full align-right">
63383
- @if (!transactionLine.isPayment) {
63384
- <co-transaction-line-warehouse-button
63385
- class="transaction-field-wrapper medium"
63386
- [inputLabel]="true">
63387
- </co-transaction-line-warehouse-button>
63388
- }
63389
- @if (!transactionLine.isPayment) {
63390
- <co-transaction-line-vat-button
63391
- class="transaction-field-wrapper small"
63392
- [inputLabel]="true">
63393
- </co-transaction-line-vat-button>
63394
- }
63395
- @if (!transactionLine.isPayment) {
63396
- <co-transaction-line-price
63397
- class="transaction-field-wrapper small transaction-line-totals-price price"
63398
- [screenConfigurationObject]="cfgNames.LinePrice"
63399
- [showLabel]="false"
63400
- [defaultEditMode]="false"
63401
- [inputLabel]="true"
63402
- ></co-transaction-line-price>
63403
- }
63404
- @if (!transactionLine.isPayment) {
63405
- <co-transaction-line-discount-button
63406
- class="transaction-field-wrapper small"
63407
- [inputLabel]="true">
63408
- </co-transaction-line-discount-button>
63409
- }
63410
- @if (!transactionLine.isPayment) {
63411
- <co-transaction-line-amount
63412
- [inputLabel]="true"
63413
- class="transaction-field-wrapper small amount-number-picker">
63414
- </co-transaction-line-amount>
63415
- }
63416
- <co-editable-label
63417
- class="transaction-field-wrapper small transaction-line-totals-total price"
63418
- [class.payment-label]="transactionLine && transactionLine.isPayment"
63419
- [model]="transactionLine.netLineTotal | coCurrency: true"
63420
- [editModel]="transactionLine.netLineTotal"
63421
- [readonly]="true"
63422
- [commit]="!readonly"
63423
- [inputLabel]="true"
63424
- ></co-editable-label>
63425
- </div>
63426
- </div>
63427
- </div>
63428
- </co-transaction-base-line>
63367
+ template: `
63368
+ <co-transaction-base-line
63369
+ [transactionInfo]="transactionInfo"
63370
+ [transactionLine]="transactionLine"
63371
+ [preview]="false"
63372
+ [checkbox]="false"
63373
+ [isFirst]="isFirst"
63374
+ [lineIndex]="lineIndex"
63375
+ [actionButtons]="false">
63376
+
63377
+ <div class="transaction-line-wrapper" [class.payment-line]="transactionLine && transactionLine.isPayment">
63378
+ <div class="transaction-line-extended-wrapper">
63379
+ <div class="column-full align-right">
63380
+ @if (!transactionLine.isPayment) {
63381
+ <co-transaction-line-warehouse-button
63382
+ class="transaction-field-wrapper medium"
63383
+ [inputLabel]="true">
63384
+ </co-transaction-line-warehouse-button>
63385
+ }
63386
+ @if (!transactionLine.isPayment) {
63387
+ <co-transaction-line-vat-button
63388
+ class="transaction-field-wrapper small"
63389
+ [inputLabel]="true">
63390
+ </co-transaction-line-vat-button>
63391
+ }
63392
+ @if (!transactionLine.isPayment) {
63393
+ <co-transaction-line-price
63394
+ class="transaction-field-wrapper small transaction-line-totals-price price"
63395
+ [screenConfigurationObject]="cfgNames.LinePrice"
63396
+ [showLabel]="false"
63397
+ [defaultEditMode]="false"
63398
+ [inputLabel]="true"
63399
+ ></co-transaction-line-price>
63400
+ }
63401
+ @if (!transactionLine.isPayment) {
63402
+ <co-transaction-line-discount-button
63403
+ class="transaction-field-wrapper small"
63404
+ [inputLabel]="true">
63405
+ </co-transaction-line-discount-button>
63406
+ }
63407
+ @if (!transactionLine.isPayment) {
63408
+ <co-transaction-line-amount
63409
+ [inputLabel]="true"
63410
+ class="transaction-field-wrapper small amount-number-picker">
63411
+ </co-transaction-line-amount>
63412
+ }
63413
+ <co-editable-label
63414
+ class="transaction-field-wrapper small transaction-line-totals-total price"
63415
+ [class.payment-label]="transactionLine && transactionLine.isPayment"
63416
+ [model]="transactionLine.netLineTotal | coCurrency: true"
63417
+ [editModel]="transactionLine.netLineTotal"
63418
+ [readonly]="true"
63419
+ [commit]="!readonly"
63420
+ [inputLabel]="true"
63421
+ ></co-editable-label>
63422
+ </div>
63423
+ </div>
63424
+ </div>
63425
+ </co-transaction-base-line>
63429
63426
  `,
63430
63427
  encapsulation: ViewEncapsulation.None,
63431
63428
  standalone: false
@@ -67527,21 +67524,41 @@ class TransactionFilterContentBaseComponent {
67527
67524
  changeDetector;
67528
67525
  relationService;
67529
67526
  transationConnectorService;
67527
+ dictionaryService;
67530
67528
  filterItems;
67531
67529
  totalActiveFiltersChange = new EventEmitter();
67532
67530
  searchPlaceholder = SearchPlaceholder;
67533
67531
  searchRequest;
67534
67532
  filterButtonLabel = "SEARCH_IMPERATIVE";
67535
67533
  totalActiveFilters = 0;
67534
+ labelBasedOnSearchType = new Map([
67535
+ [SearchType.OpenQuotations, "OPEN_QUOTATIONS"],
67536
+ [SearchType.SalesOrderReadyForFullDelivery, "SALES_ORDERS_READY_FOR_FULL_DELIVERY"],
67537
+ [SearchType.SalesOrderWithPartialDelivery, "SALES_ORDERS_WITH_PARTIAL_DELIVERY"],
67538
+ [SearchType.OutstandingDepositPayments, "OUTSTANDING_DEPOSIT_PAYMENTS"],
67539
+ [SearchType.DelayedDeliveries, "DELAYED_DELIVERIES"],
67540
+ [SearchType.SalesOrdersToBeInvoiced, "SALES_ORDERS_TO_BE_INVOICED"],
67541
+ [SearchType.SalesOrdersToBePlanned, "SALES_ORDERS_TO_BE_PLANNED"],
67542
+ [SearchType.PurchaseOrdersToBeOrdered, "PURCHASE_ORDERS_TO_BE_ORDERED"],
67543
+ [SearchType.PurchaseOrdersNotDelivered, "PURCHASE_ORDERS_NOT_DELIVERED"],
67544
+ [SearchType.PurchaseOrdersUnconfirmed, "PURCHASE_ORDERS_UNCONFIRMED"],
67545
+ [SearchType.PurchaseOrdersPartleUnconfirmed, "PURCHASE_ORDERS_PARTIALLY_UNCONFIRMED"],
67546
+ [SearchType.PurchaseOrdersLateDelivery, "PURCHASE_ORDERS_LATE_DELIVERY"],
67547
+ [SearchType.PurchaseOrdersPartlyDelivered, "PURCHASE_ORDERS_PARTLY_DELIVERED"],
67548
+ [SearchType.PurchaseInvoicesToBeReceived, "PURCHASE_INVOICES_TO_BE_RECEIVED"],
67549
+ [SearchType.GoodsArrivedNotification, "ARRIVED_GOODS"],
67550
+ [SearchType.DeliveryDelayNotification, "DELAYED_DELIVERIES_FOR_NOTIFICATION"],
67551
+ ]);
67536
67552
  _childFilterCounts = [];
67537
67553
  _subs = [];
67538
- constructor(searchService, filterRequestService, transactionService, changeDetector, relationService, transationConnectorService) {
67554
+ constructor(searchService, filterRequestService, transactionService, changeDetector, relationService, transationConnectorService, dictionaryService) {
67539
67555
  this.searchService = searchService;
67540
67556
  this.filterRequestService = filterRequestService;
67541
67557
  this.transactionService = transactionService;
67542
67558
  this.changeDetector = changeDetector;
67543
67559
  this.relationService = relationService;
67544
67560
  this.transationConnectorService = transationConnectorService;
67561
+ this.dictionaryService = dictionaryService;
67545
67562
  this.searchRequest = this.searchService.searchRequest;
67546
67563
  }
67547
67564
  ngOnInit() {
@@ -67582,12 +67599,12 @@ class TransactionFilterContentBaseComponent {
67582
67599
  _scrollToTop() {
67583
67600
  window.scrollTo({ top: 0, behavior: 'smooth' });
67584
67601
  }
67585
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionFilterContentBaseComponent, deps: [{ token: TransactionSearchService }, { token: FilterRequestService }, { token: TransactionService }, { token: i0.ChangeDetectorRef }, { token: TransactionRelationService }, { token: TransactionConnectorService }], target: i0.ɵɵFactoryTarget.Directive });
67602
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionFilterContentBaseComponent, deps: [{ token: TransactionSearchService }, { token: FilterRequestService }, { token: TransactionService }, { token: i0.ChangeDetectorRef }, { token: TransactionRelationService }, { token: TransactionConnectorService }, { token: DictionaryService }], target: i0.ɵɵFactoryTarget.Directive });
67586
67603
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: TransactionFilterContentBaseComponent, isStandalone: true, outputs: { totalActiveFiltersChange: "totalActiveFiltersChange" }, viewQueries: [{ propertyName: "filterItems", predicate: TransactionFilterItemComponent, descendants: true }], ngImport: i0 });
67587
67604
  }
67588
67605
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionFilterContentBaseComponent, decorators: [{
67589
67606
  type: Directive
67590
- }], ctorParameters: () => [{ type: TransactionSearchService }, { type: FilterRequestService }, { type: TransactionService }, { type: i0.ChangeDetectorRef }, { type: TransactionRelationService }, { type: TransactionConnectorService }], propDecorators: { filterItems: [{
67607
+ }], ctorParameters: () => [{ type: TransactionSearchService }, { type: FilterRequestService }, { type: TransactionService }, { type: i0.ChangeDetectorRef }, { type: TransactionRelationService }, { type: TransactionConnectorService }, { type: DictionaryService }], propDecorators: { filterItems: [{
67591
67608
  type: ViewChildren,
67592
67609
  args: [TransactionFilterItemComponent]
67593
67610
  }], totalActiveFiltersChange: [{
@@ -68464,7 +68481,7 @@ class TransactionPurchaseOrderFilterContentOrderComponent extends TransactionFil
68464
68481
  }
68465
68482
  _setSearchTypes() {
68466
68483
  const searchTypes = Object.keys(SearchType).map(name => ({
68467
- name: name,
68484
+ name: this.dictionaryService.get(this.labelBasedOnSearchType.get(SearchType[name])),
68468
68485
  value: SearchType[name]
68469
68486
  }));
68470
68487
  this.searchTypes = new FilterViewmodel(searchTypes, this.searchTypeFields).filterItems;
@@ -69842,6 +69859,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
69842
69859
 
69843
69860
  class TransactionSalesOrderFilterContentOrderComponent extends TransactionFilterContentBaseComponent {
69844
69861
  transactionFilterContentService;
69862
+ _dictionaryService;
69845
69863
  modes = FilterItemMode;
69846
69864
  showClass() {
69847
69865
  return true;
@@ -69881,9 +69899,10 @@ class TransactionSalesOrderFilterContentOrderComponent extends TransactionFilter
69881
69899
  handleCollectionChange() {
69882
69900
  this.changeDetector.detectChanges();
69883
69901
  }
69884
- constructor(searchService, filterRequestService, transactionService, changeDetector, relationService, transationConnectorService, transactionFilterContentService) {
69885
- super(searchService, filterRequestService, transactionService, changeDetector, relationService, transationConnectorService);
69902
+ constructor(searchService, filterRequestService, transactionService, changeDetector, relationService, transationConnectorService, transactionFilterContentService, _dictionaryService) {
69903
+ super(searchService, filterRequestService, transactionService, changeDetector, relationService, transationConnectorService, _dictionaryService);
69886
69904
  this.transactionFilterContentService = transactionFilterContentService;
69905
+ this._dictionaryService = _dictionaryService;
69887
69906
  }
69888
69907
  loadCustomers = async (nameFilter) => {
69889
69908
  const request = new RelationRequest();
@@ -70014,12 +70033,12 @@ class TransactionSalesOrderFilterContentOrderComponent extends TransactionFilter
70014
70033
  }
70015
70034
  _setSearchTypes() {
70016
70035
  const searchTypes = Object.keys(SearchType).map(name => ({
70017
- name: name,
70036
+ name: this.dictionaryService.get(this.labelBasedOnSearchType.get(SearchType[name])),
70018
70037
  value: SearchType[name]
70019
70038
  }));
70020
70039
  this.searchTypes = new FilterViewmodel(searchTypes, this.searchTypeFields).filterItems;
70021
70040
  }
70022
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionSalesOrderFilterContentOrderComponent, deps: [{ token: TransactionSearchService }, { token: FilterRequestService }, { token: TransactionService }, { token: i0.ChangeDetectorRef }, { token: TransactionRelationService }, { token: TransactionConnectorService }, { token: TransactionFilterContentService }], target: i0.ɵɵFactoryTarget.Component });
70041
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionSalesOrderFilterContentOrderComponent, deps: [{ token: TransactionSearchService }, { token: FilterRequestService }, { token: TransactionService }, { token: i0.ChangeDetectorRef }, { token: TransactionRelationService }, { token: TransactionConnectorService }, { token: TransactionFilterContentService }, { token: DictionaryService }], target: i0.ɵɵFactoryTarget.Component });
70023
70042
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionSalesOrderFilterContentOrderComponent, isStandalone: false, selector: "co-transaction-sales-order-filter-content-order", host: { properties: { "class.co-transaction-search-filter-content": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
70024
70043
  <div class="transaction-filter-content-order-wrapper transaction-filter-content-wrapper">
70025
70044
 
@@ -70439,7 +70458,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
70439
70458
  `,
70440
70459
  standalone: false
70441
70460
  }]
70442
- }], ctorParameters: () => [{ type: TransactionSearchService }, { type: FilterRequestService }, { type: TransactionService }, { type: i0.ChangeDetectorRef }, { type: TransactionRelationService }, { type: TransactionConnectorService }, { type: TransactionFilterContentService }], propDecorators: { showClass: [{
70461
+ }], ctorParameters: () => [{ type: TransactionSearchService }, { type: FilterRequestService }, { type: TransactionService }, { type: i0.ChangeDetectorRef }, { type: TransactionRelationService }, { type: TransactionConnectorService }, { type: TransactionFilterContentService }, { type: DictionaryService }], propDecorators: { showClass: [{
70443
70462
  type: HostBinding,
70444
70463
  args: ['class.co-transaction-search-filter-content']
70445
70464
  }] } });
@@ -71182,166 +71201,166 @@ class TransactionSearchPurchaseOrderTileComponent extends TransactionSearchTileB
71182
71201
  }
71183
71202
  }
71184
71203
  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 });
71185
- 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: `
71186
- <div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
71187
- <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
71188
- <div class="tile">
71189
- <div class="tile-header">
71190
- <div class="tile-upper-left">
71191
- <div class="transaction-tile-avatar">
71192
- <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
71193
- <span [textContent]="transaction.transNr"></span>
71194
- </div>
71195
- </div>
71196
- <div class="tile-upper-middle">
71197
- <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
71198
- <div class="text"><span [textContent]="transaction.branchNr"></span></div>
71199
- </div>
71200
-
71201
- <div class="tile-upper-right">
71202
- <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
71203
- <co-transaction-statusbar
71204
- [screenConfigurationObject]="cfgNames.StatusBar"
71205
- [configNames]="statusBarConfigNames"
71206
- [transaction]="transaction">
71207
- </co-transaction-statusbar>
71208
- </div>
71209
- </div>
71210
- </div>
71211
- <div class="tile-body">
71212
- <div class="tile-middle-left">
71213
- @if (showCheckbox && !transaction.isInProgressForBatchJob) {
71214
- <co-input-checkbox
71215
- [(model)]="transaction.selected"
71216
- (modelChange)="onSelectedClick(transaction)">
71217
- </co-input-checkbox>
71218
- }
71219
- @if (showCheckbox && transaction.isInProgressForBatchJob) {
71220
- <co-icon
71221
- class="batch-info-icon"
71222
- [title]="'PART_OF_BATCH' | localize"
71223
- [iconData]="iconCacheService.getIcon(icons.CircleInfoRegular)">
71224
- </co-icon>
71225
- }
71226
- </div>
71227
- <div class="tile-middle-middle">
71228
- <div class="text"><span [textContent]="transaction.relationName"></span></div>
71229
- <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
71230
- </div>
71231
- <div class="tile-middle-right"></div>
71232
- </div>
71233
- <div class="tile-footer">
71234
- <div class="tile-bottom-left order-info-section">
71235
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
71236
- <div class="value">
71237
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
71238
- </div>
71239
- </div>
71240
- <div class="tile-bottom-middle order-info-section">
71241
- @if (transaction.getDeliveryDate()) {
71242
- <div class="value">
71243
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
71244
- <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
71245
- @if (transaction.deliveryDateDefinitive) {
71246
- <co-icon
71247
- [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
71248
- } @else {
71249
- <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
71250
- }
71251
- </div>
71252
- }
71253
- </div>
71254
- <div class="tile-bottom-right order-info-section">
71255
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
71256
- <div class="value"><span
71257
- [textContent]="(transaction.totalPriceWithVat - transaction.totalPriceVat) | currency:'EUR'"></span></div>
71258
- </div>
71259
- </div>
71260
- </div>
71261
- </div>
71204
+ 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: `
71205
+ <div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
71206
+ <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
71207
+ <div class="tile">
71208
+ <div class="tile-header">
71209
+ <div class="tile-upper-left">
71210
+ <div class="transaction-tile-avatar">
71211
+ <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
71212
+ <span [textContent]="transaction.transNr"></span>
71213
+ </div>
71214
+ </div>
71215
+ <div class="tile-upper-middle">
71216
+ <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
71217
+ <div class="text"><span [textContent]="transaction.branchNr"></span></div>
71218
+ </div>
71219
+
71220
+ <div class="tile-upper-right">
71221
+ <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
71222
+ <co-transaction-statusbar
71223
+ [screenConfigurationObject]="cfgNames.StatusBar"
71224
+ [configNames]="statusBarConfigNames"
71225
+ [transaction]="transaction">
71226
+ </co-transaction-statusbar>
71227
+ </div>
71228
+ </div>
71229
+ </div>
71230
+ <div class="tile-body">
71231
+ <div class="tile-middle-left">
71232
+ @if (showCheckbox && !transaction.isInProgressForBatchJob) {
71233
+ <co-input-checkbox
71234
+ [(model)]="transaction.selected"
71235
+ (modelChange)="onSelectedClick(transaction)">
71236
+ </co-input-checkbox>
71237
+ }
71238
+ @if (showCheckbox && transaction.isInProgressForBatchJob) {
71239
+ <co-icon
71240
+ class="batch-info-icon"
71241
+ [title]="'PART_OF_BATCH' | localize"
71242
+ [iconData]="iconCacheService.getIcon(icons.CircleInfoRegular)">
71243
+ </co-icon>
71244
+ }
71245
+ </div>
71246
+ <div class="tile-middle-middle">
71247
+ <div class="text"><span [textContent]="transaction.relationName"></span></div>
71248
+ <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
71249
+ </div>
71250
+ <div class="tile-middle-right"></div>
71251
+ </div>
71252
+ <div class="tile-footer">
71253
+ <div class="tile-bottom-left order-info-section">
71254
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
71255
+ <div class="value">
71256
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
71257
+ </div>
71258
+ </div>
71259
+ <div class="tile-bottom-middle order-info-section">
71260
+ @if (transaction.getDeliveryDate()) {
71261
+ <div class="value">
71262
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
71263
+ <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
71264
+ @if (transaction.deliveryDateDefinitive) {
71265
+ <co-icon
71266
+ [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
71267
+ } @else {
71268
+ <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
71269
+ }
71270
+ </div>
71271
+ }
71272
+ </div>
71273
+ <div class="tile-bottom-right order-info-section">
71274
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
71275
+ <div class="value"><span
71276
+ [textContent]="(transaction.totalPriceWithVat - transaction.totalPriceVat) | currency:'EUR'"></span></div>
71277
+ </div>
71278
+ </div>
71279
+ </div>
71280
+ </div>
71262
71281
  `, isInline: true, dependencies: [{ kind: "component", type: AvatarComponent, selector: "co-avatar", inputs: ["image", "relationId", "relation", "showBranchNr"] }, { 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 });
71263
71282
  }
71264
71283
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionSearchPurchaseOrderTileComponent, decorators: [{
71265
71284
  type: Component,
71266
71285
  args: [{
71267
71286
  selector: "co-transaction-search-purchase-order-tile",
71268
- template: `
71269
- <div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
71270
- <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
71271
- <div class="tile">
71272
- <div class="tile-header">
71273
- <div class="tile-upper-left">
71274
- <div class="transaction-tile-avatar">
71275
- <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
71276
- <span [textContent]="transaction.transNr"></span>
71277
- </div>
71278
- </div>
71279
- <div class="tile-upper-middle">
71280
- <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
71281
- <div class="text"><span [textContent]="transaction.branchNr"></span></div>
71282
- </div>
71283
-
71284
- <div class="tile-upper-right">
71285
- <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
71286
- <co-transaction-statusbar
71287
- [screenConfigurationObject]="cfgNames.StatusBar"
71288
- [configNames]="statusBarConfigNames"
71289
- [transaction]="transaction">
71290
- </co-transaction-statusbar>
71291
- </div>
71292
- </div>
71293
- </div>
71294
- <div class="tile-body">
71295
- <div class="tile-middle-left">
71296
- @if (showCheckbox && !transaction.isInProgressForBatchJob) {
71297
- <co-input-checkbox
71298
- [(model)]="transaction.selected"
71299
- (modelChange)="onSelectedClick(transaction)">
71300
- </co-input-checkbox>
71301
- }
71302
- @if (showCheckbox && transaction.isInProgressForBatchJob) {
71303
- <co-icon
71304
- class="batch-info-icon"
71305
- [title]="'PART_OF_BATCH' | localize"
71306
- [iconData]="iconCacheService.getIcon(icons.CircleInfoRegular)">
71307
- </co-icon>
71308
- }
71309
- </div>
71310
- <div class="tile-middle-middle">
71311
- <div class="text"><span [textContent]="transaction.relationName"></span></div>
71312
- <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
71313
- </div>
71314
- <div class="tile-middle-right"></div>
71315
- </div>
71316
- <div class="tile-footer">
71317
- <div class="tile-bottom-left order-info-section">
71318
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
71319
- <div class="value">
71320
- <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
71321
- </div>
71322
- </div>
71323
- <div class="tile-bottom-middle order-info-section">
71324
- @if (transaction.getDeliveryDate()) {
71325
- <div class="value">
71326
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
71327
- <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
71328
- @if (transaction.deliveryDateDefinitive) {
71329
- <co-icon
71330
- [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
71331
- } @else {
71332
- <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
71333
- }
71334
- </div>
71335
- }
71336
- </div>
71337
- <div class="tile-bottom-right order-info-section">
71338
- <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
71339
- <div class="value"><span
71340
- [textContent]="(transaction.totalPriceWithVat - transaction.totalPriceVat) | currency:'EUR'"></span></div>
71341
- </div>
71342
- </div>
71343
- </div>
71344
- </div>
71287
+ template: `
71288
+ <div class="transaction-tile-wrapper" (click)="onTransactionClick(transaction)">
71289
+ <div [class]="'type-indicator color-' + transaction.transactionKind"></div>
71290
+ <div class="tile">
71291
+ <div class="tile-header">
71292
+ <div class="tile-upper-left">
71293
+ <div class="transaction-tile-avatar">
71294
+ <co-avatar [image]="transaction.execImage" [relationId]="transaction.handledBy"></co-avatar>
71295
+ <span [textContent]="transaction.transNr"></span>
71296
+ </div>
71297
+ </div>
71298
+ <div class="tile-upper-middle">
71299
+ <co-icon [iconData]="iconCacheService.getIcon(icons.StoreLight)" class="store-icon"></co-icon>
71300
+ <div class="text"><span [textContent]="transaction.branchNr"></span></div>
71301
+ </div>
71302
+
71303
+ <div class="tile-upper-right">
71304
+ <div class="status-bar-wrapper" (click)="$event.stopPropagation()">
71305
+ <co-transaction-statusbar
71306
+ [screenConfigurationObject]="cfgNames.StatusBar"
71307
+ [configNames]="statusBarConfigNames"
71308
+ [transaction]="transaction">
71309
+ </co-transaction-statusbar>
71310
+ </div>
71311
+ </div>
71312
+ </div>
71313
+ <div class="tile-body">
71314
+ <div class="tile-middle-left">
71315
+ @if (showCheckbox && !transaction.isInProgressForBatchJob) {
71316
+ <co-input-checkbox
71317
+ [(model)]="transaction.selected"
71318
+ (modelChange)="onSelectedClick(transaction)">
71319
+ </co-input-checkbox>
71320
+ }
71321
+ @if (showCheckbox && transaction.isInProgressForBatchJob) {
71322
+ <co-icon
71323
+ class="batch-info-icon"
71324
+ [title]="'PART_OF_BATCH' | localize"
71325
+ [iconData]="iconCacheService.getIcon(icons.CircleInfoRegular)">
71326
+ </co-icon>
71327
+ }
71328
+ </div>
71329
+ <div class="tile-middle-middle">
71330
+ <div class="text"><span [textContent]="transaction.relationName"></span></div>
71331
+ <div class="text"><span [textContent]="transaction.getAdres()"></span></div>
71332
+ </div>
71333
+ <div class="tile-middle-right"></div>
71334
+ </div>
71335
+ <div class="tile-footer">
71336
+ <div class="tile-bottom-left order-info-section">
71337
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)" class="store-icon"></co-icon>
71338
+ <div class="value">
71339
+ <span [textContent]="transaction.getTransDate() | date:'dd-MM-yyyy'"></span>
71340
+ </div>
71341
+ </div>
71342
+ <div class="tile-bottom-middle order-info-section">
71343
+ @if (transaction.getDeliveryDate()) {
71344
+ <div class="value">
71345
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)" class="store-icon"></co-icon>
71346
+ <span [textContent]="transaction.getDeliveryDate() | date:'dd-MM-yyyy'"></span>
71347
+ @if (transaction.deliveryDateDefinitive) {
71348
+ <co-icon
71349
+ [iconData]="iconCacheService.getIcon(icons.Lock)" class="lock-icon"></co-icon>
71350
+ } @else {
71351
+ <co-icon [iconData]="iconCacheService.getIcon(icons.Unlock)" class="unlock-icon"></co-icon>
71352
+ }
71353
+ </div>
71354
+ }
71355
+ </div>
71356
+ <div class="tile-bottom-right order-info-section">
71357
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingTag)" class="store-icon"></co-icon>
71358
+ <div class="value"><span
71359
+ [textContent]="(transaction.totalPriceWithVat - transaction.totalPriceVat) | currency:'EUR'"></span></div>
71360
+ </div>
71361
+ </div>
71362
+ </div>
71363
+ </div>
71345
71364
  `,
71346
71365
  encapsulation: ViewEncapsulation.None,
71347
71366
  standalone: false
@@ -75283,7 +75302,7 @@ class TransactionSalesQuotationFilterContentOrderComponent extends TransactionFi
75283
75302
  }
75284
75303
  _setSearchTypes() {
75285
75304
  const searchTypes = Object.keys(SearchType).map(name => ({
75286
- name: name,
75305
+ name: this.dictionaryService.get(this.labelBasedOnSearchType.get(SearchType[name])),
75287
75306
  value: SearchType[name]
75288
75307
  }));
75289
75308
  this.searchTypes = new FilterViewmodel(searchTypes, this.searchTypeFields).filterItems;
@@ -76856,7 +76875,7 @@ class TransactionCashDeskFilterContentOrderComponent extends TransactionFilterCo
76856
76875
  }
76857
76876
  _setSearchTypes() {
76858
76877
  const searchTypes = Object.keys(SearchType).map(name => ({
76859
- name: name,
76878
+ name: this.dictionaryService.get(this.labelBasedOnSearchType.get(SearchType[name])),
76860
76879
  value: SearchType[name]
76861
76880
  }));
76862
76881
  this.searchTypes = new FilterViewmodel(searchTypes, this.searchTypeFields).filterItems;
@@ -77585,7 +77604,7 @@ class TransactionServiceOrderFilterContentOrderComponent extends TransactionFilt
77585
77604
  }
77586
77605
  _setSearchTypes() {
77587
77606
  const searchTypes = Object.keys(SearchType).map(name => ({
77588
- name: name,
77607
+ name: this.dictionaryService.get(this.labelBasedOnSearchType.get(SearchType[name])),
77589
77608
  value: SearchType[name]
77590
77609
  }));
77591
77610
  this.searchTypes = new FilterViewmodel(searchTypes, this.searchTypeFields).filterItems;
@@ -78975,7 +78994,7 @@ class TransactionInterBranchOrderFilterContentOrderComponent extends Transaction
78975
78994
  }
78976
78995
  _setSearchTypes() {
78977
78996
  const searchTypes = Object.keys(SearchType).map(name => ({
78978
- name: name,
78997
+ name: this.dictionaryService.get(this.labelBasedOnSearchType.get(SearchType[name])),
78979
78998
  value: SearchType[name]
78980
78999
  }));
78981
79000
  this.searchTypes = new FilterViewmodel(searchTypes, this.searchTypeFields).filterItems;
@@ -82098,17 +82117,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
82098
82117
  }] } });
82099
82118
 
82100
82119
  class TransactionPurchaseTransportLineComponent extends TransactionPurchaseTransportLineBaseComponent {
82101
- lineIndex;
82102
82120
  showClass() {
82103
82121
  return true;
82104
82122
  }
82123
+ lineIndex;
82105
82124
  totals = new TransportNotificationTotals();
82125
+ _sub;
82106
82126
  async handleVisibilityChange(visible) {
82107
82127
  if (visible) {
82108
- this.totals = await this.transactionService.getTransportNotificationTotalsByTransactionLine(this.transactionLine.uuid);
82109
- this.changeDetector.detectChanges();
82128
+ this.addTranportNotificationSub();
82129
+ await this.getTotals();
82130
+ }
82131
+ else {
82132
+ this.removeTranportNotificationSub();
82133
+ }
82134
+ }
82135
+ addTranportNotificationSub() {
82136
+ this._sub = this.transactionEventService.transportNotificationsSet.subscribe(() => {
82137
+ this.getTotals();
82138
+ });
82139
+ this.subs.push(this._sub);
82140
+ }
82141
+ removeTranportNotificationSub() {
82142
+ if (this._sub) {
82143
+ this._sub.unsubscribe();
82144
+ const index = this.subs.indexOf(this._sub);
82145
+ if (index !== -1) {
82146
+ this.subs.splice(index, 1);
82147
+ }
82110
82148
  }
82111
82149
  }
82150
+ async getTotals() {
82151
+ this.totals = await this.transactionService.getTransportNotificationTotalsByTransactionLine(this.transactionLine.uuid);
82152
+ this.changeDetector.detectChanges();
82153
+ }
82112
82154
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionPurchaseTransportLineComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
82113
82155
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionPurchaseTransportLineComponent, isStandalone: false, selector: "co-transaction-purchase-transport-line", inputs: { lineIndex: "lineIndex" }, host: { properties: { "class.co-transaction-purchase-order-line": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
82114
82156
  <co-transaction-base-line
@@ -82331,11 +82373,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
82331
82373
  changeDetection: ChangeDetectionStrategy.OnPush,
82332
82374
  standalone: false
82333
82375
  }]
82334
- }], propDecorators: { lineIndex: [{
82335
- type: Input
82336
- }], showClass: [{
82376
+ }], propDecorators: { showClass: [{
82337
82377
  type: HostBinding,
82338
82378
  args: ["class.co-transaction-purchase-order-line"]
82379
+ }], lineIndex: [{
82380
+ type: Input
82339
82381
  }] } });
82340
82382
 
82341
82383
  class TransactionLineDateButtonModule {
@@ -97653,242 +97695,242 @@ class TransactionCardPurchaseOverviewComponent extends TransactionLineBaseCompon
97653
97695
  this.transactionEventService.articleNavigation.next(this.transactionLine.supplierArticleNumber);
97654
97696
  }
97655
97697
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardPurchaseOverviewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
97656
- 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: `
97657
- <div class="transaction-card-wrapper">
97658
- <co-transaction-card-header
97659
- [showActionButtons]="true"
97660
- [showCheckbox]="false"
97661
- [showThumbnail]="false"
97662
- [expanded]="expanded"
97663
- (expandClicked)="expanded = !expanded"
97664
- >
97665
- </co-transaction-card-header>
97666
-
97667
- <div class="transaction-card-content-wrapper">
97668
- <div class="content-base top-base">
97669
- <div class="transaction-field-wrapper status-bar-purchase">
97670
- <co-transaction-line-statusbar
97671
- [screenConfigurationObject]="cfgNames.StatusBar"
97672
- [configNames]="statusBarConfigNames"
97673
- [activeCategory]="category.PurchaseOrderOverview">
97674
- </co-transaction-line-statusbar>
97675
- </div>
97676
- <co-transaction-navigation-button-list
97677
- [refTransactions]="transactionLine.refTransactions"
97678
- (relationClick)="handleRelationNavigation($event)"
97679
- (transactionClick)="handleTransactionNavigation($event)"></co-transaction-navigation-button-list>
97680
- @if (transactionLine.supplierArticleNumber) {
97681
- <div class="transaction-field-wrapper">
97682
- <div class="inside-field">
97683
- <co-transaction-line-label [insideLabel]="'ARTICLE_NR_SUPPLIER'"></co-transaction-line-label>
97684
- <co-transaction-navigation-button
97685
- [screenConfigurationObject]="cfgNames.LineArticleNrSupplier"
97686
- [label]="transactionLine.supplierArticleNumber"
97687
- (buttonClicked)="handleArticleNavigation($event)">
97688
- </co-transaction-navigation-button>
97689
- </div>
97690
- </div>
97691
- }
97692
- </div>
97693
- <div class="content-base bottom-base">
97694
- <div class="transaction-field-wrapper">
97695
- <div class="inside-field">
97696
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
97697
- <co-transaction-line-price class="transaction-line-totals-price price"
97698
- [screenConfigurationObject]="cfgNames.LinePrice"
97699
- [showLabel]="false"
97700
- [defaultEditMode]="false"
97701
- ></co-transaction-line-price>
97702
- </div>
97703
- </div>
97704
- <div class="transaction-field-wrapper">
97705
- <div class="inside-field">
97706
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
97707
- <co-transaction-line-discount-button
97708
- [screenConfigurationObject]="cfgNames.LineDiscount"
97709
- ></co-transaction-line-discount-button>
97710
- </div>
97711
- </div>
97712
- <div class="transaction-field-wrapper">
97713
- <div class="inside-field">
97714
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
97715
- <co-transaction-line-amount class="amount-number-picker"
97716
- [screenConfigurationObject]="cfgNames.LineAmount"
97717
- >
97718
- </co-transaction-line-amount>
97719
- </div>
97720
- </div>
97721
- <div class="transaction-field-wrapper">
97722
- <div class="inside-field">
97723
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
97724
- <co-editable-label class="transaction-line-totals-total price"
97725
- [model]="transactionLine.netLineTotal | coCurrency: true"
97726
- [editModel]="transactionLine.netLineTotal"
97727
- [commit]="!readonly"
97728
- [readonly]="true"
97729
- [editMode]="false"
97730
- ></co-editable-label>
97731
- </div>
97732
- </div>
97733
- </div>
97734
-
97735
- @if (expanded) {
97736
- <div class="content-expanded">
97737
- <div class="transaction-field-wrapper">
97738
- <div class="inside-field">
97739
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
97740
- <co-transaction-line-warehouse-button
97741
- [screenConfigurationObject]="cfgNames.LineWarehouse"
97742
- >
97743
- </co-transaction-line-warehouse-button>
97744
- </div>
97745
- </div>
97746
- <div class="transaction-field-wrapper">
97747
- <div class="inside-field">
97748
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
97749
- <co-transaction-line-delivery-button
97750
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
97751
- ></co-transaction-line-delivery-button>
97752
- </div>
97753
- </div>
97754
- <div class="transaction-field-wrapper">
97755
- <div class="inside-field">
97756
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
97757
- <co-transaction-line-delivery-date-button class="two-column"
97758
- [screenConfigurationObject]="cfgNames.LineDeliveryDate"
97759
- ></co-transaction-line-delivery-date-button>
97760
- </div>
97761
- </div>
97762
- </div>
97763
- }
97764
- </div>
97765
-
97766
- <co-transaction-card-footer
97767
- [transactionTypeCategory]="transactionTypeCategory.SalesOrderPurchase"
97768
- [expanded]="expanded"
97769
- ></co-transaction-card-footer>
97770
- </div>
97698
+ 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: `
97699
+ <div class="transaction-card-wrapper">
97700
+ <co-transaction-card-header
97701
+ [showActionButtons]="true"
97702
+ [showCheckbox]="false"
97703
+ [showThumbnail]="false"
97704
+ [expanded]="expanded"
97705
+ (expandClicked)="expanded = !expanded"
97706
+ >
97707
+ </co-transaction-card-header>
97708
+
97709
+ <div class="transaction-card-content-wrapper">
97710
+ <div class="content-base top-base">
97711
+ <div class="transaction-field-wrapper status-bar-purchase">
97712
+ <co-transaction-line-statusbar
97713
+ [screenConfigurationObject]="cfgNames.StatusBar"
97714
+ [configNames]="statusBarConfigNames"
97715
+ [activeCategory]="category.PurchaseOrderOverview">
97716
+ </co-transaction-line-statusbar>
97717
+ </div>
97718
+ <co-transaction-navigation-button-list
97719
+ [refTransactions]="transactionLine.refTransactions"
97720
+ (relationClick)="handleRelationNavigation($event)"
97721
+ (transactionClick)="handleTransactionNavigation($event)"></co-transaction-navigation-button-list>
97722
+ @if (transactionLine.supplierArticleNumber) {
97723
+ <div class="transaction-field-wrapper">
97724
+ <div class="inside-field">
97725
+ <co-transaction-line-label [insideLabel]="'ARTICLE_NR_SUPPLIER'"></co-transaction-line-label>
97726
+ <co-transaction-navigation-button
97727
+ [screenConfigurationObject]="cfgNames.LineArticleNrSupplier"
97728
+ [label]="transactionLine.supplierArticleNumber"
97729
+ (buttonClicked)="handleArticleNavigation($event)">
97730
+ </co-transaction-navigation-button>
97731
+ </div>
97732
+ </div>
97733
+ }
97734
+ </div>
97735
+ <div class="content-base bottom-base">
97736
+ <div class="transaction-field-wrapper">
97737
+ <div class="inside-field">
97738
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
97739
+ <co-transaction-line-price class="transaction-line-totals-price price"
97740
+ [screenConfigurationObject]="cfgNames.LinePrice"
97741
+ [showLabel]="false"
97742
+ [defaultEditMode]="false"
97743
+ ></co-transaction-line-price>
97744
+ </div>
97745
+ </div>
97746
+ <div class="transaction-field-wrapper">
97747
+ <div class="inside-field">
97748
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
97749
+ <co-transaction-line-discount-button
97750
+ [screenConfigurationObject]="cfgNames.LineDiscount"
97751
+ ></co-transaction-line-discount-button>
97752
+ </div>
97753
+ </div>
97754
+ <div class="transaction-field-wrapper">
97755
+ <div class="inside-field">
97756
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
97757
+ <co-transaction-line-amount class="amount-number-picker"
97758
+ [screenConfigurationObject]="cfgNames.LineAmount"
97759
+ >
97760
+ </co-transaction-line-amount>
97761
+ </div>
97762
+ </div>
97763
+ <div class="transaction-field-wrapper">
97764
+ <div class="inside-field">
97765
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
97766
+ <co-editable-label class="transaction-line-totals-total price"
97767
+ [model]="transactionLine.netLineTotal | coCurrency: true"
97768
+ [editModel]="transactionLine.netLineTotal"
97769
+ [commit]="!readonly"
97770
+ [readonly]="true"
97771
+ [editMode]="false"
97772
+ ></co-editable-label>
97773
+ </div>
97774
+ </div>
97775
+ </div>
97776
+
97777
+ @if (expanded) {
97778
+ <div class="content-expanded">
97779
+ <div class="transaction-field-wrapper">
97780
+ <div class="inside-field">
97781
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
97782
+ <co-transaction-line-warehouse-button
97783
+ [screenConfigurationObject]="cfgNames.LineWarehouse"
97784
+ >
97785
+ </co-transaction-line-warehouse-button>
97786
+ </div>
97787
+ </div>
97788
+ <div class="transaction-field-wrapper">
97789
+ <div class="inside-field">
97790
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
97791
+ <co-transaction-line-delivery-button
97792
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
97793
+ ></co-transaction-line-delivery-button>
97794
+ </div>
97795
+ </div>
97796
+ <div class="transaction-field-wrapper">
97797
+ <div class="inside-field">
97798
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
97799
+ <co-transaction-line-delivery-date-button class="two-column"
97800
+ [screenConfigurationObject]="cfgNames.LineDeliveryDate"
97801
+ ></co-transaction-line-delivery-date-button>
97802
+ </div>
97803
+ </div>
97804
+ </div>
97805
+ }
97806
+ </div>
97807
+
97808
+ <co-transaction-card-footer
97809
+ [transactionTypeCategory]="transactionTypeCategory.SalesOrderPurchase"
97810
+ [expanded]="expanded"
97811
+ ></co-transaction-card-footer>
97812
+ </div>
97771
97813
  `, 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", "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 });
97772
97814
  }
97773
97815
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardPurchaseOverviewComponent, decorators: [{
97774
97816
  type: Component,
97775
97817
  args: [{
97776
97818
  selector: "co-transaction-card-purchase-overview",
97777
- template: `
97778
- <div class="transaction-card-wrapper">
97779
- <co-transaction-card-header
97780
- [showActionButtons]="true"
97781
- [showCheckbox]="false"
97782
- [showThumbnail]="false"
97783
- [expanded]="expanded"
97784
- (expandClicked)="expanded = !expanded"
97785
- >
97786
- </co-transaction-card-header>
97787
-
97788
- <div class="transaction-card-content-wrapper">
97789
- <div class="content-base top-base">
97790
- <div class="transaction-field-wrapper status-bar-purchase">
97791
- <co-transaction-line-statusbar
97792
- [screenConfigurationObject]="cfgNames.StatusBar"
97793
- [configNames]="statusBarConfigNames"
97794
- [activeCategory]="category.PurchaseOrderOverview">
97795
- </co-transaction-line-statusbar>
97796
- </div>
97797
- <co-transaction-navigation-button-list
97798
- [refTransactions]="transactionLine.refTransactions"
97799
- (relationClick)="handleRelationNavigation($event)"
97800
- (transactionClick)="handleTransactionNavigation($event)"></co-transaction-navigation-button-list>
97801
- @if (transactionLine.supplierArticleNumber) {
97802
- <div class="transaction-field-wrapper">
97803
- <div class="inside-field">
97804
- <co-transaction-line-label [insideLabel]="'ARTICLE_NR_SUPPLIER'"></co-transaction-line-label>
97805
- <co-transaction-navigation-button
97806
- [screenConfigurationObject]="cfgNames.LineArticleNrSupplier"
97807
- [label]="transactionLine.supplierArticleNumber"
97808
- (buttonClicked)="handleArticleNavigation($event)">
97809
- </co-transaction-navigation-button>
97810
- </div>
97811
- </div>
97812
- }
97813
- </div>
97814
- <div class="content-base bottom-base">
97815
- <div class="transaction-field-wrapper">
97816
- <div class="inside-field">
97817
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
97818
- <co-transaction-line-price class="transaction-line-totals-price price"
97819
- [screenConfigurationObject]="cfgNames.LinePrice"
97820
- [showLabel]="false"
97821
- [defaultEditMode]="false"
97822
- ></co-transaction-line-price>
97823
- </div>
97824
- </div>
97825
- <div class="transaction-field-wrapper">
97826
- <div class="inside-field">
97827
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
97828
- <co-transaction-line-discount-button
97829
- [screenConfigurationObject]="cfgNames.LineDiscount"
97830
- ></co-transaction-line-discount-button>
97831
- </div>
97832
- </div>
97833
- <div class="transaction-field-wrapper">
97834
- <div class="inside-field">
97835
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
97836
- <co-transaction-line-amount class="amount-number-picker"
97837
- [screenConfigurationObject]="cfgNames.LineAmount"
97838
- >
97839
- </co-transaction-line-amount>
97840
- </div>
97841
- </div>
97842
- <div class="transaction-field-wrapper">
97843
- <div class="inside-field">
97844
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
97845
- <co-editable-label class="transaction-line-totals-total price"
97846
- [model]="transactionLine.netLineTotal | coCurrency: true"
97847
- [editModel]="transactionLine.netLineTotal"
97848
- [commit]="!readonly"
97849
- [readonly]="true"
97850
- [editMode]="false"
97851
- ></co-editable-label>
97852
- </div>
97853
- </div>
97854
- </div>
97855
-
97856
- @if (expanded) {
97857
- <div class="content-expanded">
97858
- <div class="transaction-field-wrapper">
97859
- <div class="inside-field">
97860
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
97861
- <co-transaction-line-warehouse-button
97862
- [screenConfigurationObject]="cfgNames.LineWarehouse"
97863
- >
97864
- </co-transaction-line-warehouse-button>
97865
- </div>
97866
- </div>
97867
- <div class="transaction-field-wrapper">
97868
- <div class="inside-field">
97869
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
97870
- <co-transaction-line-delivery-button
97871
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
97872
- ></co-transaction-line-delivery-button>
97873
- </div>
97874
- </div>
97875
- <div class="transaction-field-wrapper">
97876
- <div class="inside-field">
97877
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
97878
- <co-transaction-line-delivery-date-button class="two-column"
97879
- [screenConfigurationObject]="cfgNames.LineDeliveryDate"
97880
- ></co-transaction-line-delivery-date-button>
97881
- </div>
97882
- </div>
97883
- </div>
97884
- }
97885
- </div>
97886
-
97887
- <co-transaction-card-footer
97888
- [transactionTypeCategory]="transactionTypeCategory.SalesOrderPurchase"
97889
- [expanded]="expanded"
97890
- ></co-transaction-card-footer>
97891
- </div>
97819
+ template: `
97820
+ <div class="transaction-card-wrapper">
97821
+ <co-transaction-card-header
97822
+ [showActionButtons]="true"
97823
+ [showCheckbox]="false"
97824
+ [showThumbnail]="false"
97825
+ [expanded]="expanded"
97826
+ (expandClicked)="expanded = !expanded"
97827
+ >
97828
+ </co-transaction-card-header>
97829
+
97830
+ <div class="transaction-card-content-wrapper">
97831
+ <div class="content-base top-base">
97832
+ <div class="transaction-field-wrapper status-bar-purchase">
97833
+ <co-transaction-line-statusbar
97834
+ [screenConfigurationObject]="cfgNames.StatusBar"
97835
+ [configNames]="statusBarConfigNames"
97836
+ [activeCategory]="category.PurchaseOrderOverview">
97837
+ </co-transaction-line-statusbar>
97838
+ </div>
97839
+ <co-transaction-navigation-button-list
97840
+ [refTransactions]="transactionLine.refTransactions"
97841
+ (relationClick)="handleRelationNavigation($event)"
97842
+ (transactionClick)="handleTransactionNavigation($event)"></co-transaction-navigation-button-list>
97843
+ @if (transactionLine.supplierArticleNumber) {
97844
+ <div class="transaction-field-wrapper">
97845
+ <div class="inside-field">
97846
+ <co-transaction-line-label [insideLabel]="'ARTICLE_NR_SUPPLIER'"></co-transaction-line-label>
97847
+ <co-transaction-navigation-button
97848
+ [screenConfigurationObject]="cfgNames.LineArticleNrSupplier"
97849
+ [label]="transactionLine.supplierArticleNumber"
97850
+ (buttonClicked)="handleArticleNavigation($event)">
97851
+ </co-transaction-navigation-button>
97852
+ </div>
97853
+ </div>
97854
+ }
97855
+ </div>
97856
+ <div class="content-base bottom-base">
97857
+ <div class="transaction-field-wrapper">
97858
+ <div class="inside-field">
97859
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
97860
+ <co-transaction-line-price class="transaction-line-totals-price price"
97861
+ [screenConfigurationObject]="cfgNames.LinePrice"
97862
+ [showLabel]="false"
97863
+ [defaultEditMode]="false"
97864
+ ></co-transaction-line-price>
97865
+ </div>
97866
+ </div>
97867
+ <div class="transaction-field-wrapper">
97868
+ <div class="inside-field">
97869
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
97870
+ <co-transaction-line-discount-button
97871
+ [screenConfigurationObject]="cfgNames.LineDiscount"
97872
+ ></co-transaction-line-discount-button>
97873
+ </div>
97874
+ </div>
97875
+ <div class="transaction-field-wrapper">
97876
+ <div class="inside-field">
97877
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
97878
+ <co-transaction-line-amount class="amount-number-picker"
97879
+ [screenConfigurationObject]="cfgNames.LineAmount"
97880
+ >
97881
+ </co-transaction-line-amount>
97882
+ </div>
97883
+ </div>
97884
+ <div class="transaction-field-wrapper">
97885
+ <div class="inside-field">
97886
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
97887
+ <co-editable-label class="transaction-line-totals-total price"
97888
+ [model]="transactionLine.netLineTotal | coCurrency: true"
97889
+ [editModel]="transactionLine.netLineTotal"
97890
+ [commit]="!readonly"
97891
+ [readonly]="true"
97892
+ [editMode]="false"
97893
+ ></co-editable-label>
97894
+ </div>
97895
+ </div>
97896
+ </div>
97897
+
97898
+ @if (expanded) {
97899
+ <div class="content-expanded">
97900
+ <div class="transaction-field-wrapper">
97901
+ <div class="inside-field">
97902
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
97903
+ <co-transaction-line-warehouse-button
97904
+ [screenConfigurationObject]="cfgNames.LineWarehouse"
97905
+ >
97906
+ </co-transaction-line-warehouse-button>
97907
+ </div>
97908
+ </div>
97909
+ <div class="transaction-field-wrapper">
97910
+ <div class="inside-field">
97911
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
97912
+ <co-transaction-line-delivery-button
97913
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
97914
+ ></co-transaction-line-delivery-button>
97915
+ </div>
97916
+ </div>
97917
+ <div class="transaction-field-wrapper">
97918
+ <div class="inside-field">
97919
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
97920
+ <co-transaction-line-delivery-date-button class="two-column"
97921
+ [screenConfigurationObject]="cfgNames.LineDeliveryDate"
97922
+ ></co-transaction-line-delivery-date-button>
97923
+ </div>
97924
+ </div>
97925
+ </div>
97926
+ }
97927
+ </div>
97928
+
97929
+ <co-transaction-card-footer
97930
+ [transactionTypeCategory]="transactionTypeCategory.SalesOrderPurchase"
97931
+ [expanded]="expanded"
97932
+ ></co-transaction-card-footer>
97933
+ </div>
97892
97934
  `,
97893
97935
  encapsulation: ViewEncapsulation.None,
97894
97936
  standalone: false
@@ -98081,214 +98123,214 @@ class TransactionCardSalesOverviewComponent extends TransactionLineBaseComponent
98081
98123
  lineDiscountQuantum: this.cfgNames.LineDiscountQuantum
98082
98124
  };
98083
98125
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardSalesOverviewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
98084
- 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: `
98085
- <div class="transaction-card-sales-overview-wrapper transaction-card-wrapper">
98086
- <co-transaction-card-header
98087
- [showActionButtons]="true"
98088
- [showCheckbox]="false"
98089
- [expanded]="expanded"
98090
- (expandClicked)="expanded = !expanded">
98091
- </co-transaction-card-header>
98092
- <div class="transaction-card-content-wrapper">
98093
- <div class="content-base top-base">
98094
- <div class="transaction-field-wrapper status-bar">
98095
- <co-transaction-line-statusbar
98096
- [screenConfigurationObject]="cfgNames.StatusBar"
98097
- [configNames]="statusBarConfigNames"
98098
- [activeCategory]="category.SalesOrderOverview">
98099
- </co-transaction-line-statusbar>
98100
- </div>
98101
- <div class="transaction-field-wrapper">
98102
- <div class="inside-field">
98103
- <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
98104
- <co-transaction-line-commission-button></co-transaction-line-commission-button>
98105
- </div>
98106
- </div>
98107
- <div class="transaction-field-wrapper">
98108
- <div class="inside-field">
98109
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
98110
- <co-transaction-line-warehouse-button
98111
- [screenConfigurationObject]="cfgNames.LineWarehouse"
98112
- >
98113
- </co-transaction-line-warehouse-button>
98114
- </div>
98115
- </div>
98116
- </div>
98117
- <div class="content-base bottom-base">
98118
- <div class="transaction-field-wrapper">
98119
- <div class="inside-field">
98120
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
98121
- <co-editable-label class="transaction-card-price price"
98122
- [model]="transactionLine.price | coCurrency"
98123
- [readonly]="true"
98124
- ></co-editable-label>
98125
- </div>
98126
- </div>
98127
- <div class="transaction-field-wrapper">
98128
- <div class="inside-field">
98129
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
98130
- <co-transaction-line-amount class="amount-number-picker"
98131
- [screenConfigurationObject]="cfgNames.LineAmount"
98132
- ></co-transaction-line-amount>
98133
- </div>
98134
- </div>
98135
- <div class="transaction-field-wrapper">
98136
- <div class="inside-field">
98137
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
98138
- @if (!preview) {
98139
- <co-transaction-line-discount-button
98140
- [screenConfigurationObject]="cfgNames.LineDiscount"
98141
- [configNames]="discountConfigNames"
98142
- ></co-transaction-line-discount-button>
98143
- }
98144
- </div>
98145
- </div>
98146
- <div class="transaction-field-wrapper">
98147
- <div class="inside-field">
98148
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
98149
- <co-editable-label class="transaction-line-totals-total price"
98150
- [model]="transactionLine.netLineTotal | coCurrency"
98151
- [editModel]="transactionLine.netLineTotal"
98152
- [readonly]="true"
98153
- ></co-editable-label>
98154
- </div>
98155
- </div>
98156
- </div>
98157
- @if (expanded) {
98158
- <div class="content-expanded">
98159
- <div class="transaction-field-wrapper">
98160
- <div class="inside-field">
98161
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
98162
- <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
98163
- </div>
98164
- </div>
98165
- <div class="transaction-field-wrapper">
98166
- <div class="inside-field">
98167
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
98168
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
98169
- </div>
98170
- </div>
98171
- <div class="transaction-field-wrapper">
98172
- <div class="inside-field">
98173
- <co-transaction-line-label [insideLabel]="'VAT'"></co-transaction-line-label>
98174
- <co-transaction-line-vat-button></co-transaction-line-vat-button>
98175
- </div>
98176
- </div>
98177
- </div>
98178
- }
98179
- </div>
98180
- <co-transaction-card-footer
98181
- [transactionTypeCategory]="category.SalesOrderOverview"
98182
- [expanded]="expanded"
98183
- ></co-transaction-card-footer>
98184
- </div>
98126
+ 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: `
98127
+ <div class="transaction-card-sales-overview-wrapper transaction-card-wrapper">
98128
+ <co-transaction-card-header
98129
+ [showActionButtons]="true"
98130
+ [showCheckbox]="false"
98131
+ [expanded]="expanded"
98132
+ (expandClicked)="expanded = !expanded">
98133
+ </co-transaction-card-header>
98134
+ <div class="transaction-card-content-wrapper">
98135
+ <div class="content-base top-base">
98136
+ <div class="transaction-field-wrapper status-bar">
98137
+ <co-transaction-line-statusbar
98138
+ [screenConfigurationObject]="cfgNames.StatusBar"
98139
+ [configNames]="statusBarConfigNames"
98140
+ [activeCategory]="category.SalesOrderOverview">
98141
+ </co-transaction-line-statusbar>
98142
+ </div>
98143
+ <div class="transaction-field-wrapper">
98144
+ <div class="inside-field">
98145
+ <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
98146
+ <co-transaction-line-commission-button></co-transaction-line-commission-button>
98147
+ </div>
98148
+ </div>
98149
+ <div class="transaction-field-wrapper">
98150
+ <div class="inside-field">
98151
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
98152
+ <co-transaction-line-warehouse-button
98153
+ [screenConfigurationObject]="cfgNames.LineWarehouse"
98154
+ >
98155
+ </co-transaction-line-warehouse-button>
98156
+ </div>
98157
+ </div>
98158
+ </div>
98159
+ <div class="content-base bottom-base">
98160
+ <div class="transaction-field-wrapper">
98161
+ <div class="inside-field">
98162
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
98163
+ <co-editable-label class="transaction-card-price price"
98164
+ [model]="transactionLine.price | coCurrency"
98165
+ [readonly]="true"
98166
+ ></co-editable-label>
98167
+ </div>
98168
+ </div>
98169
+ <div class="transaction-field-wrapper">
98170
+ <div class="inside-field">
98171
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
98172
+ <co-transaction-line-amount class="amount-number-picker"
98173
+ [screenConfigurationObject]="cfgNames.LineAmount"
98174
+ ></co-transaction-line-amount>
98175
+ </div>
98176
+ </div>
98177
+ <div class="transaction-field-wrapper">
98178
+ <div class="inside-field">
98179
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
98180
+ @if (!preview) {
98181
+ <co-transaction-line-discount-button
98182
+ [screenConfigurationObject]="cfgNames.LineDiscount"
98183
+ [configNames]="discountConfigNames"
98184
+ ></co-transaction-line-discount-button>
98185
+ }
98186
+ </div>
98187
+ </div>
98188
+ <div class="transaction-field-wrapper">
98189
+ <div class="inside-field">
98190
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
98191
+ <co-editable-label class="transaction-line-totals-total price"
98192
+ [model]="transactionLine.netLineTotal | coCurrency"
98193
+ [editModel]="transactionLine.netLineTotal"
98194
+ [readonly]="true"
98195
+ ></co-editable-label>
98196
+ </div>
98197
+ </div>
98198
+ </div>
98199
+ @if (expanded) {
98200
+ <div class="content-expanded">
98201
+ <div class="transaction-field-wrapper">
98202
+ <div class="inside-field">
98203
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
98204
+ <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
98205
+ </div>
98206
+ </div>
98207
+ <div class="transaction-field-wrapper">
98208
+ <div class="inside-field">
98209
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
98210
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
98211
+ </div>
98212
+ </div>
98213
+ <div class="transaction-field-wrapper">
98214
+ <div class="inside-field">
98215
+ <co-transaction-line-label [insideLabel]="'VAT'"></co-transaction-line-label>
98216
+ <co-transaction-line-vat-button></co-transaction-line-vat-button>
98217
+ </div>
98218
+ </div>
98219
+ </div>
98220
+ }
98221
+ </div>
98222
+ <co-transaction-card-footer
98223
+ [transactionTypeCategory]="category.SalesOrderOverview"
98224
+ [expanded]="expanded"
98225
+ ></co-transaction-card-footer>
98226
+ </div>
98185
98227
  `, 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 });
98186
98228
  }
98187
98229
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardSalesOverviewComponent, decorators: [{
98188
98230
  type: Component,
98189
98231
  args: [{
98190
98232
  selector: "co-transaction-card-sales-overview",
98191
- template: `
98192
- <div class="transaction-card-sales-overview-wrapper transaction-card-wrapper">
98193
- <co-transaction-card-header
98194
- [showActionButtons]="true"
98195
- [showCheckbox]="false"
98196
- [expanded]="expanded"
98197
- (expandClicked)="expanded = !expanded">
98198
- </co-transaction-card-header>
98199
- <div class="transaction-card-content-wrapper">
98200
- <div class="content-base top-base">
98201
- <div class="transaction-field-wrapper status-bar">
98202
- <co-transaction-line-statusbar
98203
- [screenConfigurationObject]="cfgNames.StatusBar"
98204
- [configNames]="statusBarConfigNames"
98205
- [activeCategory]="category.SalesOrderOverview">
98206
- </co-transaction-line-statusbar>
98207
- </div>
98208
- <div class="transaction-field-wrapper">
98209
- <div class="inside-field">
98210
- <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
98211
- <co-transaction-line-commission-button></co-transaction-line-commission-button>
98212
- </div>
98213
- </div>
98214
- <div class="transaction-field-wrapper">
98215
- <div class="inside-field">
98216
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
98217
- <co-transaction-line-warehouse-button
98218
- [screenConfigurationObject]="cfgNames.LineWarehouse"
98219
- >
98220
- </co-transaction-line-warehouse-button>
98221
- </div>
98222
- </div>
98223
- </div>
98224
- <div class="content-base bottom-base">
98225
- <div class="transaction-field-wrapper">
98226
- <div class="inside-field">
98227
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
98228
- <co-editable-label class="transaction-card-price price"
98229
- [model]="transactionLine.price | coCurrency"
98230
- [readonly]="true"
98231
- ></co-editable-label>
98232
- </div>
98233
- </div>
98234
- <div class="transaction-field-wrapper">
98235
- <div class="inside-field">
98236
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
98237
- <co-transaction-line-amount class="amount-number-picker"
98238
- [screenConfigurationObject]="cfgNames.LineAmount"
98239
- ></co-transaction-line-amount>
98240
- </div>
98241
- </div>
98242
- <div class="transaction-field-wrapper">
98243
- <div class="inside-field">
98244
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
98245
- @if (!preview) {
98246
- <co-transaction-line-discount-button
98247
- [screenConfigurationObject]="cfgNames.LineDiscount"
98248
- [configNames]="discountConfigNames"
98249
- ></co-transaction-line-discount-button>
98250
- }
98251
- </div>
98252
- </div>
98253
- <div class="transaction-field-wrapper">
98254
- <div class="inside-field">
98255
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
98256
- <co-editable-label class="transaction-line-totals-total price"
98257
- [model]="transactionLine.netLineTotal | coCurrency"
98258
- [editModel]="transactionLine.netLineTotal"
98259
- [readonly]="true"
98260
- ></co-editable-label>
98261
- </div>
98262
- </div>
98263
- </div>
98264
- @if (expanded) {
98265
- <div class="content-expanded">
98266
- <div class="transaction-field-wrapper">
98267
- <div class="inside-field">
98268
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
98269
- <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
98270
- </div>
98271
- </div>
98272
- <div class="transaction-field-wrapper">
98273
- <div class="inside-field">
98274
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
98275
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
98276
- </div>
98277
- </div>
98278
- <div class="transaction-field-wrapper">
98279
- <div class="inside-field">
98280
- <co-transaction-line-label [insideLabel]="'VAT'"></co-transaction-line-label>
98281
- <co-transaction-line-vat-button></co-transaction-line-vat-button>
98282
- </div>
98283
- </div>
98284
- </div>
98285
- }
98286
- </div>
98287
- <co-transaction-card-footer
98288
- [transactionTypeCategory]="category.SalesOrderOverview"
98289
- [expanded]="expanded"
98290
- ></co-transaction-card-footer>
98291
- </div>
98233
+ template: `
98234
+ <div class="transaction-card-sales-overview-wrapper transaction-card-wrapper">
98235
+ <co-transaction-card-header
98236
+ [showActionButtons]="true"
98237
+ [showCheckbox]="false"
98238
+ [expanded]="expanded"
98239
+ (expandClicked)="expanded = !expanded">
98240
+ </co-transaction-card-header>
98241
+ <div class="transaction-card-content-wrapper">
98242
+ <div class="content-base top-base">
98243
+ <div class="transaction-field-wrapper status-bar">
98244
+ <co-transaction-line-statusbar
98245
+ [screenConfigurationObject]="cfgNames.StatusBar"
98246
+ [configNames]="statusBarConfigNames"
98247
+ [activeCategory]="category.SalesOrderOverview">
98248
+ </co-transaction-line-statusbar>
98249
+ </div>
98250
+ <div class="transaction-field-wrapper">
98251
+ <div class="inside-field">
98252
+ <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
98253
+ <co-transaction-line-commission-button></co-transaction-line-commission-button>
98254
+ </div>
98255
+ </div>
98256
+ <div class="transaction-field-wrapper">
98257
+ <div class="inside-field">
98258
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
98259
+ <co-transaction-line-warehouse-button
98260
+ [screenConfigurationObject]="cfgNames.LineWarehouse"
98261
+ >
98262
+ </co-transaction-line-warehouse-button>
98263
+ </div>
98264
+ </div>
98265
+ </div>
98266
+ <div class="content-base bottom-base">
98267
+ <div class="transaction-field-wrapper">
98268
+ <div class="inside-field">
98269
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
98270
+ <co-editable-label class="transaction-card-price price"
98271
+ [model]="transactionLine.price | coCurrency"
98272
+ [readonly]="true"
98273
+ ></co-editable-label>
98274
+ </div>
98275
+ </div>
98276
+ <div class="transaction-field-wrapper">
98277
+ <div class="inside-field">
98278
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
98279
+ <co-transaction-line-amount class="amount-number-picker"
98280
+ [screenConfigurationObject]="cfgNames.LineAmount"
98281
+ ></co-transaction-line-amount>
98282
+ </div>
98283
+ </div>
98284
+ <div class="transaction-field-wrapper">
98285
+ <div class="inside-field">
98286
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
98287
+ @if (!preview) {
98288
+ <co-transaction-line-discount-button
98289
+ [screenConfigurationObject]="cfgNames.LineDiscount"
98290
+ [configNames]="discountConfigNames"
98291
+ ></co-transaction-line-discount-button>
98292
+ }
98293
+ </div>
98294
+ </div>
98295
+ <div class="transaction-field-wrapper">
98296
+ <div class="inside-field">
98297
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
98298
+ <co-editable-label class="transaction-line-totals-total price"
98299
+ [model]="transactionLine.netLineTotal | coCurrency"
98300
+ [editModel]="transactionLine.netLineTotal"
98301
+ [readonly]="true"
98302
+ ></co-editable-label>
98303
+ </div>
98304
+ </div>
98305
+ </div>
98306
+ @if (expanded) {
98307
+ <div class="content-expanded">
98308
+ <div class="transaction-field-wrapper">
98309
+ <div class="inside-field">
98310
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
98311
+ <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
98312
+ </div>
98313
+ </div>
98314
+ <div class="transaction-field-wrapper">
98315
+ <div class="inside-field">
98316
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
98317
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
98318
+ </div>
98319
+ </div>
98320
+ <div class="transaction-field-wrapper">
98321
+ <div class="inside-field">
98322
+ <co-transaction-line-label [insideLabel]="'VAT'"></co-transaction-line-label>
98323
+ <co-transaction-line-vat-button></co-transaction-line-vat-button>
98324
+ </div>
98325
+ </div>
98326
+ </div>
98327
+ }
98328
+ </div>
98329
+ <co-transaction-card-footer
98330
+ [transactionTypeCategory]="category.SalesOrderOverview"
98331
+ [expanded]="expanded"
98332
+ ></co-transaction-card-footer>
98333
+ </div>
98292
98334
  `,
98293
98335
  encapsulation: ViewEncapsulation.None,
98294
98336
  standalone: false
@@ -98683,230 +98725,230 @@ class TransactionCardInvoiceComponent extends TransactionInvoiceLineBaseComponen
98683
98725
  statusBarGF: this.cfgNames.StatusBarGF
98684
98726
  };
98685
98727
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardInvoiceComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
98686
- 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: `
98687
- <div class="transaction-card-wrapper">
98688
- <co-transaction-card-header
98689
- [showActionButtons]="true"
98690
- [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
98691
- [showThumbnail]="false"
98692
- [expanded]="expanded"
98693
- (checkboxValueChanged)="handleSelectCheckboxClick($event)"
98694
- (expandClicked)="expanded = !expanded">
98695
- @if (lineQuantityToInvoice !== 0) {
98696
- <div class="transaction-line-totals-amount card-button">
98697
- <co-input-number-picker class="amount-number-picker"
98698
- [(model)]="transactionLine.amountSelected"
98699
- [decimals]="decimals"
98700
- [min]="1"
98701
- [max]="transactionLine.amount"
98702
- [readonly]="readonly"
98703
- (modelChange)="updateSelectedQuantity(transactionLine.amountSelected)">
98704
- </co-input-number-picker>
98705
- </div>
98706
- }
98707
- </co-transaction-card-header>
98708
- <div class="transaction-card-content-wrapper">
98709
- <div class="content-base top-base">
98710
- <div class="transaction-field-wrapper status-bar">
98711
- <co-transaction-line-statusbar
98712
- [screenConfigurationObject]="cfgNames.StatusBar"
98713
- [configNames]="statusBarConfigNames"
98714
- [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
98715
- </div>
98716
- <div class="transaction-field-wrapper">
98717
- <div class="inside-field">
98718
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
98719
- <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
98720
- </div>
98721
- </div>
98722
- <div class="transaction-field-wrapper">
98723
- <div class="inside-field">
98724
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
98725
- <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
98726
- </div>
98727
- </div>
98728
- </div>
98729
- <div class="content-base bottom-base">
98730
- <div class="transaction-field-wrapper">
98731
- <div class="inside-field">
98732
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
98733
- <co-transaction-line-price class="transaction-line-totals-price price"
98734
- [screenConfigurationObject]="cfgNames.LinePrice"
98735
- [showLabel]="false"
98736
- [defaultEditMode]="false"
98737
- ></co-transaction-line-price>
98738
- </div>
98739
- </div>
98740
- <div class="transaction-field-wrapper">
98741
- <div class="inside-field">
98742
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
98743
- @if (!preview) {
98744
- <co-transaction-line-discount-button
98745
- [screenConfigurationObject]="cfgNames.LineDiscount"
98746
- [configNames]="discountConfigNames"
98747
- ></co-transaction-line-discount-button>
98748
- }
98749
- </div>
98750
- </div>
98751
- <div class="transaction-field-wrapper">
98752
- <div class="inside-field">
98753
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
98754
- <co-transaction-line-amount class="amount-number-picker"
98755
- [screenConfigurationObject]="cfgNames.LineAmount"
98756
- ></co-transaction-line-amount>
98757
- </div>
98758
- </div>
98759
- <div class="transaction-field-wrapper">
98760
- <div class="inside-field">
98761
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
98762
- <co-editable-label class="transaction-line-totals-total price"
98763
- [model]="transactionLine.netLineTotal | coCurrency: true"
98764
- [editModel]="transactionLine.netLineTotal"
98765
- [readonly]="true"
98766
- ></co-editable-label>
98767
- </div>
98768
- </div>
98769
- </div>
98770
- @if (expanded) {
98771
- <div class="content-expanded">
98772
- <div class="transaction-field-wrapper">
98773
- <div class="inside-field">
98774
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
98775
- <co-transaction-line-delivery-button
98776
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
98777
- ></co-transaction-line-delivery-button>
98778
- </div>
98779
- </div>
98780
- <div class="transaction-field-wrapper">
98781
- <div class="inside-field">
98782
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
98783
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
98784
- </div>
98785
- </div>
98786
- </div>
98787
- }
98788
- </div>
98789
-
98790
- <co-transaction-card-footer
98791
- [transactionTypeCategory]="category.SalesOrderInvoice"
98792
- [expanded]="expanded"
98793
- ></co-transaction-card-footer>
98794
- </div>
98795
- `, 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 });
98796
- }
98797
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardInvoiceComponent, decorators: [{
98798
- type: Component,
98799
- args: [{
98800
- selector: "co-transaction-card-invoice",
98801
- template: `
98802
- <div class="transaction-card-wrapper">
98803
- <co-transaction-card-header
98804
- [showActionButtons]="true"
98805
- [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
98806
- [showThumbnail]="false"
98807
- [expanded]="expanded"
98808
- (checkboxValueChanged)="handleSelectCheckboxClick($event)"
98809
- (expandClicked)="expanded = !expanded">
98810
- @if (lineQuantityToInvoice !== 0) {
98811
- <div class="transaction-line-totals-amount card-button">
98812
- <co-input-number-picker class="amount-number-picker"
98813
- [(model)]="transactionLine.amountSelected"
98814
- [decimals]="decimals"
98815
- [min]="1"
98816
- [max]="transactionLine.amount"
98817
- [readonly]="readonly"
98818
- (modelChange)="updateSelectedQuantity(transactionLine.amountSelected)">
98819
- </co-input-number-picker>
98820
- </div>
98821
- }
98822
- </co-transaction-card-header>
98823
- <div class="transaction-card-content-wrapper">
98824
- <div class="content-base top-base">
98825
- <div class="transaction-field-wrapper status-bar">
98826
- <co-transaction-line-statusbar
98827
- [screenConfigurationObject]="cfgNames.StatusBar"
98828
- [configNames]="statusBarConfigNames"
98829
- [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
98830
- </div>
98831
- <div class="transaction-field-wrapper">
98832
- <div class="inside-field">
98833
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
98834
- <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
98835
- </div>
98836
- </div>
98837
- <div class="transaction-field-wrapper">
98838
- <div class="inside-field">
98839
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
98840
- <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
98841
- </div>
98842
- </div>
98843
- </div>
98844
- <div class="content-base bottom-base">
98845
- <div class="transaction-field-wrapper">
98846
- <div class="inside-field">
98847
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
98848
- <co-transaction-line-price class="transaction-line-totals-price price"
98849
- [screenConfigurationObject]="cfgNames.LinePrice"
98850
- [showLabel]="false"
98851
- [defaultEditMode]="false"
98852
- ></co-transaction-line-price>
98853
- </div>
98854
- </div>
98855
- <div class="transaction-field-wrapper">
98856
- <div class="inside-field">
98857
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
98858
- @if (!preview) {
98859
- <co-transaction-line-discount-button
98860
- [screenConfigurationObject]="cfgNames.LineDiscount"
98861
- [configNames]="discountConfigNames"
98862
- ></co-transaction-line-discount-button>
98863
- }
98864
- </div>
98865
- </div>
98866
- <div class="transaction-field-wrapper">
98867
- <div class="inside-field">
98868
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
98869
- <co-transaction-line-amount class="amount-number-picker"
98870
- [screenConfigurationObject]="cfgNames.LineAmount"
98871
- ></co-transaction-line-amount>
98872
- </div>
98873
- </div>
98874
- <div class="transaction-field-wrapper">
98875
- <div class="inside-field">
98876
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
98877
- <co-editable-label class="transaction-line-totals-total price"
98878
- [model]="transactionLine.netLineTotal | coCurrency: true"
98879
- [editModel]="transactionLine.netLineTotal"
98880
- [readonly]="true"
98881
- ></co-editable-label>
98882
- </div>
98883
- </div>
98884
- </div>
98885
- @if (expanded) {
98886
- <div class="content-expanded">
98887
- <div class="transaction-field-wrapper">
98888
- <div class="inside-field">
98889
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
98890
- <co-transaction-line-delivery-button
98891
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
98892
- ></co-transaction-line-delivery-button>
98893
- </div>
98894
- </div>
98895
- <div class="transaction-field-wrapper">
98896
- <div class="inside-field">
98897
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
98898
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
98899
- </div>
98900
- </div>
98901
- </div>
98902
- }
98903
- </div>
98904
-
98905
- <co-transaction-card-footer
98906
- [transactionTypeCategory]="category.SalesOrderInvoice"
98907
- [expanded]="expanded"
98908
- ></co-transaction-card-footer>
98909
- </div>
98728
+ 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: `
98729
+ <div class="transaction-card-wrapper">
98730
+ <co-transaction-card-header
98731
+ [showActionButtons]="true"
98732
+ [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
98733
+ [showThumbnail]="false"
98734
+ [expanded]="expanded"
98735
+ (checkboxValueChanged)="handleSelectCheckboxClick($event)"
98736
+ (expandClicked)="expanded = !expanded">
98737
+ @if (lineQuantityToInvoice !== 0) {
98738
+ <div class="transaction-line-totals-amount card-button">
98739
+ <co-input-number-picker class="amount-number-picker"
98740
+ [(model)]="transactionLine.amountSelected"
98741
+ [decimals]="decimals"
98742
+ [min]="1"
98743
+ [max]="transactionLine.amount"
98744
+ [readonly]="readonly"
98745
+ (modelChange)="updateSelectedQuantity(transactionLine.amountSelected)">
98746
+ </co-input-number-picker>
98747
+ </div>
98748
+ }
98749
+ </co-transaction-card-header>
98750
+ <div class="transaction-card-content-wrapper">
98751
+ <div class="content-base top-base">
98752
+ <div class="transaction-field-wrapper status-bar">
98753
+ <co-transaction-line-statusbar
98754
+ [screenConfigurationObject]="cfgNames.StatusBar"
98755
+ [configNames]="statusBarConfigNames"
98756
+ [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
98757
+ </div>
98758
+ <div class="transaction-field-wrapper">
98759
+ <div class="inside-field">
98760
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
98761
+ <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
98762
+ </div>
98763
+ </div>
98764
+ <div class="transaction-field-wrapper">
98765
+ <div class="inside-field">
98766
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
98767
+ <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
98768
+ </div>
98769
+ </div>
98770
+ </div>
98771
+ <div class="content-base bottom-base">
98772
+ <div class="transaction-field-wrapper">
98773
+ <div class="inside-field">
98774
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
98775
+ <co-transaction-line-price class="transaction-line-totals-price price"
98776
+ [screenConfigurationObject]="cfgNames.LinePrice"
98777
+ [showLabel]="false"
98778
+ [defaultEditMode]="false"
98779
+ ></co-transaction-line-price>
98780
+ </div>
98781
+ </div>
98782
+ <div class="transaction-field-wrapper">
98783
+ <div class="inside-field">
98784
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
98785
+ @if (!preview) {
98786
+ <co-transaction-line-discount-button
98787
+ [screenConfigurationObject]="cfgNames.LineDiscount"
98788
+ [configNames]="discountConfigNames"
98789
+ ></co-transaction-line-discount-button>
98790
+ }
98791
+ </div>
98792
+ </div>
98793
+ <div class="transaction-field-wrapper">
98794
+ <div class="inside-field">
98795
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
98796
+ <co-transaction-line-amount class="amount-number-picker"
98797
+ [screenConfigurationObject]="cfgNames.LineAmount"
98798
+ ></co-transaction-line-amount>
98799
+ </div>
98800
+ </div>
98801
+ <div class="transaction-field-wrapper">
98802
+ <div class="inside-field">
98803
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
98804
+ <co-editable-label class="transaction-line-totals-total price"
98805
+ [model]="transactionLine.netLineTotal | coCurrency: true"
98806
+ [editModel]="transactionLine.netLineTotal"
98807
+ [readonly]="true"
98808
+ ></co-editable-label>
98809
+ </div>
98810
+ </div>
98811
+ </div>
98812
+ @if (expanded) {
98813
+ <div class="content-expanded">
98814
+ <div class="transaction-field-wrapper">
98815
+ <div class="inside-field">
98816
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
98817
+ <co-transaction-line-delivery-button
98818
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
98819
+ ></co-transaction-line-delivery-button>
98820
+ </div>
98821
+ </div>
98822
+ <div class="transaction-field-wrapper">
98823
+ <div class="inside-field">
98824
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
98825
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
98826
+ </div>
98827
+ </div>
98828
+ </div>
98829
+ }
98830
+ </div>
98831
+
98832
+ <co-transaction-card-footer
98833
+ [transactionTypeCategory]="category.SalesOrderInvoice"
98834
+ [expanded]="expanded"
98835
+ ></co-transaction-card-footer>
98836
+ </div>
98837
+ `, 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 });
98838
+ }
98839
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardInvoiceComponent, decorators: [{
98840
+ type: Component,
98841
+ args: [{
98842
+ selector: "co-transaction-card-invoice",
98843
+ template: `
98844
+ <div class="transaction-card-wrapper">
98845
+ <co-transaction-card-header
98846
+ [showActionButtons]="true"
98847
+ [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
98848
+ [showThumbnail]="false"
98849
+ [expanded]="expanded"
98850
+ (checkboxValueChanged)="handleSelectCheckboxClick($event)"
98851
+ (expandClicked)="expanded = !expanded">
98852
+ @if (lineQuantityToInvoice !== 0) {
98853
+ <div class="transaction-line-totals-amount card-button">
98854
+ <co-input-number-picker class="amount-number-picker"
98855
+ [(model)]="transactionLine.amountSelected"
98856
+ [decimals]="decimals"
98857
+ [min]="1"
98858
+ [max]="transactionLine.amount"
98859
+ [readonly]="readonly"
98860
+ (modelChange)="updateSelectedQuantity(transactionLine.amountSelected)">
98861
+ </co-input-number-picker>
98862
+ </div>
98863
+ }
98864
+ </co-transaction-card-header>
98865
+ <div class="transaction-card-content-wrapper">
98866
+ <div class="content-base top-base">
98867
+ <div class="transaction-field-wrapper status-bar">
98868
+ <co-transaction-line-statusbar
98869
+ [screenConfigurationObject]="cfgNames.StatusBar"
98870
+ [configNames]="statusBarConfigNames"
98871
+ [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
98872
+ </div>
98873
+ <div class="transaction-field-wrapper">
98874
+ <div class="inside-field">
98875
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
98876
+ <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
98877
+ </div>
98878
+ </div>
98879
+ <div class="transaction-field-wrapper">
98880
+ <div class="inside-field">
98881
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
98882
+ <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
98883
+ </div>
98884
+ </div>
98885
+ </div>
98886
+ <div class="content-base bottom-base">
98887
+ <div class="transaction-field-wrapper">
98888
+ <div class="inside-field">
98889
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
98890
+ <co-transaction-line-price class="transaction-line-totals-price price"
98891
+ [screenConfigurationObject]="cfgNames.LinePrice"
98892
+ [showLabel]="false"
98893
+ [defaultEditMode]="false"
98894
+ ></co-transaction-line-price>
98895
+ </div>
98896
+ </div>
98897
+ <div class="transaction-field-wrapper">
98898
+ <div class="inside-field">
98899
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
98900
+ @if (!preview) {
98901
+ <co-transaction-line-discount-button
98902
+ [screenConfigurationObject]="cfgNames.LineDiscount"
98903
+ [configNames]="discountConfigNames"
98904
+ ></co-transaction-line-discount-button>
98905
+ }
98906
+ </div>
98907
+ </div>
98908
+ <div class="transaction-field-wrapper">
98909
+ <div class="inside-field">
98910
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
98911
+ <co-transaction-line-amount class="amount-number-picker"
98912
+ [screenConfigurationObject]="cfgNames.LineAmount"
98913
+ ></co-transaction-line-amount>
98914
+ </div>
98915
+ </div>
98916
+ <div class="transaction-field-wrapper">
98917
+ <div class="inside-field">
98918
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
98919
+ <co-editable-label class="transaction-line-totals-total price"
98920
+ [model]="transactionLine.netLineTotal | coCurrency: true"
98921
+ [editModel]="transactionLine.netLineTotal"
98922
+ [readonly]="true"
98923
+ ></co-editable-label>
98924
+ </div>
98925
+ </div>
98926
+ </div>
98927
+ @if (expanded) {
98928
+ <div class="content-expanded">
98929
+ <div class="transaction-field-wrapper">
98930
+ <div class="inside-field">
98931
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
98932
+ <co-transaction-line-delivery-button
98933
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
98934
+ ></co-transaction-line-delivery-button>
98935
+ </div>
98936
+ </div>
98937
+ <div class="transaction-field-wrapper">
98938
+ <div class="inside-field">
98939
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
98940
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
98941
+ </div>
98942
+ </div>
98943
+ </div>
98944
+ }
98945
+ </div>
98946
+
98947
+ <co-transaction-card-footer
98948
+ [transactionTypeCategory]="category.SalesOrderInvoice"
98949
+ [expanded]="expanded"
98950
+ ></co-transaction-card-footer>
98951
+ </div>
98910
98952
  `,
98911
98953
  encapsulation: ViewEncapsulation.None,
98912
98954
  standalone: false
@@ -99004,248 +99046,248 @@ class TransactionCardPurchaseComponent extends TransactionPurchaseLineBaseCompon
99004
99046
  lineDiscountQuantum: this.cfgNames.LineDiscountQuantum
99005
99047
  };
99006
99048
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardPurchaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
99007
- 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: `
99008
- <div class="transaction-card-wrapper">
99009
- <co-transaction-card-header
99010
- [showActionButtons]="true"
99011
- [showCheckbox]="showCheckboxForLine && transactionInfo.transactionDefinitive"
99012
- [expanded]="expanded"
99013
- (expandClicked)="expanded = !expanded">
99014
- </co-transaction-card-header>
99015
- <div class="transaction-card-content-wrapper">
99016
- <div class="content-base top-base" [class.commission]="transactionLine.commissionCode === '0'">
99017
- <div class="transaction-field-wrapper status-bar">
99018
- <co-transaction-line-statusbar
99019
- [screenConfigurationObject]="cfgNames.StatusBar"
99020
- [configNames]="statusBarConfigNames"
99021
- [activeCategory]="category.SalesOrderPurchase"></co-transaction-line-statusbar>
99022
- </div>
99023
- <div class="transaction-field-wrapper">
99024
- <div class="inside-field">
99025
- <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
99026
- <co-transaction-line-supplier-button
99027
- [screenConfigurationObject]="cfgNames.LineSupplier"
99028
- [readonly]="hasPurchaseOrder"></co-transaction-line-supplier-button>
99029
- </div>
99030
- </div>
99031
- @if (transactionLine.commissionCode === '0') {
99032
- <div class="transaction-field-wrapper">
99033
- <div class="inside-field">
99034
- <co-transaction-navigation-button-list
99035
- class="transaction-field-wrapper medium"
99036
- [screenConfigurationObject]="cfgNames.LineRefTransactions"
99037
- [refTransactions]="transactionLine.refTransactionsPurchase"
99038
- [emptyLabel]="'NO_PURCHASE_ORDER' | localize"
99039
- [insideLabel]="'PURCHASE_ORDER'"
99040
- (transactionClick)="handleExistingOrderNavigation($event)"
99041
- [inputLabel]="true"
99042
- ></co-transaction-navigation-button-list>
99043
- </div>
99044
- </div>
99045
- }
99046
- <div class="transaction-field-wrapper">
99047
- <div class="inside-field">
99048
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
99049
- <co-transaction-line-warehouse-button
99050
- [screenConfigurationObject]="cfgNames.LineWarehouse"
99051
- ></co-transaction-line-warehouse-button>
99052
- </div>
99053
- </div>
99054
- </div>
99055
- <div class="content-base bottom-base">
99056
- <div class="transaction-field-wrapper">
99057
- <div class="inside-field">
99058
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
99059
- <co-editable-label class="transaction-card-price price"
99060
- [model]="transactionLine.price | coCurrency"
99061
- [readonly]="true"
99062
- ></co-editable-label>
99063
- </div>
99064
- </div>
99065
- <div class="transaction-field-wrapper">
99066
- <div class="inside-field">
99067
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
99068
- <co-transaction-line-amount class="amount-number-picker"
99069
- [screenConfigurationObject]="cfgNames.LineAmount"
99070
- ></co-transaction-line-amount>
99071
- </div>
99072
- </div>
99073
- <div class="transaction-field-wrapper">
99074
- <div class="inside-field">
99075
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
99076
- @if (!preview) {
99077
- <co-transaction-line-discount-button
99078
- [screenConfigurationObject]="cfgNames.LineDiscount"
99079
- [configNames]="discountConfigNames"
99080
- ></co-transaction-line-discount-button>
99081
- }
99082
- </div>
99083
- </div>
99084
- <div class="transaction-field-wrapper">
99085
- <div class="inside-field">
99086
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
99087
- <co-editable-label class="transaction-line-totals-total price"
99088
- [model]="transactionLine.netLineTotal | coCurrency"
99089
- [editModel]="transactionLine.netLineTotal"
99090
- [readonly]="true"
99091
- ></co-editable-label>
99092
- </div>
99093
- </div>
99094
- </div>
99095
- @if (expanded) {
99096
- <div class="content-expanded">
99097
- <div class="transaction-field-wrapper">
99098
- <div class="inside-field">
99099
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
99100
- <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
99101
- </div>
99102
- </div>
99103
- <div class="transaction-field-wrapper">
99104
- <div class="inside-field">
99105
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
99106
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
99107
- </div>
99108
- </div>
99109
- <div class="transaction-field-wrapper">
99110
- <div class="inside-field">
99111
- <co-transaction-line-drop-shipment-button
99112
- [screenConfigurationObject]="cfgNames.LineDropShipment"
99113
- [showLabel]="true"
99114
- [class.active]="transactionLine.dropShipment"></co-transaction-line-drop-shipment-button>
99115
- </div>
99116
- </div>
99117
- </div>
99118
- }
99119
- </div>
99120
- <co-transaction-card-footer
99121
- [transactionTypeCategory]="category.SalesOrderPurchase"
99122
- [expanded]="expanded"
99123
- ></co-transaction-card-footer>
99124
- </div>
99049
+ 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: `
99050
+ <div class="transaction-card-wrapper">
99051
+ <co-transaction-card-header
99052
+ [showActionButtons]="true"
99053
+ [showCheckbox]="showCheckboxForLine && transactionInfo.transactionDefinitive"
99054
+ [expanded]="expanded"
99055
+ (expandClicked)="expanded = !expanded">
99056
+ </co-transaction-card-header>
99057
+ <div class="transaction-card-content-wrapper">
99058
+ <div class="content-base top-base" [class.commission]="transactionLine.commissionCode === '0'">
99059
+ <div class="transaction-field-wrapper status-bar">
99060
+ <co-transaction-line-statusbar
99061
+ [screenConfigurationObject]="cfgNames.StatusBar"
99062
+ [configNames]="statusBarConfigNames"
99063
+ [activeCategory]="category.SalesOrderPurchase"></co-transaction-line-statusbar>
99064
+ </div>
99065
+ <div class="transaction-field-wrapper">
99066
+ <div class="inside-field">
99067
+ <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
99068
+ <co-transaction-line-supplier-button
99069
+ [screenConfigurationObject]="cfgNames.LineSupplier"
99070
+ [readonly]="hasPurchaseOrder"></co-transaction-line-supplier-button>
99071
+ </div>
99072
+ </div>
99073
+ @if (transactionLine.commissionCode === '0') {
99074
+ <div class="transaction-field-wrapper">
99075
+ <div class="inside-field">
99076
+ <co-transaction-navigation-button-list
99077
+ class="transaction-field-wrapper medium"
99078
+ [screenConfigurationObject]="cfgNames.LineRefTransactions"
99079
+ [refTransactions]="transactionLine.refTransactionsPurchase"
99080
+ [emptyLabel]="'NO_PURCHASE_ORDER' | localize"
99081
+ [insideLabel]="'PURCHASE_ORDER'"
99082
+ (transactionClick)="handleExistingOrderNavigation($event)"
99083
+ [inputLabel]="true"
99084
+ ></co-transaction-navigation-button-list>
99085
+ </div>
99086
+ </div>
99087
+ }
99088
+ <div class="transaction-field-wrapper">
99089
+ <div class="inside-field">
99090
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
99091
+ <co-transaction-line-warehouse-button
99092
+ [screenConfigurationObject]="cfgNames.LineWarehouse"
99093
+ ></co-transaction-line-warehouse-button>
99094
+ </div>
99095
+ </div>
99096
+ </div>
99097
+ <div class="content-base bottom-base">
99098
+ <div class="transaction-field-wrapper">
99099
+ <div class="inside-field">
99100
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
99101
+ <co-editable-label class="transaction-card-price price"
99102
+ [model]="transactionLine.price | coCurrency"
99103
+ [readonly]="true"
99104
+ ></co-editable-label>
99105
+ </div>
99106
+ </div>
99107
+ <div class="transaction-field-wrapper">
99108
+ <div class="inside-field">
99109
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
99110
+ <co-transaction-line-amount class="amount-number-picker"
99111
+ [screenConfigurationObject]="cfgNames.LineAmount"
99112
+ ></co-transaction-line-amount>
99113
+ </div>
99114
+ </div>
99115
+ <div class="transaction-field-wrapper">
99116
+ <div class="inside-field">
99117
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
99118
+ @if (!preview) {
99119
+ <co-transaction-line-discount-button
99120
+ [screenConfigurationObject]="cfgNames.LineDiscount"
99121
+ [configNames]="discountConfigNames"
99122
+ ></co-transaction-line-discount-button>
99123
+ }
99124
+ </div>
99125
+ </div>
99126
+ <div class="transaction-field-wrapper">
99127
+ <div class="inside-field">
99128
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
99129
+ <co-editable-label class="transaction-line-totals-total price"
99130
+ [model]="transactionLine.netLineTotal | coCurrency"
99131
+ [editModel]="transactionLine.netLineTotal"
99132
+ [readonly]="true"
99133
+ ></co-editable-label>
99134
+ </div>
99135
+ </div>
99136
+ </div>
99137
+ @if (expanded) {
99138
+ <div class="content-expanded">
99139
+ <div class="transaction-field-wrapper">
99140
+ <div class="inside-field">
99141
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
99142
+ <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
99143
+ </div>
99144
+ </div>
99145
+ <div class="transaction-field-wrapper">
99146
+ <div class="inside-field">
99147
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
99148
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
99149
+ </div>
99150
+ </div>
99151
+ <div class="transaction-field-wrapper">
99152
+ <div class="inside-field">
99153
+ <co-transaction-line-drop-shipment-button
99154
+ [screenConfigurationObject]="cfgNames.LineDropShipment"
99155
+ [showLabel]="true"
99156
+ [class.active]="transactionLine.dropShipment"></co-transaction-line-drop-shipment-button>
99157
+ </div>
99158
+ </div>
99159
+ </div>
99160
+ }
99161
+ </div>
99162
+ <co-transaction-card-footer
99163
+ [transactionTypeCategory]="category.SalesOrderPurchase"
99164
+ [expanded]="expanded"
99165
+ ></co-transaction-card-footer>
99166
+ </div>
99125
99167
  `, 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", "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 });
99126
99168
  }
99127
99169
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardPurchaseComponent, decorators: [{
99128
99170
  type: Component,
99129
99171
  args: [{
99130
99172
  selector: "co-transaction-card-purchase",
99131
- template: `
99132
- <div class="transaction-card-wrapper">
99133
- <co-transaction-card-header
99134
- [showActionButtons]="true"
99135
- [showCheckbox]="showCheckboxForLine && transactionInfo.transactionDefinitive"
99136
- [expanded]="expanded"
99137
- (expandClicked)="expanded = !expanded">
99138
- </co-transaction-card-header>
99139
- <div class="transaction-card-content-wrapper">
99140
- <div class="content-base top-base" [class.commission]="transactionLine.commissionCode === '0'">
99141
- <div class="transaction-field-wrapper status-bar">
99142
- <co-transaction-line-statusbar
99143
- [screenConfigurationObject]="cfgNames.StatusBar"
99144
- [configNames]="statusBarConfigNames"
99145
- [activeCategory]="category.SalesOrderPurchase"></co-transaction-line-statusbar>
99146
- </div>
99147
- <div class="transaction-field-wrapper">
99148
- <div class="inside-field">
99149
- <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
99150
- <co-transaction-line-supplier-button
99151
- [screenConfigurationObject]="cfgNames.LineSupplier"
99152
- [readonly]="hasPurchaseOrder"></co-transaction-line-supplier-button>
99153
- </div>
99154
- </div>
99155
- @if (transactionLine.commissionCode === '0') {
99156
- <div class="transaction-field-wrapper">
99157
- <div class="inside-field">
99158
- <co-transaction-navigation-button-list
99159
- class="transaction-field-wrapper medium"
99160
- [screenConfigurationObject]="cfgNames.LineRefTransactions"
99161
- [refTransactions]="transactionLine.refTransactionsPurchase"
99162
- [emptyLabel]="'NO_PURCHASE_ORDER' | localize"
99163
- [insideLabel]="'PURCHASE_ORDER'"
99164
- (transactionClick)="handleExistingOrderNavigation($event)"
99165
- [inputLabel]="true"
99166
- ></co-transaction-navigation-button-list>
99167
- </div>
99168
- </div>
99169
- }
99170
- <div class="transaction-field-wrapper">
99171
- <div class="inside-field">
99172
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
99173
- <co-transaction-line-warehouse-button
99174
- [screenConfigurationObject]="cfgNames.LineWarehouse"
99175
- ></co-transaction-line-warehouse-button>
99176
- </div>
99177
- </div>
99178
- </div>
99179
- <div class="content-base bottom-base">
99180
- <div class="transaction-field-wrapper">
99181
- <div class="inside-field">
99182
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
99183
- <co-editable-label class="transaction-card-price price"
99184
- [model]="transactionLine.price | coCurrency"
99185
- [readonly]="true"
99186
- ></co-editable-label>
99187
- </div>
99188
- </div>
99189
- <div class="transaction-field-wrapper">
99190
- <div class="inside-field">
99191
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
99192
- <co-transaction-line-amount class="amount-number-picker"
99193
- [screenConfigurationObject]="cfgNames.LineAmount"
99194
- ></co-transaction-line-amount>
99195
- </div>
99196
- </div>
99197
- <div class="transaction-field-wrapper">
99198
- <div class="inside-field">
99199
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
99200
- @if (!preview) {
99201
- <co-transaction-line-discount-button
99202
- [screenConfigurationObject]="cfgNames.LineDiscount"
99203
- [configNames]="discountConfigNames"
99204
- ></co-transaction-line-discount-button>
99205
- }
99206
- </div>
99207
- </div>
99208
- <div class="transaction-field-wrapper">
99209
- <div class="inside-field">
99210
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
99211
- <co-editable-label class="transaction-line-totals-total price"
99212
- [model]="transactionLine.netLineTotal | coCurrency"
99213
- [editModel]="transactionLine.netLineTotal"
99214
- [readonly]="true"
99215
- ></co-editable-label>
99216
- </div>
99217
- </div>
99218
- </div>
99219
- @if (expanded) {
99220
- <div class="content-expanded">
99221
- <div class="transaction-field-wrapper">
99222
- <div class="inside-field">
99223
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
99224
- <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
99225
- </div>
99226
- </div>
99227
- <div class="transaction-field-wrapper">
99228
- <div class="inside-field">
99229
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
99230
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
99231
- </div>
99232
- </div>
99233
- <div class="transaction-field-wrapper">
99234
- <div class="inside-field">
99235
- <co-transaction-line-drop-shipment-button
99236
- [screenConfigurationObject]="cfgNames.LineDropShipment"
99237
- [showLabel]="true"
99238
- [class.active]="transactionLine.dropShipment"></co-transaction-line-drop-shipment-button>
99239
- </div>
99240
- </div>
99241
- </div>
99242
- }
99243
- </div>
99244
- <co-transaction-card-footer
99245
- [transactionTypeCategory]="category.SalesOrderPurchase"
99246
- [expanded]="expanded"
99247
- ></co-transaction-card-footer>
99248
- </div>
99173
+ template: `
99174
+ <div class="transaction-card-wrapper">
99175
+ <co-transaction-card-header
99176
+ [showActionButtons]="true"
99177
+ [showCheckbox]="showCheckboxForLine && transactionInfo.transactionDefinitive"
99178
+ [expanded]="expanded"
99179
+ (expandClicked)="expanded = !expanded">
99180
+ </co-transaction-card-header>
99181
+ <div class="transaction-card-content-wrapper">
99182
+ <div class="content-base top-base" [class.commission]="transactionLine.commissionCode === '0'">
99183
+ <div class="transaction-field-wrapper status-bar">
99184
+ <co-transaction-line-statusbar
99185
+ [screenConfigurationObject]="cfgNames.StatusBar"
99186
+ [configNames]="statusBarConfigNames"
99187
+ [activeCategory]="category.SalesOrderPurchase"></co-transaction-line-statusbar>
99188
+ </div>
99189
+ <div class="transaction-field-wrapper">
99190
+ <div class="inside-field">
99191
+ <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
99192
+ <co-transaction-line-supplier-button
99193
+ [screenConfigurationObject]="cfgNames.LineSupplier"
99194
+ [readonly]="hasPurchaseOrder"></co-transaction-line-supplier-button>
99195
+ </div>
99196
+ </div>
99197
+ @if (transactionLine.commissionCode === '0') {
99198
+ <div class="transaction-field-wrapper">
99199
+ <div class="inside-field">
99200
+ <co-transaction-navigation-button-list
99201
+ class="transaction-field-wrapper medium"
99202
+ [screenConfigurationObject]="cfgNames.LineRefTransactions"
99203
+ [refTransactions]="transactionLine.refTransactionsPurchase"
99204
+ [emptyLabel]="'NO_PURCHASE_ORDER' | localize"
99205
+ [insideLabel]="'PURCHASE_ORDER'"
99206
+ (transactionClick)="handleExistingOrderNavigation($event)"
99207
+ [inputLabel]="true"
99208
+ ></co-transaction-navigation-button-list>
99209
+ </div>
99210
+ </div>
99211
+ }
99212
+ <div class="transaction-field-wrapper">
99213
+ <div class="inside-field">
99214
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
99215
+ <co-transaction-line-warehouse-button
99216
+ [screenConfigurationObject]="cfgNames.LineWarehouse"
99217
+ ></co-transaction-line-warehouse-button>
99218
+ </div>
99219
+ </div>
99220
+ </div>
99221
+ <div class="content-base bottom-base">
99222
+ <div class="transaction-field-wrapper">
99223
+ <div class="inside-field">
99224
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
99225
+ <co-editable-label class="transaction-card-price price"
99226
+ [model]="transactionLine.price | coCurrency"
99227
+ [readonly]="true"
99228
+ ></co-editable-label>
99229
+ </div>
99230
+ </div>
99231
+ <div class="transaction-field-wrapper">
99232
+ <div class="inside-field">
99233
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
99234
+ <co-transaction-line-amount class="amount-number-picker"
99235
+ [screenConfigurationObject]="cfgNames.LineAmount"
99236
+ ></co-transaction-line-amount>
99237
+ </div>
99238
+ </div>
99239
+ <div class="transaction-field-wrapper">
99240
+ <div class="inside-field">
99241
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
99242
+ @if (!preview) {
99243
+ <co-transaction-line-discount-button
99244
+ [screenConfigurationObject]="cfgNames.LineDiscount"
99245
+ [configNames]="discountConfigNames"
99246
+ ></co-transaction-line-discount-button>
99247
+ }
99248
+ </div>
99249
+ </div>
99250
+ <div class="transaction-field-wrapper">
99251
+ <div class="inside-field">
99252
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
99253
+ <co-editable-label class="transaction-line-totals-total price"
99254
+ [model]="transactionLine.netLineTotal | coCurrency"
99255
+ [editModel]="transactionLine.netLineTotal"
99256
+ [readonly]="true"
99257
+ ></co-editable-label>
99258
+ </div>
99259
+ </div>
99260
+ </div>
99261
+ @if (expanded) {
99262
+ <div class="content-expanded">
99263
+ <div class="transaction-field-wrapper">
99264
+ <div class="inside-field">
99265
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
99266
+ <co-transaction-line-delivery-button class="fit-content"></co-transaction-line-delivery-button>
99267
+ </div>
99268
+ </div>
99269
+ <div class="transaction-field-wrapper">
99270
+ <div class="inside-field">
99271
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
99272
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
99273
+ </div>
99274
+ </div>
99275
+ <div class="transaction-field-wrapper">
99276
+ <div class="inside-field">
99277
+ <co-transaction-line-drop-shipment-button
99278
+ [screenConfigurationObject]="cfgNames.LineDropShipment"
99279
+ [showLabel]="true"
99280
+ [class.active]="transactionLine.dropShipment"></co-transaction-line-drop-shipment-button>
99281
+ </div>
99282
+ </div>
99283
+ </div>
99284
+ }
99285
+ </div>
99286
+ <co-transaction-card-footer
99287
+ [transactionTypeCategory]="category.SalesOrderPurchase"
99288
+ [expanded]="expanded"
99289
+ ></co-transaction-card-footer>
99290
+ </div>
99249
99291
  `,
99250
99292
  encapsulation: ViewEncapsulation.None,
99251
99293
  standalone: false
@@ -99355,242 +99397,242 @@ class TransactionCardOrderDeliveryComponent extends TransactionOrderDeliveryLine
99355
99397
  statusBarGF: this.cfgNames.StatusBarGF
99356
99398
  };
99357
99399
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardOrderDeliveryComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
99358
- 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: `
99359
- <div class="transaction-card-wrapper">
99360
- <co-transaction-card-header
99361
- [showActionButtons]="true"
99362
- [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
99363
- [showThumbnail]="false"
99364
- [expanded]="expanded"
99365
- (checkboxValueChanged)="handleSelectCheckboxClick($event)"
99366
- (expandClicked)="expanded = !expanded"
99367
- >
99368
- <!--div class="transaction-line-totals-amount card-button" *ngIf="lineQuantityToDeliver !== 0 && transactionInfo.allowPartialDelivery">
99369
- <co-input-number-picker class="amount-number-picker"
99370
- [(model)]="transactionLine.amountSelected"
99371
- [decimals]="decimals"
99372
- [min]="!transactionInfo.allowPartialDelivery ? transactionLine.amount : 1"
99373
- [max]="transactionLine.amount"
99374
- [readonly]="readonly || !transactionInfo.allowPartialDelivery"
99375
- (modelChange)="updateSelectedQuantity()"
99376
- >
99377
- </co-input-number-picker>
99378
- </div>
99379
- <co-editable-label-- class="transaction-line-totals-total price card-button"
99380
- *ngIf="lineQuantityToDeliver === 0 || !transactionInfo.allowPartialDelivery"
99381
- [model]="lineQuantityToDeliver"
99382
- [readonly]="true"
99383
- ></co-editable-label-->
99384
- </co-transaction-card-header>
99385
- <div class="transaction-card-content-wrapper">
99386
- <div class="content-base top-base">
99387
- <div class="transaction-field-wrapper status-bar">
99388
- <co-transaction-line-statusbar
99389
- [screenConfigurationObject]="cfgNames.StatusBar"
99390
- [configNames]="statusBarConfigNames"
99391
- [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
99392
- </div>
99393
- <div class="transaction-field-wrapper">
99394
- <div class="inside-field">
99395
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
99396
- <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
99397
- </div>
99398
- </div>
99399
- <div class="transaction-field-wrapper">
99400
- <div class="inside-field">
99401
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
99402
- <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
99403
- </div>
99404
- </div>
99405
- </div>
99406
- <div class="content-base bottom-base">
99407
- <div class="transaction-field-wrapper">
99408
- <div class="inside-field">
99409
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
99410
- <co-transaction-line-price class="transaction-line-totals-price price"
99411
- [screenConfigurationObject]="cfgNames.LinePrice"
99412
- [showLabel]="false"
99413
- [defaultEditMode]="false"
99414
- ></co-transaction-line-price>
99415
- </div>
99416
- </div>
99417
- <div class="transaction-field-wrapper">
99418
- <div class="inside-field">
99419
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
99420
- @if (!preview) {
99421
- <co-transaction-line-discount-button
99422
- [screenConfigurationObject]="cfgNames.LineDiscount"
99423
- [configNames]="discountConfigNames"
99424
- ></co-transaction-line-discount-button>
99425
- }
99426
- </div>
99427
- </div>
99428
- <div class="transaction-field-wrapper">
99429
- <div class="inside-field">
99430
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
99431
- <co-transaction-line-amount class="amount-number-picker"
99432
- [screenConfigurationObject]="cfgNames.LineAmount"
99433
- ></co-transaction-line-amount>
99434
- </div>
99435
- </div>
99436
- <div class="transaction-field-wrapper">
99437
- <div class="inside-field">
99438
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
99439
- <co-editable-label class="transaction-line-totals-total price"
99440
- [model]="transactionLine.netLineTotal | coCurrency: true"
99441
- [editModel]="transactionLine.netLineTotal"
99442
- [readonly]="true"
99443
- ></co-editable-label>
99444
- </div>
99445
- </div>
99446
- </div>
99447
- @if (expanded) {
99448
- <div class="content-expanded">
99449
- <div class="transaction-field-wrapper">
99450
- <div class="inside-field">
99451
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
99452
- <co-transaction-line-delivery-button
99453
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
99454
- ></co-transaction-line-delivery-button>
99455
- </div>
99456
- </div>
99457
- <div class="transaction-field-wrapper">
99458
- <div class="inside-field">
99459
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
99460
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
99461
- </div>
99462
- </div>
99463
- </div>
99464
- }
99465
- </div>
99466
-
99467
- <co-transaction-card-footer
99468
- [statusBarConfigNames]="statusBarConfigNames"
99469
- [transactionTypeCategory]="category.SalesOrderDeliveryNote"
99470
- [expanded]="expanded"
99471
- ></co-transaction-card-footer>
99472
- </div>
99400
+ 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: `
99401
+ <div class="transaction-card-wrapper">
99402
+ <co-transaction-card-header
99403
+ [showActionButtons]="true"
99404
+ [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
99405
+ [showThumbnail]="false"
99406
+ [expanded]="expanded"
99407
+ (checkboxValueChanged)="handleSelectCheckboxClick($event)"
99408
+ (expandClicked)="expanded = !expanded"
99409
+ >
99410
+ <!--div class="transaction-line-totals-amount card-button" *ngIf="lineQuantityToDeliver !== 0 && transactionInfo.allowPartialDelivery">
99411
+ <co-input-number-picker class="amount-number-picker"
99412
+ [(model)]="transactionLine.amountSelected"
99413
+ [decimals]="decimals"
99414
+ [min]="!transactionInfo.allowPartialDelivery ? transactionLine.amount : 1"
99415
+ [max]="transactionLine.amount"
99416
+ [readonly]="readonly || !transactionInfo.allowPartialDelivery"
99417
+ (modelChange)="updateSelectedQuantity()"
99418
+ >
99419
+ </co-input-number-picker>
99420
+ </div>
99421
+ <co-editable-label-- class="transaction-line-totals-total price card-button"
99422
+ *ngIf="lineQuantityToDeliver === 0 || !transactionInfo.allowPartialDelivery"
99423
+ [model]="lineQuantityToDeliver"
99424
+ [readonly]="true"
99425
+ ></co-editable-label-->
99426
+ </co-transaction-card-header>
99427
+ <div class="transaction-card-content-wrapper">
99428
+ <div class="content-base top-base">
99429
+ <div class="transaction-field-wrapper status-bar">
99430
+ <co-transaction-line-statusbar
99431
+ [screenConfigurationObject]="cfgNames.StatusBar"
99432
+ [configNames]="statusBarConfigNames"
99433
+ [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
99434
+ </div>
99435
+ <div class="transaction-field-wrapper">
99436
+ <div class="inside-field">
99437
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
99438
+ <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
99439
+ </div>
99440
+ </div>
99441
+ <div class="transaction-field-wrapper">
99442
+ <div class="inside-field">
99443
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
99444
+ <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
99445
+ </div>
99446
+ </div>
99447
+ </div>
99448
+ <div class="content-base bottom-base">
99449
+ <div class="transaction-field-wrapper">
99450
+ <div class="inside-field">
99451
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
99452
+ <co-transaction-line-price class="transaction-line-totals-price price"
99453
+ [screenConfigurationObject]="cfgNames.LinePrice"
99454
+ [showLabel]="false"
99455
+ [defaultEditMode]="false"
99456
+ ></co-transaction-line-price>
99457
+ </div>
99458
+ </div>
99459
+ <div class="transaction-field-wrapper">
99460
+ <div class="inside-field">
99461
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
99462
+ @if (!preview) {
99463
+ <co-transaction-line-discount-button
99464
+ [screenConfigurationObject]="cfgNames.LineDiscount"
99465
+ [configNames]="discountConfigNames"
99466
+ ></co-transaction-line-discount-button>
99467
+ }
99468
+ </div>
99469
+ </div>
99470
+ <div class="transaction-field-wrapper">
99471
+ <div class="inside-field">
99472
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
99473
+ <co-transaction-line-amount class="amount-number-picker"
99474
+ [screenConfigurationObject]="cfgNames.LineAmount"
99475
+ ></co-transaction-line-amount>
99476
+ </div>
99477
+ </div>
99478
+ <div class="transaction-field-wrapper">
99479
+ <div class="inside-field">
99480
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
99481
+ <co-editable-label class="transaction-line-totals-total price"
99482
+ [model]="transactionLine.netLineTotal | coCurrency: true"
99483
+ [editModel]="transactionLine.netLineTotal"
99484
+ [readonly]="true"
99485
+ ></co-editable-label>
99486
+ </div>
99487
+ </div>
99488
+ </div>
99489
+ @if (expanded) {
99490
+ <div class="content-expanded">
99491
+ <div class="transaction-field-wrapper">
99492
+ <div class="inside-field">
99493
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
99494
+ <co-transaction-line-delivery-button
99495
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
99496
+ ></co-transaction-line-delivery-button>
99497
+ </div>
99498
+ </div>
99499
+ <div class="transaction-field-wrapper">
99500
+ <div class="inside-field">
99501
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
99502
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
99503
+ </div>
99504
+ </div>
99505
+ </div>
99506
+ }
99507
+ </div>
99508
+
99509
+ <co-transaction-card-footer
99510
+ [statusBarConfigNames]="statusBarConfigNames"
99511
+ [transactionTypeCategory]="category.SalesOrderDeliveryNote"
99512
+ [expanded]="expanded"
99513
+ ></co-transaction-card-footer>
99514
+ </div>
99473
99515
  `, 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 });
99474
99516
  }
99475
99517
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardOrderDeliveryComponent, decorators: [{
99476
99518
  type: Component,
99477
99519
  args: [{
99478
99520
  selector: "co-transaction-card-order-delivery",
99479
- template: `
99480
- <div class="transaction-card-wrapper">
99481
- <co-transaction-card-header
99482
- [showActionButtons]="true"
99483
- [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
99484
- [showThumbnail]="false"
99485
- [expanded]="expanded"
99486
- (checkboxValueChanged)="handleSelectCheckboxClick($event)"
99487
- (expandClicked)="expanded = !expanded"
99488
- >
99489
- <!--div class="transaction-line-totals-amount card-button" *ngIf="lineQuantityToDeliver !== 0 && transactionInfo.allowPartialDelivery">
99490
- <co-input-number-picker class="amount-number-picker"
99491
- [(model)]="transactionLine.amountSelected"
99492
- [decimals]="decimals"
99493
- [min]="!transactionInfo.allowPartialDelivery ? transactionLine.amount : 1"
99494
- [max]="transactionLine.amount"
99495
- [readonly]="readonly || !transactionInfo.allowPartialDelivery"
99496
- (modelChange)="updateSelectedQuantity()"
99497
- >
99498
- </co-input-number-picker>
99499
- </div>
99500
- <co-editable-label-- class="transaction-line-totals-total price card-button"
99501
- *ngIf="lineQuantityToDeliver === 0 || !transactionInfo.allowPartialDelivery"
99502
- [model]="lineQuantityToDeliver"
99503
- [readonly]="true"
99504
- ></co-editable-label-->
99505
- </co-transaction-card-header>
99506
- <div class="transaction-card-content-wrapper">
99507
- <div class="content-base top-base">
99508
- <div class="transaction-field-wrapper status-bar">
99509
- <co-transaction-line-statusbar
99510
- [screenConfigurationObject]="cfgNames.StatusBar"
99511
- [configNames]="statusBarConfigNames"
99512
- [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
99513
- </div>
99514
- <div class="transaction-field-wrapper">
99515
- <div class="inside-field">
99516
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
99517
- <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
99518
- </div>
99519
- </div>
99520
- <div class="transaction-field-wrapper">
99521
- <div class="inside-field">
99522
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
99523
- <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
99524
- </div>
99525
- </div>
99526
- </div>
99527
- <div class="content-base bottom-base">
99528
- <div class="transaction-field-wrapper">
99529
- <div class="inside-field">
99530
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
99531
- <co-transaction-line-price class="transaction-line-totals-price price"
99532
- [screenConfigurationObject]="cfgNames.LinePrice"
99533
- [showLabel]="false"
99534
- [defaultEditMode]="false"
99535
- ></co-transaction-line-price>
99536
- </div>
99537
- </div>
99538
- <div class="transaction-field-wrapper">
99539
- <div class="inside-field">
99540
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
99541
- @if (!preview) {
99542
- <co-transaction-line-discount-button
99543
- [screenConfigurationObject]="cfgNames.LineDiscount"
99544
- [configNames]="discountConfigNames"
99545
- ></co-transaction-line-discount-button>
99546
- }
99547
- </div>
99548
- </div>
99549
- <div class="transaction-field-wrapper">
99550
- <div class="inside-field">
99551
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
99552
- <co-transaction-line-amount class="amount-number-picker"
99553
- [screenConfigurationObject]="cfgNames.LineAmount"
99554
- ></co-transaction-line-amount>
99555
- </div>
99556
- </div>
99557
- <div class="transaction-field-wrapper">
99558
- <div class="inside-field">
99559
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
99560
- <co-editable-label class="transaction-line-totals-total price"
99561
- [model]="transactionLine.netLineTotal | coCurrency: true"
99562
- [editModel]="transactionLine.netLineTotal"
99563
- [readonly]="true"
99564
- ></co-editable-label>
99565
- </div>
99566
- </div>
99567
- </div>
99568
- @if (expanded) {
99569
- <div class="content-expanded">
99570
- <div class="transaction-field-wrapper">
99571
- <div class="inside-field">
99572
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
99573
- <co-transaction-line-delivery-button
99574
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
99575
- ></co-transaction-line-delivery-button>
99576
- </div>
99577
- </div>
99578
- <div class="transaction-field-wrapper">
99579
- <div class="inside-field">
99580
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
99581
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
99582
- </div>
99583
- </div>
99584
- </div>
99585
- }
99586
- </div>
99587
-
99588
- <co-transaction-card-footer
99589
- [statusBarConfigNames]="statusBarConfigNames"
99590
- [transactionTypeCategory]="category.SalesOrderDeliveryNote"
99591
- [expanded]="expanded"
99592
- ></co-transaction-card-footer>
99593
- </div>
99521
+ template: `
99522
+ <div class="transaction-card-wrapper">
99523
+ <co-transaction-card-header
99524
+ [showActionButtons]="true"
99525
+ [showCheckbox]="showCheckbox && transactionInfo.transactionDefinitive"
99526
+ [showThumbnail]="false"
99527
+ [expanded]="expanded"
99528
+ (checkboxValueChanged)="handleSelectCheckboxClick($event)"
99529
+ (expandClicked)="expanded = !expanded"
99530
+ >
99531
+ <!--div class="transaction-line-totals-amount card-button" *ngIf="lineQuantityToDeliver !== 0 && transactionInfo.allowPartialDelivery">
99532
+ <co-input-number-picker class="amount-number-picker"
99533
+ [(model)]="transactionLine.amountSelected"
99534
+ [decimals]="decimals"
99535
+ [min]="!transactionInfo.allowPartialDelivery ? transactionLine.amount : 1"
99536
+ [max]="transactionLine.amount"
99537
+ [readonly]="readonly || !transactionInfo.allowPartialDelivery"
99538
+ (modelChange)="updateSelectedQuantity()"
99539
+ >
99540
+ </co-input-number-picker>
99541
+ </div>
99542
+ <co-editable-label-- class="transaction-line-totals-total price card-button"
99543
+ *ngIf="lineQuantityToDeliver === 0 || !transactionInfo.allowPartialDelivery"
99544
+ [model]="lineQuantityToDeliver"
99545
+ [readonly]="true"
99546
+ ></co-editable-label-->
99547
+ </co-transaction-card-header>
99548
+ <div class="transaction-card-content-wrapper">
99549
+ <div class="content-base top-base">
99550
+ <div class="transaction-field-wrapper status-bar">
99551
+ <co-transaction-line-statusbar
99552
+ [screenConfigurationObject]="cfgNames.StatusBar"
99553
+ [configNames]="statusBarConfigNames"
99554
+ [activeCategory]="category.SalesOrderDeliveryNote"></co-transaction-line-statusbar>
99555
+ </div>
99556
+ <div class="transaction-field-wrapper">
99557
+ <div class="inside-field">
99558
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
99559
+ <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
99560
+ </div>
99561
+ </div>
99562
+ <div class="transaction-field-wrapper">
99563
+ <div class="inside-field">
99564
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
99565
+ <co-transaction-line-delivery-button></co-transaction-line-delivery-button>
99566
+ </div>
99567
+ </div>
99568
+ </div>
99569
+ <div class="content-base bottom-base">
99570
+ <div class="transaction-field-wrapper">
99571
+ <div class="inside-field">
99572
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
99573
+ <co-transaction-line-price class="transaction-line-totals-price price"
99574
+ [screenConfigurationObject]="cfgNames.LinePrice"
99575
+ [showLabel]="false"
99576
+ [defaultEditMode]="false"
99577
+ ></co-transaction-line-price>
99578
+ </div>
99579
+ </div>
99580
+ <div class="transaction-field-wrapper">
99581
+ <div class="inside-field">
99582
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
99583
+ @if (!preview) {
99584
+ <co-transaction-line-discount-button
99585
+ [screenConfigurationObject]="cfgNames.LineDiscount"
99586
+ [configNames]="discountConfigNames"
99587
+ ></co-transaction-line-discount-button>
99588
+ }
99589
+ </div>
99590
+ </div>
99591
+ <div class="transaction-field-wrapper">
99592
+ <div class="inside-field">
99593
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
99594
+ <co-transaction-line-amount class="amount-number-picker"
99595
+ [screenConfigurationObject]="cfgNames.LineAmount"
99596
+ ></co-transaction-line-amount>
99597
+ </div>
99598
+ </div>
99599
+ <div class="transaction-field-wrapper">
99600
+ <div class="inside-field">
99601
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
99602
+ <co-editable-label class="transaction-line-totals-total price"
99603
+ [model]="transactionLine.netLineTotal | coCurrency: true"
99604
+ [editModel]="transactionLine.netLineTotal"
99605
+ [readonly]="true"
99606
+ ></co-editable-label>
99607
+ </div>
99608
+ </div>
99609
+ </div>
99610
+ @if (expanded) {
99611
+ <div class="content-expanded">
99612
+ <div class="transaction-field-wrapper">
99613
+ <div class="inside-field">
99614
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
99615
+ <co-transaction-line-delivery-button
99616
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
99617
+ ></co-transaction-line-delivery-button>
99618
+ </div>
99619
+ </div>
99620
+ <div class="transaction-field-wrapper">
99621
+ <div class="inside-field">
99622
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
99623
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
99624
+ </div>
99625
+ </div>
99626
+ </div>
99627
+ }
99628
+ </div>
99629
+
99630
+ <co-transaction-card-footer
99631
+ [statusBarConfigNames]="statusBarConfigNames"
99632
+ [transactionTypeCategory]="category.SalesOrderDeliveryNote"
99633
+ [expanded]="expanded"
99634
+ ></co-transaction-card-footer>
99635
+ </div>
99594
99636
  `,
99595
99637
  encapsulation: ViewEncapsulation.None,
99596
99638
  standalone: false
@@ -101238,222 +101280,222 @@ class TransactionCardPlanningComponent extends TransactionLineBaseComponent {
101238
101280
  return this.transactionInfo?.allowPartialDelivery;
101239
101281
  }
101240
101282
  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 });
101241
- 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: `
101242
- <div class="transaction-card-wrapper"
101243
- [draggable]="lineNotPlanned(transactionLine)"
101244
- (dragstart)="dragStarted($event)">
101245
- <co-transaction-card-header
101246
- [showActionButtons]="true"
101247
- [showCheckbox]="lineNotPlanned(transactionLine)"
101248
- [expanded]="expanded" [selected]="selected"
101249
- (checkboxValueChanged)="selected = $event"
101250
- (expandClicked)="expanded = !expanded"
101251
- >
101252
- </co-transaction-card-header>
101253
- <div class="transaction-card-content-wrapper">
101254
- <div class="content-base top-base">
101255
- <div class="transaction-field-wrapper status-bar">
101256
- <co-transaction-line-statusbar
101257
- [screenConfigurationObject]="cfgNames.StatusBar"
101258
- [configNames]="statusBarConfigNames"
101259
- [activeCategory]="category.SalesOrderPlanning"></co-transaction-line-statusbar>
101260
- </div>
101261
- <div class="transaction-field-wrapper">
101262
- <div class="inside-field">
101263
- <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
101264
- <co-transaction-line-commission-button></co-transaction-line-commission-button>
101265
- </div>
101266
- </div>
101267
- <div class="transaction-field-wrapper">
101268
- <div class="inside-field">
101269
- <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
101270
- <co-transaction-line-supplier-button></co-transaction-line-supplier-button>
101271
- </div>
101272
- </div>
101273
- </div>
101274
- <div class="content-base bottom-base">
101275
- <div class="transaction-field-wrapper">
101276
- <div class="inside-field">
101277
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
101278
- <co-transaction-line-price class="transaction-line-totals-price price"
101279
- [screenConfigurationObject]="cfgNames.LinePrice"
101280
- [showLabel]="false"
101281
- [defaultEditMode]="false"
101282
- ></co-transaction-line-price>
101283
- </div>
101284
- </div>
101285
- <div class="transaction-field-wrapper">
101286
- <div class="inside-field">
101287
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
101288
- @if (!preview) {
101289
- <co-transaction-line-discount-button
101290
- [screenConfigurationObject]="cfgNames.LineDiscount"
101291
- [configNames]="discountConfigNames"
101292
- ></co-transaction-line-discount-button>
101293
- }
101294
- </div>
101295
- </div>
101296
- <div class="transaction-field-wrapper">
101297
- <div class="inside-field">
101298
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
101299
- <co-transaction-line-amount class="amount-number-picker"
101300
- [screenConfigurationObject]="cfgNames.LineAmount"
101301
- ></co-transaction-line-amount>
101302
- </div>
101303
- </div>
101304
- <div class="transaction-field-wrapper">
101305
- <div class="inside-field">
101306
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
101307
- <co-editable-label class="transaction-line-totals-total price"
101308
- [model]="transactionLine.netLineTotal | coCurrency: true"
101309
- [editModel]="transactionLine.netLineTotal"
101310
- [readonly]="true"
101311
- ></co-editable-label>
101312
- </div>
101313
- </div>
101314
- </div>
101315
- @if (expanded) {
101316
- <div class="content-expanded">
101317
- <div class="transaction-field-wrapper">
101318
- <div class="inside-field">
101319
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
101320
- <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
101321
- </div>
101322
- </div>
101323
- <div class="transaction-field-wrapper">
101324
- <div class="inside-field">
101325
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
101326
- <co-transaction-line-delivery-button
101327
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
101328
- ></co-transaction-line-delivery-button>
101329
- </div>
101330
- </div>
101331
- <div class="transaction-field-wrapper">
101332
- <div class="inside-field">
101333
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
101334
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
101335
- </div>
101336
- </div>
101337
- </div>
101338
- }
101339
- </div>
101340
-
101341
- <co-transaction-card-footer
101342
- [transactionTypeCategory]="category.SalesOrderOverview"
101343
- [expanded]="expanded"
101344
- ></co-transaction-card-footer>
101345
- </div>
101283
+ 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: `
101284
+ <div class="transaction-card-wrapper"
101285
+ [draggable]="lineNotPlanned(transactionLine)"
101286
+ (dragstart)="dragStarted($event)">
101287
+ <co-transaction-card-header
101288
+ [showActionButtons]="true"
101289
+ [showCheckbox]="lineNotPlanned(transactionLine)"
101290
+ [expanded]="expanded" [selected]="selected"
101291
+ (checkboxValueChanged)="selected = $event"
101292
+ (expandClicked)="expanded = !expanded"
101293
+ >
101294
+ </co-transaction-card-header>
101295
+ <div class="transaction-card-content-wrapper">
101296
+ <div class="content-base top-base">
101297
+ <div class="transaction-field-wrapper status-bar">
101298
+ <co-transaction-line-statusbar
101299
+ [screenConfigurationObject]="cfgNames.StatusBar"
101300
+ [configNames]="statusBarConfigNames"
101301
+ [activeCategory]="category.SalesOrderPlanning"></co-transaction-line-statusbar>
101302
+ </div>
101303
+ <div class="transaction-field-wrapper">
101304
+ <div class="inside-field">
101305
+ <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
101306
+ <co-transaction-line-commission-button></co-transaction-line-commission-button>
101307
+ </div>
101308
+ </div>
101309
+ <div class="transaction-field-wrapper">
101310
+ <div class="inside-field">
101311
+ <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
101312
+ <co-transaction-line-supplier-button></co-transaction-line-supplier-button>
101313
+ </div>
101314
+ </div>
101315
+ </div>
101316
+ <div class="content-base bottom-base">
101317
+ <div class="transaction-field-wrapper">
101318
+ <div class="inside-field">
101319
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
101320
+ <co-transaction-line-price class="transaction-line-totals-price price"
101321
+ [screenConfigurationObject]="cfgNames.LinePrice"
101322
+ [showLabel]="false"
101323
+ [defaultEditMode]="false"
101324
+ ></co-transaction-line-price>
101325
+ </div>
101326
+ </div>
101327
+ <div class="transaction-field-wrapper">
101328
+ <div class="inside-field">
101329
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
101330
+ @if (!preview) {
101331
+ <co-transaction-line-discount-button
101332
+ [screenConfigurationObject]="cfgNames.LineDiscount"
101333
+ [configNames]="discountConfigNames"
101334
+ ></co-transaction-line-discount-button>
101335
+ }
101336
+ </div>
101337
+ </div>
101338
+ <div class="transaction-field-wrapper">
101339
+ <div class="inside-field">
101340
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
101341
+ <co-transaction-line-amount class="amount-number-picker"
101342
+ [screenConfigurationObject]="cfgNames.LineAmount"
101343
+ ></co-transaction-line-amount>
101344
+ </div>
101345
+ </div>
101346
+ <div class="transaction-field-wrapper">
101347
+ <div class="inside-field">
101348
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
101349
+ <co-editable-label class="transaction-line-totals-total price"
101350
+ [model]="transactionLine.netLineTotal | coCurrency: true"
101351
+ [editModel]="transactionLine.netLineTotal"
101352
+ [readonly]="true"
101353
+ ></co-editable-label>
101354
+ </div>
101355
+ </div>
101356
+ </div>
101357
+ @if (expanded) {
101358
+ <div class="content-expanded">
101359
+ <div class="transaction-field-wrapper">
101360
+ <div class="inside-field">
101361
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
101362
+ <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
101363
+ </div>
101364
+ </div>
101365
+ <div class="transaction-field-wrapper">
101366
+ <div class="inside-field">
101367
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
101368
+ <co-transaction-line-delivery-button
101369
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
101370
+ ></co-transaction-line-delivery-button>
101371
+ </div>
101372
+ </div>
101373
+ <div class="transaction-field-wrapper">
101374
+ <div class="inside-field">
101375
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
101376
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
101377
+ </div>
101378
+ </div>
101379
+ </div>
101380
+ }
101381
+ </div>
101382
+
101383
+ <co-transaction-card-footer
101384
+ [transactionTypeCategory]="category.SalesOrderOverview"
101385
+ [expanded]="expanded"
101386
+ ></co-transaction-card-footer>
101387
+ </div>
101346
101388
  `, 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 });
101347
101389
  }
101348
101390
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCardPlanningComponent, decorators: [{
101349
101391
  type: Component,
101350
101392
  args: [{
101351
101393
  selector: "co-transaction-card-planning",
101352
- template: `
101353
- <div class="transaction-card-wrapper"
101354
- [draggable]="lineNotPlanned(transactionLine)"
101355
- (dragstart)="dragStarted($event)">
101356
- <co-transaction-card-header
101357
- [showActionButtons]="true"
101358
- [showCheckbox]="lineNotPlanned(transactionLine)"
101359
- [expanded]="expanded" [selected]="selected"
101360
- (checkboxValueChanged)="selected = $event"
101361
- (expandClicked)="expanded = !expanded"
101362
- >
101363
- </co-transaction-card-header>
101364
- <div class="transaction-card-content-wrapper">
101365
- <div class="content-base top-base">
101366
- <div class="transaction-field-wrapper status-bar">
101367
- <co-transaction-line-statusbar
101368
- [screenConfigurationObject]="cfgNames.StatusBar"
101369
- [configNames]="statusBarConfigNames"
101370
- [activeCategory]="category.SalesOrderPlanning"></co-transaction-line-statusbar>
101371
- </div>
101372
- <div class="transaction-field-wrapper">
101373
- <div class="inside-field">
101374
- <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
101375
- <co-transaction-line-commission-button></co-transaction-line-commission-button>
101376
- </div>
101377
- </div>
101378
- <div class="transaction-field-wrapper">
101379
- <div class="inside-field">
101380
- <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
101381
- <co-transaction-line-supplier-button></co-transaction-line-supplier-button>
101382
- </div>
101383
- </div>
101384
- </div>
101385
- <div class="content-base bottom-base">
101386
- <div class="transaction-field-wrapper">
101387
- <div class="inside-field">
101388
- <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
101389
- <co-transaction-line-price class="transaction-line-totals-price price"
101390
- [screenConfigurationObject]="cfgNames.LinePrice"
101391
- [showLabel]="false"
101392
- [defaultEditMode]="false"
101393
- ></co-transaction-line-price>
101394
- </div>
101395
- </div>
101396
- <div class="transaction-field-wrapper">
101397
- <div class="inside-field">
101398
- <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
101399
- @if (!preview) {
101400
- <co-transaction-line-discount-button
101401
- [screenConfigurationObject]="cfgNames.LineDiscount"
101402
- [configNames]="discountConfigNames"
101403
- ></co-transaction-line-discount-button>
101404
- }
101405
- </div>
101406
- </div>
101407
- <div class="transaction-field-wrapper">
101408
- <div class="inside-field">
101409
- <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
101410
- <co-transaction-line-amount class="amount-number-picker"
101411
- [screenConfigurationObject]="cfgNames.LineAmount"
101412
- ></co-transaction-line-amount>
101413
- </div>
101414
- </div>
101415
- <div class="transaction-field-wrapper">
101416
- <div class="inside-field">
101417
- <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
101418
- <co-editable-label class="transaction-line-totals-total price"
101419
- [model]="transactionLine.netLineTotal | coCurrency: true"
101420
- [editModel]="transactionLine.netLineTotal"
101421
- [readonly]="true"
101422
- ></co-editable-label>
101423
- </div>
101424
- </div>
101425
- </div>
101426
- @if (expanded) {
101427
- <div class="content-expanded">
101428
- <div class="transaction-field-wrapper">
101429
- <div class="inside-field">
101430
- <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
101431
- <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
101432
- </div>
101433
- </div>
101434
- <div class="transaction-field-wrapper">
101435
- <div class="inside-field">
101436
- <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
101437
- <co-transaction-line-delivery-button
101438
- [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
101439
- ></co-transaction-line-delivery-button>
101440
- </div>
101441
- </div>
101442
- <div class="transaction-field-wrapper">
101443
- <div class="inside-field">
101444
- <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
101445
- <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
101446
- </div>
101447
- </div>
101448
- </div>
101449
- }
101450
- </div>
101451
-
101452
- <co-transaction-card-footer
101453
- [transactionTypeCategory]="category.SalesOrderOverview"
101454
- [expanded]="expanded"
101455
- ></co-transaction-card-footer>
101456
- </div>
101394
+ template: `
101395
+ <div class="transaction-card-wrapper"
101396
+ [draggable]="lineNotPlanned(transactionLine)"
101397
+ (dragstart)="dragStarted($event)">
101398
+ <co-transaction-card-header
101399
+ [showActionButtons]="true"
101400
+ [showCheckbox]="lineNotPlanned(transactionLine)"
101401
+ [expanded]="expanded" [selected]="selected"
101402
+ (checkboxValueChanged)="selected = $event"
101403
+ (expandClicked)="expanded = !expanded"
101404
+ >
101405
+ </co-transaction-card-header>
101406
+ <div class="transaction-card-content-wrapper">
101407
+ <div class="content-base top-base">
101408
+ <div class="transaction-field-wrapper status-bar">
101409
+ <co-transaction-line-statusbar
101410
+ [screenConfigurationObject]="cfgNames.StatusBar"
101411
+ [configNames]="statusBarConfigNames"
101412
+ [activeCategory]="category.SalesOrderPlanning"></co-transaction-line-statusbar>
101413
+ </div>
101414
+ <div class="transaction-field-wrapper">
101415
+ <div class="inside-field">
101416
+ <co-transaction-line-label [insideLabel]="'COMMISSION_CODE'"></co-transaction-line-label>
101417
+ <co-transaction-line-commission-button></co-transaction-line-commission-button>
101418
+ </div>
101419
+ </div>
101420
+ <div class="transaction-field-wrapper">
101421
+ <div class="inside-field">
101422
+ <co-transaction-line-label [insideLabel]="'SUPPLIER'"></co-transaction-line-label>
101423
+ <co-transaction-line-supplier-button></co-transaction-line-supplier-button>
101424
+ </div>
101425
+ </div>
101426
+ </div>
101427
+ <div class="content-base bottom-base">
101428
+ <div class="transaction-field-wrapper">
101429
+ <div class="inside-field">
101430
+ <co-transaction-line-label [insideLabel]="'PRICE'"></co-transaction-line-label>
101431
+ <co-transaction-line-price class="transaction-line-totals-price price"
101432
+ [screenConfigurationObject]="cfgNames.LinePrice"
101433
+ [showLabel]="false"
101434
+ [defaultEditMode]="false"
101435
+ ></co-transaction-line-price>
101436
+ </div>
101437
+ </div>
101438
+ <div class="transaction-field-wrapper">
101439
+ <div class="inside-field">
101440
+ <co-transaction-line-label [insideLabel]="'DISCOUNT'"></co-transaction-line-label>
101441
+ @if (!preview) {
101442
+ <co-transaction-line-discount-button
101443
+ [screenConfigurationObject]="cfgNames.LineDiscount"
101444
+ [configNames]="discountConfigNames"
101445
+ ></co-transaction-line-discount-button>
101446
+ }
101447
+ </div>
101448
+ </div>
101449
+ <div class="transaction-field-wrapper">
101450
+ <div class="inside-field">
101451
+ <co-transaction-line-label [insideLabel]="'QUANTITY'"></co-transaction-line-label>
101452
+ <co-transaction-line-amount class="amount-number-picker"
101453
+ [screenConfigurationObject]="cfgNames.LineAmount"
101454
+ ></co-transaction-line-amount>
101455
+ </div>
101456
+ </div>
101457
+ <div class="transaction-field-wrapper">
101458
+ <div class="inside-field">
101459
+ <co-transaction-line-label [insideLabel]="'TOTAL'"></co-transaction-line-label>
101460
+ <co-editable-label class="transaction-line-totals-total price"
101461
+ [model]="transactionLine.netLineTotal | coCurrency: true"
101462
+ [editModel]="transactionLine.netLineTotal"
101463
+ [readonly]="true"
101464
+ ></co-editable-label>
101465
+ </div>
101466
+ </div>
101467
+ </div>
101468
+ @if (expanded) {
101469
+ <div class="content-expanded">
101470
+ <div class="transaction-field-wrapper">
101471
+ <div class="inside-field">
101472
+ <co-transaction-line-label [insideLabel]="'WAREHOUSE'"></co-transaction-line-label>
101473
+ <co-transaction-line-warehouse-button></co-transaction-line-warehouse-button>
101474
+ </div>
101475
+ </div>
101476
+ <div class="transaction-field-wrapper">
101477
+ <div class="inside-field">
101478
+ <co-transaction-line-label [insideLabel]="'DELIVERY_METHOD'"></co-transaction-line-label>
101479
+ <co-transaction-line-delivery-button
101480
+ [screenConfigurationObject]="cfgNames.LineDeliveryMethod"
101481
+ ></co-transaction-line-delivery-button>
101482
+ </div>
101483
+ </div>
101484
+ <div class="transaction-field-wrapper">
101485
+ <div class="inside-field">
101486
+ <co-transaction-line-label [insideLabel]="'DELIVERY_DATE'"></co-transaction-line-label>
101487
+ <co-transaction-line-delivery-date-button></co-transaction-line-delivery-date-button>
101488
+ </div>
101489
+ </div>
101490
+ </div>
101491
+ }
101492
+ </div>
101493
+
101494
+ <co-transaction-card-footer
101495
+ [transactionTypeCategory]="category.SalesOrderOverview"
101496
+ [expanded]="expanded"
101497
+ ></co-transaction-card-footer>
101498
+ </div>
101457
101499
  `,
101458
101500
  encapsulation: ViewEncapsulation.None,
101459
101501
  standalone: false