@colijnit/transaction 262.1.28 → 262.1.30

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 (21) hide show
  1. package/fesm2022/colijnit-transaction.mjs +3137 -2679
  2. package/fesm2022/colijnit-transaction.mjs.map +1 -1
  3. package/index.d.ts +64 -12
  4. package/lib/component/core/base/components/voucher-code-pending-reason-dialog/style/_material-definition.scss +1 -1
  5. package/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/style/_layout.scss +24 -5
  6. package/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/style/_material-definition.scss +8 -2
  7. package/lib/component/transaction-header/transaction-header-popup/style/_layout.scss +7 -0
  8. package/lib/component/transaction-line-interbranch-receive-goods/style/_layout.scss +78 -78
  9. package/lib/component/transaction-line-interbranch-receive-goods/style/_material-definition.scss +2 -2
  10. package/lib/component/transaction-line-interbranch-receive-goods/style/_theme.scss +4 -4
  11. package/lib/component/transaction-line-interbranch-receive-goods/style/material.scss +4 -4
  12. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_layout.scss +27 -27
  13. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_material-definition.scss +1 -1
  14. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_theme.scss +4 -4
  15. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/material.scss +4 -4
  16. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_layout.scss +73 -73
  17. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_theme.scss +6 -6
  18. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/material.scss +4 -4
  19. package/lib/component/transaction-search/transaction-search-tile/transaction-invoice-check-order-tile/style/_layout.scss +20 -8
  20. package/lib/component/transaction-search/transaction-search-tile/transaction-invoice-check-order-tile/style/_material-definition.scss +11 -0
  21. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -1163,6 +1163,7 @@ declare class TransactionConnectorAdapterService {
1163
1163
  changeTransactionLineGoodDescription(uuid: string, lineUuid: string, goodDescription: string): Promise<TransactionInfoResponse>;
1164
1164
  changeHeaderTransactionDefinitive(uuid: string, definitive: boolean): Promise<TransactionInfoResponse>;
1165
1165
  changeHeaderDiscountOnOrderLine(uuid: string, discount: boolean): Promise<TransactionInfoResponse>;
1166
+ changeHeaderPrintDiscount(uuid: string, discount: boolean): Promise<TransactionInfoResponse>;
1166
1167
  changeHeaderDeliveryAddress(uuid: string, newNawNr: number): Promise<TransactionInfoResponse>;
1167
1168
  changeHeaderInvoiceAddress(uuid: string, newNawNr: number): Promise<TransactionInfoResponse>;
1168
1169
  changeHeaderRelationTransactionDate(request: ChangeHeaderRelationTransactionDateRequest): Promise<TransactionInfoResponse>;
@@ -1674,6 +1675,7 @@ declare class TransactionConnectorService {
1674
1675
  changeTransactionLineCollectionCode(uuid: string, lineUuid: string, code: string): Promise<TransactionInfoResponse>;
1675
1676
  changeHeaderTransactionDefinitive(uuid: string, definitive: boolean): Promise<TransactionInfoResponse>;
1676
1677
  changeHeaderDiscountOnOrderLine(uuid: string, discount: boolean): Promise<TransactionInfoResponse>;
1678
+ changeHeaderPrintDiscount(uuid: string, discount: boolean): Promise<TransactionInfoResponse>;
1677
1679
  changeHeaderDeliveryAddress(uuid: string, newNawNr: number): Promise<TransactionInfoResponse>;
1678
1680
  changeHeaderInvoiceAddress(uuid: string, newNawNr: number): Promise<TransactionInfoResponse>;
1679
1681
  changeHeaderRelationTransactionDate(request: ChangeHeaderRelationTransactionDateRequest): Promise<TransactionInfoResponse>;
@@ -2325,6 +2327,7 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
2325
2327
  internalParameterSellDirectlyFromSupp: boolean;
2326
2328
  internalParameterStockMutBeforeDelivery: boolean;
2327
2329
  printColliStickerDefault: boolean;
2330
+ internalPlanDaysParam: number;
2328
2331
  contactPersonId: number;
2329
2332
  firstDayOfWeek: string;
2330
2333
  articleAmountChange: BehaviorSubject<number>;
@@ -2366,6 +2369,7 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
2366
2369
  logisticsButtonVisible: () => Promise<boolean>;
2367
2370
  prepareDropShipmentInternalParam(): void;
2368
2371
  prepareReceiveGoodsWithDataTerminalInternalParam(): void;
2372
+ prepareInternalPlanDaysParam(): Promise<void>;
2369
2373
  preparePrintColliStickerDefault(): void;
2370
2374
  getInternalParameter(param: InternalParam): Promise<boolean>;
2371
2375
  getCashLimitValue(param: InternalParam): Promise<number>;
@@ -2460,6 +2464,7 @@ declare class TransactionService extends PendingReasonService {
2460
2464
  cancelCashRegisterOrder(): Promise<void>;
2461
2465
  updateHeaderTransactionDefinitive(uuid: string, definitive: boolean, saveTransaction: boolean): Promise<boolean>;
2462
2466
  updateHeaderDiscountOnOrderLine(uuid: string, discount: boolean, saveTransaction: boolean): Promise<boolean>;
2467
+ changeHeaderPrintDiscount(uuid: string, discount: boolean, saveTransaction: boolean): Promise<boolean>;
2463
2468
  updateHeaderDeliveryAddress(uuid: string, newNawNr: number, saveTransaction?: boolean): Promise<boolean>;
2464
2469
  updateHeaderInvoiceAddress(uuid: string, newNawNr: number, saveTransaction?: boolean): Promise<boolean>;
2465
2470
  updateHeaderTransactionDeliveryDate(uuid: string, date: Date, saveTransaction: boolean): Promise<boolean>;
@@ -3034,6 +3039,7 @@ declare class TransactionHeaderService {
3034
3039
  fullyInvoiced: boolean;
3035
3040
  partiallyOrFullyInvoiced: boolean;
3036
3041
  fullyDelivered: boolean;
3042
+ partiallyOrFullyDelivered: boolean;
3037
3043
  partiallyOrFullyOrdered: boolean;
3038
3044
  partiallyOrFullyInvoiceControl: boolean;
3039
3045
  partiallyOrFullyReceived: boolean;
@@ -3065,7 +3071,8 @@ declare class TransactionHeaderService {
3065
3071
  private _relation;
3066
3072
  private _readOnly;
3067
3073
  constructor(_transactionService: TransactionService, _relationService: TransactionRelationService, _transactionPaymentConnectorService: TransactionPaymentConnectorService, _dictionaryService: DictionaryService, _transactionEventService: TransactionEventService);
3068
- canAlterRelationForTransaction(): boolean;
3074
+ canChangeRelationOnTransaction(): boolean;
3075
+ canAlterRelationDataOnTransaction(): boolean;
3069
3076
  getTransactionMargeInfoList(): Promise<void>;
3070
3077
  createCloneRelation(): void;
3071
3078
  getPlanOrder(): Promise<PlanOrder>;
@@ -4128,6 +4135,7 @@ declare enum TransactionCfgName {
4128
4135
  LineNetLineTotal = "lineNetLineTotal",
4129
4136
  LinePurchasePrice = "linePurchasePrice",
4130
4137
  LinePurchaseDescription = "linePurchaseDescription",
4138
+ LineExpectedDeliveryDateCP = "lineExpectedDeliveryDateCP",
4131
4139
  LineSupplier = "lineSupplier",
4132
4140
  LineRefTransactions = "lineRefTransactions",
4133
4141
  LineConfirmedDeliveryDate = "lineConfirmedDeliveryDate",
@@ -4982,6 +4990,7 @@ declare class TransactionOverviewLineComponent extends TransactionLineBaseCompon
4982
4990
  showClass(): boolean;
4983
4991
  stock: StockStatus;
4984
4992
  noLabel: boolean;
4993
+ showEstimatedDeliveryDate: boolean;
4985
4994
  statusBarConfigNames: StatusBarCfgNames;
4986
4995
  discountConfigNames: LineDiscountCfgNames;
4987
4996
  private _subs;
@@ -6048,6 +6057,7 @@ declare class TransactionHeaderPopupRelationComponent extends TransactionHeaderP
6048
6057
  showMessageForChangeCustomer: boolean;
6049
6058
  showInvoiceAddress: boolean;
6050
6059
  noLockOnCustomerSet: boolean;
6060
+ showChangeOptionWhenCustomerReadonly: boolean;
6051
6061
  inputChangeForSuggestions: EventEmitter<RelationSuggestionsRequest>;
6052
6062
  changeCustomerRequested: EventEmitter<void>;
6053
6063
  deliveryAddressLocalHashChange: EventEmitter<string>;
@@ -6089,11 +6099,10 @@ declare class TransactionHeaderPopupRelationComponent extends TransactionHeaderP
6089
6099
  handleNavigationClick(nav: string): void;
6090
6100
  handleChangeCustomGroup(group: string): void;
6091
6101
  navigateToRelation(): void;
6092
- private _isAllowedToChangeRelation;
6093
6102
  private _setFirstAddress;
6094
6103
  private _lockRelation;
6095
6104
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderPopupRelationComponent, never>;
6096
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderPopupRelationComponent, "co-transaction-header-popup-relation", never, { "configNames": { "alias": "configNames"; "required": false; }; "showPrivacy": { "alias": "showPrivacy"; "required": false; }; "showMessageForChangeCustomer": { "alias": "showMessageForChangeCustomer"; "required": false; }; "showInvoiceAddress": { "alias": "showInvoiceAddress"; "required": false; }; "noLockOnCustomerSet": { "alias": "noLockOnCustomerSet"; "required": false; }; }, { "inputChangeForSuggestions": "inputChangeForSuggestions"; "changeCustomerRequested": "changeCustomerRequested"; "deliveryAddressLocalHashChange": "deliveryAddressLocalHashChange"; "invoiceAddressLocalHashChange": "invoiceAddressLocalHashChange"; }, never, never, false, never>;
6105
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderPopupRelationComponent, "co-transaction-header-popup-relation", never, { "configNames": { "alias": "configNames"; "required": false; }; "showPrivacy": { "alias": "showPrivacy"; "required": false; }; "showMessageForChangeCustomer": { "alias": "showMessageForChangeCustomer"; "required": false; }; "showInvoiceAddress": { "alias": "showInvoiceAddress"; "required": false; }; "noLockOnCustomerSet": { "alias": "noLockOnCustomerSet"; "required": false; }; "showChangeOptionWhenCustomerReadonly": { "alias": "showChangeOptionWhenCustomerReadonly"; "required": false; }; }, { "inputChangeForSuggestions": "inputChangeForSuggestions"; "changeCustomerRequested": "changeCustomerRequested"; "deliveryAddressLocalHashChange": "deliveryAddressLocalHashChange"; "invoiceAddressLocalHashChange": "invoiceAddressLocalHashChange"; }, never, never, false, never>;
6097
6106
  }
6098
6107
 
6099
6108
  declare abstract class TransactionFilterPopupHeaderBaseComponent<T extends BusinessObject | number | string | Object> extends TransactionHeaderBaseComponent {
@@ -8162,9 +8171,42 @@ declare class TransactionNavigationButtonListModule {
8162
8171
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionNavigationButtonListModule>;
8163
8172
  }
8164
8173
 
8174
+ declare class TransactionLineExpectedDeliveryDateButtonComponent extends TransactionLineBaseComponent implements OnInit, OnDestroy {
8175
+ transactionHeaderService: TransactionHeaderService;
8176
+ transactionLineService: TransactionLineService;
8177
+ transactionEventService: TransactionEventService;
8178
+ service: TransactionService;
8179
+ iconCacheService: IconCacheService;
8180
+ transactionScreenConfigurationService: TransactionScreenConfigurationService;
8181
+ protected dictionaryService: DictionaryService;
8182
+ protected imageService: TransactionImageService;
8183
+ protected changeDetector: ChangeDetectorRef;
8184
+ readonly icons: typeof Icon;
8185
+ parentComponent: ElementRef;
8186
+ showClass(): boolean;
8187
+ inputLabel: boolean;
8188
+ showConfirmedDeliveryDateChange: EventEmitter<boolean>;
8189
+ expectedDeliveryDate: Date;
8190
+ private _handled;
8191
+ constructor(transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef);
8192
+ ngOnInit(): void;
8193
+ ngOnDestroy(): void;
8194
+ protected transactionInfoSet(): void;
8195
+ protected transactionLineSet(): void;
8196
+ private _checkConfirmedDeliveryDate;
8197
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineExpectedDeliveryDateButtonComponent, never>;
8198
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineExpectedDeliveryDateButtonComponent, "co-transaction-line-expected-delivery-date-button", never, { "inputLabel": { "alias": "inputLabel"; "required": false; }; }, { "showConfirmedDeliveryDateChange": "showConfirmedDeliveryDateChange"; }, never, never, false, never>;
8199
+ }
8200
+
8201
+ declare class TransactionLineExpectedDeliveryDateButtonModule {
8202
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineExpectedDeliveryDateButtonModule, never>;
8203
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineExpectedDeliveryDateButtonModule, [typeof TransactionLineExpectedDeliveryDateButtonComponent], [typeof i2.CommonModule, typeof TransactionButtonModule, typeof TransactionLineLabelModule, typeof PipeModule], [typeof TransactionLineExpectedDeliveryDateButtonComponent]>;
8204
+ static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineExpectedDeliveryDateButtonModule>;
8205
+ }
8206
+
8165
8207
  declare class TransactionOverviewLineModule {
8166
8208
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionOverviewLineModule, never>;
8167
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionOverviewLineModule, [typeof TransactionOverviewLineComponent], [typeof i2.CommonModule, typeof CoreModule, typeof i3.ButtonModule, typeof i3.InputNumberPickerModule, typeof TransactionArticleTextModule, typeof TransactionArticleTextOverviewModule, typeof PipeModule, typeof TransactionLineActionButtonsModule, typeof i3.IconModule, typeof EditableLabelModule, typeof TransactionLinePriceModule, typeof TransactionLineDescriptionModule, typeof TransactionBaseLineModule, typeof i13.DragDropModule, typeof TransactionLineCommissionButtonModule, typeof TransactionLineWarehouseButtonModule, typeof TransactionLineDeliveryButtonModule, typeof TransactionLineDeliveryDateButtonModule, typeof DialogTransactionLineVatModule, typeof DialogTransactionLineDiscountModule, typeof TransactionLineStatusbarModule, typeof TransactionLineAmountModule, typeof TransactionLineVatButtonModule, typeof TransactionLineDiscountButtonModule, typeof TransactionLineDeliveryDateModule, typeof TransactionMarginInfoLineModule, typeof i3.ObserveVisibilityModule, typeof i3.ScreenConfigurationModule, typeof TransactionLineLabelModule, typeof TransactionLineDirectSellButtonModule, typeof TransactionNavigationButtonListModule], [typeof TransactionOverviewLineComponent]>;
8209
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionOverviewLineModule, [typeof TransactionOverviewLineComponent], [typeof i2.CommonModule, typeof CoreModule, typeof i3.ButtonModule, typeof i3.InputNumberPickerModule, typeof TransactionArticleTextModule, typeof TransactionArticleTextOverviewModule, typeof PipeModule, typeof TransactionLineActionButtonsModule, typeof i3.IconModule, typeof EditableLabelModule, typeof TransactionLinePriceModule, typeof TransactionLineDescriptionModule, typeof TransactionBaseLineModule, typeof i13.DragDropModule, typeof TransactionLineCommissionButtonModule, typeof TransactionLineWarehouseButtonModule, typeof TransactionLineDeliveryButtonModule, typeof TransactionLineDeliveryDateButtonModule, typeof DialogTransactionLineVatModule, typeof DialogTransactionLineDiscountModule, typeof TransactionLineStatusbarModule, typeof TransactionLineAmountModule, typeof TransactionLineVatButtonModule, typeof TransactionLineDiscountButtonModule, typeof TransactionLineDeliveryDateModule, typeof TransactionMarginInfoLineModule, typeof i3.ObserveVisibilityModule, typeof i3.ScreenConfigurationModule, typeof TransactionLineLabelModule, typeof TransactionLineDirectSellButtonModule, typeof TransactionNavigationButtonListModule, typeof TransactionLineExpectedDeliveryDateButtonModule], [typeof TransactionOverviewLineComponent]>;
8168
8210
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionOverviewLineModule>;
8169
8211
  }
8170
8212
 
@@ -9929,7 +9971,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
9929
9971
  showCategories: boolean;
9930
9972
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
9931
9973
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
9932
- currentTitle(): "MARGINS" | "OVERVIEW";
9974
+ currentTitle(): "OVERVIEW" | "MARGINS";
9933
9975
  ngOnDestroy(): void;
9934
9976
  handleClickWrapper(event: MouseEvent): void;
9935
9977
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -9955,7 +9997,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
9955
9997
  constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
9956
9998
  ngOnDestroy(): void;
9957
9999
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
9958
- currentTitle(): "MARGINS" | "OVERVIEW";
10000
+ currentTitle(): "OVERVIEW" | "MARGINS";
9959
10001
  handleClickWrapper(event: MouseEvent): void;
9960
10002
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
9961
10003
  private handleDocumentClick;
@@ -10007,7 +10049,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
10007
10049
  showCategories: boolean;
10008
10050
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
10009
10051
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10010
- currentTitle(): "MARGINS" | "OVERVIEW";
10052
+ currentTitle(): "OVERVIEW" | "MARGINS";
10011
10053
  ngOnDestroy(): void;
10012
10054
  handleClickWrapper(event: MouseEvent): void;
10013
10055
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -13527,6 +13569,7 @@ declare class DialogTransactionHeaderDiscountComponent extends DialogTransaction
13527
13569
  showDiscountCode: boolean;
13528
13570
  showDistributeDiscountLoader: boolean;
13529
13571
  canEditDiscountPercentage: boolean;
13572
+ editingDiscounts: boolean;
13530
13573
  activeDiscountReason: string;
13531
13574
  activeDiscountCode: string;
13532
13575
  activeDiscountType: DiscountType;
@@ -13537,6 +13580,8 @@ declare class DialogTransactionHeaderDiscountComponent extends DialogTransaction
13537
13580
  newDiscountReason: string;
13538
13581
  }): void;
13539
13582
  onDiscountPercentChange(event: MouseEvent): void;
13583
+ onEditDone(): void;
13584
+ onFocus(event: boolean): void;
13540
13585
  redistributeDiscount(): Promise<void>;
13541
13586
  private _detectChanges;
13542
13587
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogTransactionHeaderDiscountComponent, never>;
@@ -13547,10 +13592,13 @@ declare class TransactionHeaderDiscountPercentageComponent extends TransactionIn
13547
13592
  set child(content: any);
13548
13593
  newDiscountReason: string;
13549
13594
  newDiscountCode: string;
13595
+ EditDone: EventEmitter<void>;
13596
+ onFocus: EventEmitter<boolean>;
13550
13597
  input: InputTextComponent;
13598
+ onBlur(): void;
13551
13599
  commit(amount: number): Promise<boolean>;
13552
13600
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderDiscountPercentageComponent, never>;
13553
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderDiscountPercentageComponent, "co-transaction-header-discount-percentage", never, { "newDiscountReason": { "alias": "newDiscountReason"; "required": false; }; "newDiscountCode": { "alias": "newDiscountCode"; "required": false; }; }, {}, never, never, false, never>;
13601
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderDiscountPercentageComponent, "co-transaction-header-discount-percentage", never, { "newDiscountReason": { "alias": "newDiscountReason"; "required": false; }; "newDiscountCode": { "alias": "newDiscountCode"; "required": false; }; }, { "EditDone": "EditDone"; "onFocus": "onFocus"; }, never, never, false, never>;
13554
13602
  }
13555
13603
 
13556
13604
  declare class TransactionHeaderDiscountPercentageModule {
@@ -13563,10 +13611,13 @@ declare class TransactionHeaderDiscountAmountComponent extends TransactionInputH
13563
13611
  set child(content: any);
13564
13612
  newDiscountReason: string;
13565
13613
  newDiscountCode: string;
13614
+ EditDone: EventEmitter<void>;
13615
+ onFocus: EventEmitter<boolean>;
13566
13616
  input: InputTextComponent;
13617
+ onBlur(): void;
13567
13618
  commit(amount: number): Promise<boolean>;
13568
13619
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderDiscountAmountComponent, never>;
13569
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderDiscountAmountComponent, "co-transaction-header-discount-amount", never, { "newDiscountReason": { "alias": "newDiscountReason"; "required": false; }; "newDiscountCode": { "alias": "newDiscountCode"; "required": false; }; }, {}, never, never, false, never>;
13620
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderDiscountAmountComponent, "co-transaction-header-discount-amount", never, { "newDiscountReason": { "alias": "newDiscountReason"; "required": false; }; "newDiscountCode": { "alias": "newDiscountCode"; "required": false; }; }, { "EditDone": "EditDone"; "onFocus": "onFocus"; }, never, never, false, never>;
13570
13621
  }
13571
13622
 
13572
13623
  declare class TransactionHeaderDiscountAmountModule {
@@ -13581,12 +13632,13 @@ declare class TransactionHeaderDiscountTransactionTotalComponent extends Transac
13581
13632
  newDiscountCode: string;
13582
13633
  inputLabel: boolean;
13583
13634
  EditDone: EventEmitter<void>;
13635
+ onFocus: EventEmitter<boolean>;
13584
13636
  input: InputTextComponent;
13585
13637
  transactionTotalAmount: number;
13586
13638
  onBlur(): void;
13587
13639
  commit(amount: number): Promise<boolean>;
13588
13640
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionHeaderDiscountTransactionTotalComponent, never>;
13589
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderDiscountTransactionTotalComponent, "co-transaction-header-discount-transaction-total", never, { "newDiscountReason": { "alias": "newDiscountReason"; "required": false; }; "newDiscountCode": { "alias": "newDiscountCode"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": false; }; }, { "EditDone": "EditDone"; }, never, never, false, never>;
13641
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionHeaderDiscountTransactionTotalComponent, "co-transaction-header-discount-transaction-total", never, { "newDiscountReason": { "alias": "newDiscountReason"; "required": false; }; "newDiscountCode": { "alias": "newDiscountCode"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": false; }; }, { "EditDone": "EditDone"; "onFocus": "onFocus"; }, never, never, false, never>;
13590
13642
  }
13591
13643
 
13592
13644
  declare class TransactionHeaderDiscountTransactionTotalModule {
@@ -14081,7 +14133,7 @@ declare class TransactionHeaderRelationComponent extends TransactionHeaderBaseCo
14081
14133
  typeOfCustomerFullObject(relation: Relation): boolean;
14082
14134
  get relationAsCustomer(): CustomerFullObject;
14083
14135
  contactPersonForId(relationId: number): RelationContactLink;
14084
- determineDontAllowPopup(): boolean;
14136
+ isPopupBlocked(): boolean;
14085
14137
  handleHeaderClick(): void;
14086
14138
  protected relationSet(): void;
14087
14139
  protected transactionInfoSet(): void;
@@ -14861,7 +14913,7 @@ declare class TransactionQuickAccessPlanningComponent extends TransactionHeaderB
14861
14913
  toggleLspMode(): void;
14862
14914
  get selectedLines(): TransactionLineInfo[];
14863
14915
  togglePopup(): void;
14864
- openPlanningSidePanel(): void;
14916
+ openPlanningSidePanel(): Promise<void>;
14865
14917
  allowPartialDelivery(): boolean;
14866
14918
  isOrderFullyPlanned(): boolean;
14867
14919
  handleCreatedTrackAndTrace(deliveryMethodCode: string): void;
@@ -1,3 +1,3 @@
1
- $cc-voucher-code-pending-dialog-width: 600px !default;
1
+ $cc-voucher-code-pending-dialog-width: 460px !default;
2
2
  $cc-voucher-code-pending-dialog-title-gap: 10px !default;
3
3
  $cc-voucher-code-pending-dialog-co-input-margin: 5px 0 15px 0 !default;
@@ -85,12 +85,31 @@
85
85
  }
86
86
 
87
87
  .co-transaction-cash-register-payment-voucher-popup {
88
- .co-dialog:not(.is-mobile) {
88
+ .co-dialog {
89
89
  .co-dialog-wrapper {
90
- width: 256px;
91
- height: 232px;
92
- min-width: 256px;
93
- min-height: 232px;
90
+ width: $tp-transaction-cash-register-payment-voucher-dialog-width;
91
+ max-width: 100%;
92
+ height: auto;
93
+ min-width: $tp-transaction-cash-register-payment-voucher-dialog-min-width;
94
+ min-height: $tp-transaction-cash-register-payment-voucher-dialog-min-height;
95
+ }
96
+ .co-dialog-header-title-icon {
97
+ display: flex;
98
+ align-items: center;
99
+ gap: $tp-transaction-cash-register-payment-voucher-dialog-title-gap;
100
+ }
101
+ .dialog-content {
102
+ .row {
103
+ display: flex;
104
+ align-items: center;
105
+ gap: $tp-transaction-cash-register-payment-voucher-dialog-row-gap;
106
+ .bold {
107
+ min-width: $tp-transaction-cash-register-payment-voucher-dialog-row-bold-width;
108
+ }
109
+ }
110
+ .voucher-popup-body-wrapper {
111
+ margin: $tp-transaction-cash-register-payment-voucher-dialog-row-body-margin;
112
+ }
94
113
  }
95
114
  }
96
115
  }
@@ -38,9 +38,15 @@ $tp-transaction-cash-register-payment-dialog-button-border-color: #0084de !defau
38
38
  $tp-transaction-cash-register-payment-dialog-button-icon-color: #0084de !default;
39
39
  $tp-transaction-cash-register-payment-dialog-receipt-button-min-width: 135px !default;
40
40
  $tp-transaction-cash-register-color-action: #1A73E8;
41
-
42
41
  $tp-transaction-cash-register-payment-dialog-button-border: 2px solid #0084de !default;
43
42
  $tp-transaction-cash-register-payment-dialog-button-border-disabled: 2px solid rgba(#0084de, 0.5) !default;
43
+ $tp-transaction-cash-register-payment-dialog-payment-wrapper-width: 600px !default;
44
44
 
45
+ $tp-transaction-cash-register-payment-voucher-dialog-width: 460px !default;
46
+ $tp-transaction-cash-register-payment-voucher-dialog-min-width: 256px !default;
47
+ $tp-transaction-cash-register-payment-voucher-dialog-min-height: 232px !default;
48
+ $tp-transaction-cash-register-payment-voucher-dialog-title-gap: 10px !default;
49
+ $tp-transaction-cash-register-payment-voucher-dialog-row-gap: 5px !default;
50
+ $tp-transaction-cash-register-payment-voucher-dialog-row-bold-width: 120px !default;
51
+ $tp-transaction-cash-register-payment-voucher-dialog-row-body-margin: 2px 0 0 0 !default;
45
52
 
46
- $tp-transaction-cash-register-payment-dialog-payment-wrapper-width: 600px !default;
@@ -133,6 +133,7 @@
133
133
  .title {
134
134
  font-size: $tp-transaction-header-popup-category-title-font-size;
135
135
  text-align: center;
136
+ white-space: nowrap;
136
137
  }
137
138
  }
138
139
 
@@ -578,6 +579,12 @@
578
579
  flex: 1;
579
580
  }
580
581
  }
582
+
583
+ .co-input-text.disabled {
584
+ opacity: 0.5;
585
+ pointer-events: none;
586
+ cursor: default;
587
+ }
581
588
  }
582
589
 
583
590
  .drop-shipment-dialog {
@@ -1,78 +1,78 @@
1
- @include export-module('co-transaction-line-interbranch-receive-goods-layout') {
2
- .co-transaction-line-interbranch-receive-goods {
3
- .columns-wrapper {
4
- display: flex;
5
- }
6
-
7
- .co-input-number-picker {
8
- width: 140px;
9
- }
10
-
11
- .details-column {
12
- width: 45%;
13
- display: flex;
14
- flex-direction: column;
15
-
16
- .transaction-line-totals-amount {
17
- margin: 5px;
18
- }
19
-
20
- //.amount-number-picker {
21
- // height: 40px;
22
- // margin: 5px;
23
- //}
24
- }
25
-
26
- .header-wrapper {
27
- display: flex;
28
- align-items: center;
29
- justify-content: space-between;
30
- margin: $tp-co-transaction-line-receive-goods-title-margin;
31
-
32
- .details-header {
33
- font-size: $tp-co-transaction-line-receive-goods-title-font-size;
34
- font-weight: bold;
35
- }
36
- }
37
-
38
- .divider-wrapper {
39
- display: flex;
40
- width: 10%;
41
- justify-content: center;
42
- visibility: hidden;
43
-
44
- .divider {
45
- border-left: 1px solid;
46
- border-color: $tp-color-border;
47
- margin: 5px; // $tp-co-transaction-request-details-input-margin;
48
- }
49
- }
50
-
51
- .details-input {
52
- margin: 5px; // $tp-co-transaction-request-details-input-margin;
53
- }
54
-
55
- .location-wrapper {
56
- position: relative;
57
-
58
- .co-transaction-button {
59
- width: auto;
60
- margin: 5px;
61
- }
62
- }
63
- .disabled {
64
- cursor: default;
65
- opacity: 0.6;
66
- }
67
- .clickable {
68
- cursor: pointer;
69
- }
70
-
71
- .warehouse-buttons {
72
- width: 100%;
73
- .co-transaction-button {
74
- width: 100%;
75
- }
76
- }
77
- }
78
- }
1
+ @include export-module('co-transaction-line-interbranch-receive-goods-layout') {
2
+ .co-transaction-line-interbranch-receive-goods {
3
+ .columns-wrapper {
4
+ display: flex;
5
+ }
6
+
7
+ .co-input-number-picker {
8
+ width: 140px;
9
+ }
10
+
11
+ .details-column {
12
+ width: 45%;
13
+ display: flex;
14
+ flex-direction: column;
15
+
16
+ .transaction-line-totals-amount {
17
+ margin: 5px;
18
+ }
19
+
20
+ //.amount-number-picker {
21
+ // height: 40px;
22
+ // margin: 5px;
23
+ //}
24
+ }
25
+
26
+ .header-wrapper {
27
+ display: flex;
28
+ align-items: center;
29
+ justify-content: space-between;
30
+ margin: $tp-co-transaction-line-receive-goods-title-margin;
31
+
32
+ .details-header {
33
+ font-size: $tp-co-transaction-line-receive-goods-title-font-size;
34
+ font-weight: bold;
35
+ }
36
+ }
37
+
38
+ .divider-wrapper {
39
+ display: flex;
40
+ width: 10%;
41
+ justify-content: center;
42
+ visibility: hidden;
43
+
44
+ .divider {
45
+ border-left: 1px solid;
46
+ border-color: $tp-color-border;
47
+ margin: 5px; // $tp-co-transaction-request-details-input-margin;
48
+ }
49
+ }
50
+
51
+ .details-input {
52
+ margin: 5px; // $tp-co-transaction-request-details-input-margin;
53
+ }
54
+
55
+ .location-wrapper {
56
+ position: relative;
57
+
58
+ .co-transaction-button {
59
+ width: auto;
60
+ margin: 5px;
61
+ }
62
+ }
63
+ .disabled {
64
+ cursor: default;
65
+ opacity: 0.6;
66
+ }
67
+ .clickable {
68
+ cursor: pointer;
69
+ }
70
+
71
+ .warehouse-buttons {
72
+ width: 100%;
73
+ .co-transaction-button {
74
+ width: 100%;
75
+ }
76
+ }
77
+ }
78
+ }
@@ -1,2 +1,2 @@
1
- $tp-co-transaction-line-receive-goods-title-font-size: 12px !default;
2
- $tp-co-transaction-line-receive-goods-title-margin: 0 0 10px 5px !default;
1
+ $tp-co-transaction-line-receive-goods-title-font-size: 12px !default;
2
+ $tp-co-transaction-line-receive-goods-title-margin: 0 0 10px 5px !default;
@@ -1,4 +1,4 @@
1
- @include export-module('co-transaction-line-interbranch-receive-goods-theme') {
2
- .co-transaction-line-interbranch-receive-goods {
3
- }
4
- }
1
+ @include export-module('co-transaction-line-interbranch-receive-goods-theme') {
2
+ .co-transaction-line-interbranch-receive-goods {
3
+ }
4
+ }
@@ -1,4 +1,4 @@
1
- @import "../../../style/mixin";
2
- @import "./_material-definition";
3
- @import "./_layout";
4
- @import "./_theme";
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -1,27 +1,27 @@
1
- @use "sass:math";
2
- @import "../../../../style/mixin";
3
-
4
- @include export-module('co-transaction-quick-access-interbranch-order-purchase-layout') {
5
- .co-transaction-quick-access-interbranch-order-purchase {
6
- .select-all-wrapper {
7
- display: flex;
8
- align-items: center;
9
- }
10
- .button {
11
- padding: 0.25em;
12
- background-color: white;
13
- border: 1px solid $tp-transaction-quick-access-planning-lsp-mode-button;
14
- cursor: pointer;
15
- co-icon {
16
- fill: $tp-transaction-quick-access-planning-lsp-mode-button;
17
- }
18
- &.selected {
19
- background-color: $tp-transaction-quick-access-planning-lsp-mode-button;
20
- co-icon {
21
- fill: white;
22
- }
23
- }
24
- }
25
-
26
- }
27
- }
1
+ @use "sass:math";
2
+ @import "../../../../style/mixin";
3
+
4
+ @include export-module('co-transaction-quick-access-interbranch-order-purchase-layout') {
5
+ .co-transaction-quick-access-interbranch-order-purchase {
6
+ .select-all-wrapper {
7
+ display: flex;
8
+ align-items: center;
9
+ }
10
+ .button {
11
+ padding: 0.25em;
12
+ background-color: white;
13
+ border: 1px solid $tp-transaction-quick-access-planning-lsp-mode-button;
14
+ cursor: pointer;
15
+ co-icon {
16
+ fill: $tp-transaction-quick-access-planning-lsp-mode-button;
17
+ }
18
+ &.selected {
19
+ background-color: $tp-transaction-quick-access-planning-lsp-mode-button;
20
+ co-icon {
21
+ fill: white;
22
+ }
23
+ }
24
+ }
25
+
26
+ }
27
+ }
@@ -1 +1 @@
1
- $tp-transaction-quick-access-planning-lsp-mode-button: #1A73E8;
1
+ $tp-transaction-quick-access-planning-lsp-mode-button: #1A73E8;
@@ -1,4 +1,4 @@
1
- @include export-module('co-transaction-quick-access-interbranch-order-purchase-theme') {
2
- .co-transaction-quick-access-interbranch-order-purchase {
3
- }
4
- }
1
+ @include export-module('co-transaction-quick-access-interbranch-order-purchase-theme') {
2
+ .co-transaction-quick-access-interbranch-order-purchase {
3
+ }
4
+ }
@@ -1,4 +1,4 @@
1
- @import "../../../../style/mixin";
2
- @import "./_material-definition";
3
- @import "./_layout";
4
- @import "./_theme";
1
+ @import "../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";