@colijnit/transaction 261.20.22 → 261.20.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/colijnit-transaction.mjs +894 -423
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +90 -25
- package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-popup/style/_layout.scss +12 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_layout.scss +38 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_material-definition.scss +1 -1
- package/lib/component/shared/conversion-assistant/style/_layout.scss +61 -0
- package/lib/component/shared/conversion-assistant/style/_material-definition.scss +2 -0
- package/lib/component/shared/conversion-assistant/style/_theme.scss +6 -0
- package/lib/component/shared/conversion-assistant/style/material.scss +3 -0
- package/lib/component/transaction-header/transaction-header-popup/style/_material-definition.scss +1 -0
- package/lib/component/transaction-header/transaction-header-relation/style/_layout.scss +7 -0
- package/lib/component/transaction-line/transaction-line/style/_layout.scss +1 -0
- package/lib/component/transaction-line/transaction-planning-line/components/transaction-planning-line-planned-resource/style/_layout.scss +9 -8
- package/lib/component/transaction-line/transaction-planning-line/style/_layout.scss +6 -3
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-cash-desk/style/_layout.scss +6 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -165,6 +165,8 @@ import { ExternalCatalogStartupInfo } from '@colijnit/articleapi/build/model/ext
|
|
|
165
165
|
import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
|
|
166
166
|
import { GetArticlePriceRequest } from '@colijnit/articleapi/build/model/get-article-price-request';
|
|
167
167
|
import { GetArticlePriceResult } from '@colijnit/articleapi/build/model/get-article-price-result';
|
|
168
|
+
import { Unit } from '@colijnit/articleapi/build/model/unit';
|
|
169
|
+
import { ConvertQuantityToDefaultUnitRequest } from '@colijnit/articleapi/build/model/convert-quantity-to-default-unit-request';
|
|
168
170
|
import { OrderLineSetCategory } from '@colijnit/mainapi/build/model/order-line-set-category.bo';
|
|
169
171
|
import { OrderLineSetDTO } from '@colijnit/transactionapi/build/model/order-line-set-dto';
|
|
170
172
|
import { TransactionAddOrderLineSetTextLineRequest } from '@colijnit/transactionapi/build/model/transaction-add-order-line-set-text-line-request';
|
|
@@ -779,6 +781,7 @@ declare class TransactionEventService {
|
|
|
779
781
|
readonly editTransactionText: Subject<TransactionLineInfo>;
|
|
780
782
|
readonly editorActive: BehaviorSubject<boolean>;
|
|
781
783
|
readonly articleLineTextAddedOrChanged: Subject<number>;
|
|
784
|
+
readonly requestConversionAssistant: Subject<TransactionLineInfo>;
|
|
782
785
|
readonly newPlanOrderEvent: Subject<void>;
|
|
783
786
|
readonly updatePlanningEvent: Subject<void>;
|
|
784
787
|
readonly openSidePanel: Subject<TransactionLineInfo>;
|
|
@@ -992,6 +995,8 @@ declare class ArticleConnectorService {
|
|
|
992
995
|
storeCatFarmCompositionArticle(catalogId: number, articleFlatTree: ArticleFlatTreeDTO): Promise<string>;
|
|
993
996
|
getWebViewStartupInfo(request: ExternalCatalogStartupInfoRequest): Promise<ExternalCatalogStartupInfo>;
|
|
994
997
|
getArticlePrice(request: GetArticlePriceRequest): Promise<GetArticlePriceResult>;
|
|
998
|
+
getConversionUnitsForDefaultArticleUnitByGoodIdAndTransactionKind(goodId: number, transactionKind: string): Promise<Unit[]>;
|
|
999
|
+
convertAmountByUnitCodeToDefaultUnitOfArticle(request: ConvertQuantityToDefaultUnitRequest): Promise<number>;
|
|
995
1000
|
private _handleExceptionFromResponse;
|
|
996
1001
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArticleConnectorService, never>;
|
|
997
1002
|
static ɵprov: i0.ɵɵInjectableDeclaration<ArticleConnectorService>;
|
|
@@ -1998,6 +2003,7 @@ declare enum Icon {
|
|
|
1998
2003
|
BarsFilter = "bars_filter",
|
|
1999
2004
|
BoxesPackingRegular = "boxes_packing_regular",
|
|
2000
2005
|
BoxOpenFullRegular = "box_open_full_regular",
|
|
2006
|
+
CalculatorRegularFull = "calculator_regular_full",
|
|
2001
2007
|
CalendarDay = "calendar_day",
|
|
2002
2008
|
CalendarDayRegular = "calendar_day_regular",
|
|
2003
2009
|
CalendarLinesRegular = "calendar_lines_regular",
|
|
@@ -2506,6 +2512,7 @@ declare class TransactionService extends PendingReasonService {
|
|
|
2506
2512
|
updateTextLine(uuid: string, lineUuid: string, showOnDocuments: number, text: string): Promise<boolean>;
|
|
2507
2513
|
changeLineSequence(lineUuid: string, aboveLineNr?: number, belowLineNr?: number): Promise<boolean>;
|
|
2508
2514
|
deleteTransactionLine(transactionLineUuid: string): Promise<boolean>;
|
|
2515
|
+
checkLockandChangeTransactionLineQuantity(transactionUuid: string, lineUuid: string, newQuantity: number): Promise<boolean>;
|
|
2509
2516
|
changeTransactionLineQuantity(transactionUuid: string, lineUuid: string, newQuantity: number): Promise<boolean>;
|
|
2510
2517
|
changeTransactionLineAssemblyTime(uuid: string, lineUuid: string, time: number): Promise<TransactionInfoResponse>;
|
|
2511
2518
|
changeLineShippingCost(uuid: string, lineUuid: string, newShippingCost: number): Promise<TransactionInfoResponse>;
|
|
@@ -4116,7 +4123,6 @@ declare class RelationAddressComponent extends RelationBaseComponent implements
|
|
|
4116
4123
|
fields: Object;
|
|
4117
4124
|
countryModel: Country;
|
|
4118
4125
|
postalCodeCheckErrorMessage: string;
|
|
4119
|
-
wrongAddress: boolean;
|
|
4120
4126
|
private _prevPostalCodeForCheck;
|
|
4121
4127
|
private _prevHouseNoForCheck;
|
|
4122
4128
|
private _address;
|
|
@@ -4766,11 +4772,25 @@ declare class TransactionTextLineModule {
|
|
|
4766
4772
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionTextLineModule>;
|
|
4767
4773
|
}
|
|
4768
4774
|
|
|
4775
|
+
declare class ArticleService {
|
|
4776
|
+
private _articleConnectorService;
|
|
4777
|
+
private _selectMultipleParameterizedCacheService;
|
|
4778
|
+
constructor(_articleConnectorService: ArticleConnectorService, _selectMultipleParameterizedCacheService: TransactionSelectMultipleParameterizedCacheService);
|
|
4779
|
+
getWarehouseLocations(warehouseNr: number): Promise<any>;
|
|
4780
|
+
getWebViewStartupInfo(request: ExternalCatalogStartupInfoRequest): Promise<ExternalCatalogStartupInfo>;
|
|
4781
|
+
getArticlePrice(request: GetArticlePriceRequest): Promise<GetArticlePriceResult>;
|
|
4782
|
+
getConversionUnitsForDefaultArticleUnitByGoodIdAndTransactionKind(goodId: number, transactionKind: string): Promise<Unit[]>;
|
|
4783
|
+
convertAmountByUnitCodeToDefaultUnitOfArticle(goodId: number, transactionKind: TransactionKind, conversionAmount: number, unitCode: string): Promise<number>;
|
|
4784
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArticleService, never>;
|
|
4785
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ArticleService>;
|
|
4786
|
+
}
|
|
4787
|
+
|
|
4769
4788
|
declare class TransactionLineActionButtonsComponent implements OnInit {
|
|
4770
4789
|
elementRef: ElementRef;
|
|
4771
4790
|
iconCacheService: IconCacheService;
|
|
4772
4791
|
private _transactionService;
|
|
4773
4792
|
private _transactionEventService;
|
|
4793
|
+
private _articleService;
|
|
4774
4794
|
private _overlayService;
|
|
4775
4795
|
private _changeDetector;
|
|
4776
4796
|
private _lineSelectionService;
|
|
@@ -4794,7 +4814,7 @@ declare class TransactionLineActionButtonsComponent implements OnInit {
|
|
|
4794
4814
|
private _transactionLine;
|
|
4795
4815
|
private _actionButtonsPopupComponentRef;
|
|
4796
4816
|
private _orderLineSet;
|
|
4797
|
-
constructor(elementRef: ElementRef, iconCacheService: IconCacheService, _transactionService: TransactionService, _transactionEventService: TransactionEventService, _overlayService: OverlayService, _changeDetector: ChangeDetectorRef, _lineSelectionService: LineSelectionService);
|
|
4817
|
+
constructor(elementRef: ElementRef, iconCacheService: IconCacheService, _transactionService: TransactionService, _transactionEventService: TransactionEventService, _articleService: ArticleService, _overlayService: OverlayService, _changeDetector: ChangeDetectorRef, _lineSelectionService: LineSelectionService);
|
|
4798
4818
|
ngOnInit(): void;
|
|
4799
4819
|
handleShowHideClick(event: MouseEvent): void;
|
|
4800
4820
|
reopenExternalOrderClick(): void;
|
|
@@ -4805,9 +4825,11 @@ declare class TransactionLineActionButtonsComponent implements OnInit {
|
|
|
4805
4825
|
handleViewStockButtonClick(): void;
|
|
4806
4826
|
handleClickCopyLineButtonClick(): void;
|
|
4807
4827
|
handleShowSidePanel(): void;
|
|
4828
|
+
handleCoversionAssistantButtonClick(): void;
|
|
4808
4829
|
private _showPopup;
|
|
4809
4830
|
private _hidePopup;
|
|
4810
4831
|
private _isReopenableExternalCatalogLine;
|
|
4832
|
+
private _getConversionUnitsAvailable;
|
|
4811
4833
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineActionButtonsComponent, never>;
|
|
4812
4834
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineActionButtonsComponent, "co-transaction-line-action-buttons", never, { "configNames": { "alias": "configNames"; "required": false; }; "transactionLine": { "alias": "transactionLine"; "required": false; }; "isFirst": { "alias": "isFirst"; "required": false; }; "orderLineSets": { "alias": "orderLineSets"; "required": false; }; }, { "waitingForUserAction": "waitingForUserAction"; "transactionArticleTextOverviewButtonClicked": "transactionArticleTextOverviewButtonClicked"; "transactionTextButtonClicked": "transactionTextButtonClicked"; "articleTextButtonClicked": "articleTextButtonClicked"; "sidePanelButtonClicked": "sidePanelButtonClicked"; }, never, never, false, never>;
|
|
4813
4835
|
}
|
|
@@ -5104,6 +5126,7 @@ declare class TransactionLineActionButtonsPopupComponent {
|
|
|
5104
5126
|
canReopenExternalOrder: boolean;
|
|
5105
5127
|
canCreateService: boolean;
|
|
5106
5128
|
areAllowedToChangeOrder: boolean;
|
|
5129
|
+
conversionUnitsAvailable: boolean;
|
|
5107
5130
|
reopenExternalOrderClick: EventEmitter<void>;
|
|
5108
5131
|
addDocumentButtonClick: EventEmitter<void>;
|
|
5109
5132
|
articleTextButtonClick: EventEmitter<void>;
|
|
@@ -5112,6 +5135,7 @@ declare class TransactionLineActionButtonsPopupComponent {
|
|
|
5112
5135
|
viewStockButtonClick: EventEmitter<void>;
|
|
5113
5136
|
sidePanelButtonClick: EventEmitter<void>;
|
|
5114
5137
|
copyLineButtonClick: EventEmitter<void>;
|
|
5138
|
+
convAssistButtonClick: EventEmitter<void>;
|
|
5115
5139
|
clickOutsideClick: EventEmitter<void>;
|
|
5116
5140
|
showClass: boolean;
|
|
5117
5141
|
constructor(iconCacheService: IconCacheService);
|
|
@@ -5123,8 +5147,9 @@ declare class TransactionLineActionButtonsPopupComponent {
|
|
|
5123
5147
|
handleViewStockButtonClick(event: MouseEvent): void;
|
|
5124
5148
|
handleSidePanelButtonClick(event: MouseEvent): void;
|
|
5125
5149
|
handleCopyLineButtonClick(event: MouseEvent): void;
|
|
5150
|
+
handleCalcAssistButtonClick(event: MouseEvent): void;
|
|
5126
5151
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineActionButtonsPopupComponent, never>;
|
|
5127
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineActionButtonsPopupComponent, "co-transaction-line-action-buttons-popup", never, { "configNames": { "alias": "configNames"; "required": false; }; "parentForOverlay": { "alias": "parentForOverlay"; "required": false; }; "canReopenExternalOrder": { "alias": "canReopenExternalOrder"; "required": false; }; "canCreateService": { "alias": "canCreateService"; "required": false; }; "areAllowedToChangeOrder": { "alias": "areAllowedToChangeOrder"; "required": false; }; }, { "reopenExternalOrderClick": "reopenExternalOrderClick"; "addDocumentButtonClick": "addDocumentButtonClick"; "articleTextButtonClick": "articleTextButtonClick"; "transactionTextButtonClick": "transactionTextButtonClick"; "createServiceButtonClick": "createServiceButtonClick"; "viewStockButtonClick": "viewStockButtonClick"; "sidePanelButtonClick": "sidePanelButtonClick"; "copyLineButtonClick": "copyLineButtonClick"; "clickOutsideClick": "clickOutsideClick"; }, never, never, false, never>;
|
|
5152
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineActionButtonsPopupComponent, "co-transaction-line-action-buttons-popup", never, { "configNames": { "alias": "configNames"; "required": false; }; "parentForOverlay": { "alias": "parentForOverlay"; "required": false; }; "canReopenExternalOrder": { "alias": "canReopenExternalOrder"; "required": false; }; "canCreateService": { "alias": "canCreateService"; "required": false; }; "areAllowedToChangeOrder": { "alias": "areAllowedToChangeOrder"; "required": false; }; "conversionUnitsAvailable": { "alias": "conversionUnitsAvailable"; "required": false; }; }, { "reopenExternalOrderClick": "reopenExternalOrderClick"; "addDocumentButtonClick": "addDocumentButtonClick"; "articleTextButtonClick": "articleTextButtonClick"; "transactionTextButtonClick": "transactionTextButtonClick"; "createServiceButtonClick": "createServiceButtonClick"; "viewStockButtonClick": "viewStockButtonClick"; "sidePanelButtonClick": "sidePanelButtonClick"; "copyLineButtonClick": "copyLineButtonClick"; "convAssistButtonClick": "convAssistButtonClick"; "clickOutsideClick": "clickOutsideClick"; }, never, never, false, never>;
|
|
5128
5153
|
}
|
|
5129
5154
|
|
|
5130
5155
|
declare class TransactionLineActionButtonsModule {
|
|
@@ -6270,17 +6295,6 @@ declare class TransactionLineSidePanelArticleDetailsComponent {
|
|
|
6270
6295
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineSidePanelArticleDetailsComponent, "co-transaction-line-side-panel-article-details", never, { "suppliers": { "alias": "suppliers"; "required": false; }; "warehouses": { "alias": "warehouses"; "required": false; }; "purchaseAdviceLine": { "alias": "purchaseAdviceLine"; "required": false; }; "onlySupplierAvailable": { "alias": "onlySupplierAvailable"; "required": false; }; }, { "purchaseAdviceLineChange": "purchaseAdviceLineChange"; "closeSideBarClicked": "closeSideBarClicked"; }, never, never, false, never>;
|
|
6271
6296
|
}
|
|
6272
6297
|
|
|
6273
|
-
declare class ArticleService {
|
|
6274
|
-
private _articleConnectorService;
|
|
6275
|
-
private _selectMultipleParameterizedCacheService;
|
|
6276
|
-
constructor(_articleConnectorService: ArticleConnectorService, _selectMultipleParameterizedCacheService: TransactionSelectMultipleParameterizedCacheService);
|
|
6277
|
-
getWarehouseLocations(warehouseNr: number): Promise<any>;
|
|
6278
|
-
getWebViewStartupInfo(request: ExternalCatalogStartupInfoRequest): Promise<ExternalCatalogStartupInfo>;
|
|
6279
|
-
getArticlePrice(request: GetArticlePriceRequest): Promise<GetArticlePriceResult>;
|
|
6280
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArticleService, never>;
|
|
6281
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ArticleService>;
|
|
6282
|
-
}
|
|
6283
|
-
|
|
6284
6298
|
declare class AlternateSupplierTileComponent {
|
|
6285
6299
|
changeDetection: ChangeDetectorRef;
|
|
6286
6300
|
private _articleService;
|
|
@@ -6711,7 +6725,7 @@ declare class TransactionPlanningLinePlannedResourceComponent {
|
|
|
6711
6725
|
|
|
6712
6726
|
declare class TransactionPlanningLineModule {
|
|
6713
6727
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionPlanningLineModule, never>;
|
|
6714
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionPlanningLineModule, [typeof TransactionPlanningLineComponent, typeof TransactionPlanningLinePlannedResourceComponent], [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 i3.ObserveVisibilityModule, typeof i3.ScreenConfigurationModule, typeof TransactionLineLabelModule], [typeof TransactionPlanningLineComponent]>;
|
|
6728
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionPlanningLineModule, [typeof TransactionPlanningLineComponent, typeof TransactionPlanningLinePlannedResourceComponent], [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 i3.ObserveVisibilityModule, typeof i3.ScreenConfigurationModule, typeof TransactionLineLabelModule], [typeof TransactionPlanningLineComponent, typeof TransactionPlanningLinePlannedResourceComponent]>;
|
|
6715
6729
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionPlanningLineModule>;
|
|
6716
6730
|
}
|
|
6717
6731
|
|
|
@@ -7881,7 +7895,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
|
|
|
7881
7895
|
showCategories: boolean;
|
|
7882
7896
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
7883
7897
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
7884
|
-
currentTitle(): "
|
|
7898
|
+
currentTitle(): "OVERVIEW" | "MARGINS";
|
|
7885
7899
|
ngOnDestroy(): void;
|
|
7886
7900
|
handleClickWrapper(event: MouseEvent): void;
|
|
7887
7901
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -7907,7 +7921,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
|
|
|
7907
7921
|
constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
|
|
7908
7922
|
ngOnDestroy(): void;
|
|
7909
7923
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
7910
|
-
currentTitle(): "
|
|
7924
|
+
currentTitle(): "OVERVIEW" | "MARGINS";
|
|
7911
7925
|
handleClickWrapper(event: MouseEvent): void;
|
|
7912
7926
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
|
|
7913
7927
|
private handleDocumentClick;
|
|
@@ -7959,7 +7973,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
|
|
|
7959
7973
|
showCategories: boolean;
|
|
7960
7974
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
7961
7975
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
7962
|
-
currentTitle(): "
|
|
7976
|
+
currentTitle(): "OVERVIEW" | "MARGINS";
|
|
7963
7977
|
ngOnDestroy(): void;
|
|
7964
7978
|
handleClickWrapper(event: MouseEvent): void;
|
|
7965
7979
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -8595,7 +8609,8 @@ declare enum DeliveryPlanningUpdateActions {
|
|
|
8595
8609
|
PlanOrder = "planOrder",
|
|
8596
8610
|
PlanLines = "planLines",
|
|
8597
8611
|
DeletePlannedOrder = "deletePlannedOrder",
|
|
8598
|
-
DeletePlannedLines = "deletePlannedLines"
|
|
8612
|
+
DeletePlannedLines = "deletePlannedLines",
|
|
8613
|
+
DeleteOrderReplan = "deleteOrderReplan"
|
|
8599
8614
|
}
|
|
8600
8615
|
|
|
8601
8616
|
declare class DeliveryPlanningMainComponent implements OnInit, OnDestroy {
|
|
@@ -8622,6 +8637,7 @@ declare class DeliveryPlanningMainComponent implements OnInit, OnDestroy {
|
|
|
8622
8637
|
oldWeek: PlanningTransportWeekDay[];
|
|
8623
8638
|
week: PlanningTransportWeekDay[];
|
|
8624
8639
|
action: DeliveryPlanningUpdateActions;
|
|
8640
|
+
resolve?: () => void;
|
|
8625
8641
|
}): Promise<void>;
|
|
8626
8642
|
updateNewValues(): Promise<void>;
|
|
8627
8643
|
getPlanningTransportWeek(): Promise<void>;
|
|
@@ -8868,6 +8884,7 @@ declare class DeliveryPlanningOverviewComponent implements OnInit, OnDestroy {
|
|
|
8868
8884
|
oldWeek: PlanningTransportWeekDay[];
|
|
8869
8885
|
week: PlanningTransportWeekDay[];
|
|
8870
8886
|
action: DeliveryPlanningUpdateActions;
|
|
8887
|
+
resolve?: () => void;
|
|
8871
8888
|
}>;
|
|
8872
8889
|
resetPlanningTransportEvent: EventEmitter<void>;
|
|
8873
8890
|
get planTransportWeekArr(): PlanningTransportWeekDay[][];
|
|
@@ -8929,6 +8946,7 @@ declare class DeliveryPlanningOverviewComponent implements OnInit, OnDestroy {
|
|
|
8929
8946
|
end: Date;
|
|
8930
8947
|
transId: number;
|
|
8931
8948
|
}, transportWeekDay: PlanningTransportWeekDay, week: PlanningTransportWeekDay[]): Promise<void>;
|
|
8949
|
+
handleMoveNormalEvent(transId: string, transport: PlanningTransportWeekDay, week: PlanningTransportWeekDay[], weekArr: PlanningTransportWeekDay[][]): Promise<void>;
|
|
8932
8950
|
handleReorderOrder(event: {
|
|
8933
8951
|
transId: number;
|
|
8934
8952
|
insertIndex: number;
|
|
@@ -11595,6 +11613,8 @@ declare class TransactionLineToolbarComponent implements OnInit {
|
|
|
11595
11613
|
iconCacheService: IconCacheService;
|
|
11596
11614
|
private _transactionEventService;
|
|
11597
11615
|
private _transactionService;
|
|
11616
|
+
private _articleService;
|
|
11617
|
+
private _changeDetector;
|
|
11598
11618
|
readonly: boolean;
|
|
11599
11619
|
readonly icons: typeof Icon;
|
|
11600
11620
|
private _transactionKind;
|
|
@@ -11605,14 +11625,16 @@ declare class TransactionLineToolbarComponent implements OnInit {
|
|
|
11605
11625
|
canReopenExternalOrder: boolean;
|
|
11606
11626
|
canCreateService: boolean;
|
|
11607
11627
|
areAllowedToChangeOrder: boolean;
|
|
11628
|
+
conversionUnitsAvailable: boolean;
|
|
11608
11629
|
set transactionLine(value: TransactionLineInfo);
|
|
11609
11630
|
set orderLineSets(value: OrderLineSetInfo[]);
|
|
11610
11631
|
get orderLineSets(): OrderLineSetInfo[];
|
|
11611
11632
|
get transactionLine(): TransactionLineInfo;
|
|
11612
11633
|
waitingForUserAction: EventEmitter<boolean>;
|
|
11634
|
+
calcAssistButtonClick: EventEmitter<void>;
|
|
11613
11635
|
showClass(): boolean;
|
|
11614
|
-
constructor(iconCacheService: IconCacheService, _transactionEventService: TransactionEventService, _transactionService: TransactionService);
|
|
11615
|
-
ngOnInit(): void
|
|
11636
|
+
constructor(iconCacheService: IconCacheService, _transactionEventService: TransactionEventService, _transactionService: TransactionService, _articleService: ArticleService, _changeDetector: ChangeDetectorRef);
|
|
11637
|
+
ngOnInit(): Promise<void>;
|
|
11616
11638
|
handleReopenExternalOrderClick(): void;
|
|
11617
11639
|
handleAddDocumentButtonClick(): void;
|
|
11618
11640
|
handleTransactionText(): void;
|
|
@@ -11621,9 +11643,12 @@ declare class TransactionLineToolbarComponent implements OnInit {
|
|
|
11621
11643
|
handleViewStockButtonClick(): void;
|
|
11622
11644
|
handleCopyLineButtonClick(): void;
|
|
11623
11645
|
handleSidePanelButtonClick(): void;
|
|
11646
|
+
handleCalcAssistButtonClick(): void;
|
|
11624
11647
|
private _isReopenableExternalCatalogLine;
|
|
11648
|
+
private _getConversionUnitsAvailable;
|
|
11649
|
+
private _detectChanges;
|
|
11625
11650
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineToolbarComponent, never>;
|
|
11626
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineToolbarComponent, "co-transaction-line-toolbar", never, { "configNames": { "alias": "configNames"; "required": false; }; "canReopenExternalOrder": { "alias": "canReopenExternalOrder"; "required": false; }; "canCreateService": { "alias": "canCreateService"; "required": false; }; "areAllowedToChangeOrder": { "alias": "areAllowedToChangeOrder"; "required": false; }; "transactionLine": { "alias": "transactionLine"; "required": false; }; "orderLineSets": { "alias": "orderLineSets"; "required": false; }; }, { "waitingForUserAction": "waitingForUserAction"; }, never, never, false, never>;
|
|
11651
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineToolbarComponent, "co-transaction-line-toolbar", never, { "configNames": { "alias": "configNames"; "required": false; }; "canReopenExternalOrder": { "alias": "canReopenExternalOrder"; "required": false; }; "canCreateService": { "alias": "canCreateService"; "required": false; }; "areAllowedToChangeOrder": { "alias": "areAllowedToChangeOrder"; "required": false; }; "conversionUnitsAvailable": { "alias": "conversionUnitsAvailable"; "required": false; }; "transactionLine": { "alias": "transactionLine"; "required": false; }; "orderLineSets": { "alias": "orderLineSets"; "required": false; }; }, { "waitingForUserAction": "waitingForUserAction"; "calcAssistButtonClick": "calcAssistButtonClick"; }, never, never, false, never>;
|
|
11627
11652
|
}
|
|
11628
11653
|
|
|
11629
11654
|
declare class TransactionLineToolbarModule {
|
|
@@ -13600,6 +13625,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
|
|
|
13600
13625
|
showReservationPopup: boolean;
|
|
13601
13626
|
showTransactionText: boolean;
|
|
13602
13627
|
showArticleText: boolean;
|
|
13628
|
+
showConversionAssistant: boolean;
|
|
13603
13629
|
showCopyOrderDialog: boolean;
|
|
13604
13630
|
showArticleStockPopup: boolean;
|
|
13605
13631
|
showPreferredPlanning: boolean;
|
|
@@ -13637,6 +13663,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
|
|
|
13637
13663
|
handleShowArticleTextOverview(line: TransactionLineInfo): void;
|
|
13638
13664
|
handleShowTransactionText(line: TransactionLineInfo): void;
|
|
13639
13665
|
handleShowArticleText(line: TransactionLineInfo): void;
|
|
13666
|
+
handleShowConversionAssistant(line: TransactionLineInfo): void;
|
|
13640
13667
|
saveTransactionLineText(data: {
|
|
13641
13668
|
request: TransactionAddTextLineRequest;
|
|
13642
13669
|
new: boolean;
|
|
@@ -13651,6 +13678,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
|
|
|
13651
13678
|
}): Promise<void>;
|
|
13652
13679
|
handleEditTransactionText(line: TransactionLineInfo): void;
|
|
13653
13680
|
handleEditArticleText(line: TransactionLineInfo): void;
|
|
13681
|
+
updateArticleLineAmount(amount: number): Promise<void>;
|
|
13654
13682
|
handleCopyTransactionLine(line: TransactionLineInfo): void;
|
|
13655
13683
|
handleCreateServiceRequest(lineNr: number): void;
|
|
13656
13684
|
handleViewStock(goodId: number): void;
|
|
@@ -13661,6 +13689,8 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
|
|
|
13661
13689
|
showTransactionTextDialog(): void;
|
|
13662
13690
|
showArticleTextDialog(): void;
|
|
13663
13691
|
showArticleTextOverviewDialog(): void;
|
|
13692
|
+
showConversionAssistantDialog(): void;
|
|
13693
|
+
closeConversionAssistantDialog(): void;
|
|
13664
13694
|
shouldShowTiles(): boolean;
|
|
13665
13695
|
fullyInvoiced(): boolean;
|
|
13666
13696
|
private _getOrderLineSetIfExists;
|
|
@@ -15910,6 +15940,7 @@ declare class DialogTransactionLineWarehouseCcComponent extends DialogBaseCompon
|
|
|
15910
15940
|
iconCacheService: IconCacheService;
|
|
15911
15941
|
transactionHeaderService: TransactionHeaderService;
|
|
15912
15942
|
transactionLineService: TransactionLineService;
|
|
15943
|
+
protected articleService: ArticleService;
|
|
15913
15944
|
readonly icons: typeof Icon;
|
|
15914
15945
|
readonly tab: typeof WarehouseCCTab;
|
|
15915
15946
|
readonly buttonType: typeof AppPopupButtonType;
|
|
@@ -15933,8 +15964,12 @@ declare class DialogTransactionLineWarehouseCcComponent extends DialogBaseCompon
|
|
|
15933
15964
|
directSellSupplier: SupplierLightObject;
|
|
15934
15965
|
directSellPurchaseOrderNumber: number;
|
|
15935
15966
|
stockForecastDeliveryDate: Date;
|
|
15967
|
+
conversionUnitsAvailable: boolean;
|
|
15968
|
+
conversionUnits: Unit[];
|
|
15969
|
+
chosenConversionUnit: Unit;
|
|
15970
|
+
conversionAmount: string;
|
|
15936
15971
|
readonly TransactionKind: typeof TransactionKind;
|
|
15937
|
-
constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService);
|
|
15972
|
+
constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, articleService: ArticleService);
|
|
15938
15973
|
ngOnInit(): Promise<void>;
|
|
15939
15974
|
handleQuantityChange(value: any): void;
|
|
15940
15975
|
handleCommissionCodeChange(value: any): void;
|
|
@@ -15944,16 +15979,18 @@ declare class DialogTransactionLineWarehouseCcComponent extends DialogBaseCompon
|
|
|
15944
15979
|
handleClose(type: AppPopupButtonType): void;
|
|
15945
15980
|
showTab(tab: WarehouseCCTab): void;
|
|
15946
15981
|
checkWarehouseForTabSwitch(tab: WarehouseCCTab): void;
|
|
15982
|
+
recalculateConversionAmountIfNeeded(): Promise<void>;
|
|
15947
15983
|
handleCloseDialog(event: MouseEvent, type: AppPopupButtonType): void;
|
|
15948
15984
|
private _activeTabValid;
|
|
15949
15985
|
private _scrollIntoView;
|
|
15986
|
+
protected readonly model: i0.ModelFunction;
|
|
15950
15987
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogTransactionLineWarehouseCcComponent, never>;
|
|
15951
15988
|
static ɵcmp: i0.ɵɵComponentDeclaration<DialogTransactionLineWarehouseCcComponent, "co-dialog-transaction-line-warehouse-cc", never, { "transactionKind": { "alias": "transactionKind"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
15952
15989
|
}
|
|
15953
15990
|
|
|
15954
15991
|
declare class DialogTransactionLineWarehouseCcModule {
|
|
15955
15992
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogTransactionLineWarehouseCcModule, never>;
|
|
15956
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogTransactionLineWarehouseCcModule, [typeof DialogTransactionLineWarehouseCcComponent, typeof TransactionLineWarehouseCcGeneralComponent, typeof TransactionLineWarehouseCcDirectsellComponent, typeof TransactionLineWarehouseCcInterbranchComponent], [typeof i2.CommonModule, typeof i3.CoDialogModule, typeof PipeModule, typeof TransactionLineCheckboxModule, typeof TransactionLineCommissionCodeModule, typeof TransactionLineWarehouseModule, typeof i3.InputNumberPickerModule, typeof i3.ButtonModule, typeof i3.IconModule, typeof i3.ListOfValuesModule, typeof i3.InputCheckboxModule, typeof i3.FormModule, typeof TransactionLineDirectSellModule, typeof i3.InputTextModule], [typeof DialogTransactionLineWarehouseCcComponent]>;
|
|
15993
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogTransactionLineWarehouseCcModule, [typeof DialogTransactionLineWarehouseCcComponent, typeof TransactionLineWarehouseCcGeneralComponent, typeof TransactionLineWarehouseCcDirectsellComponent, typeof TransactionLineWarehouseCcInterbranchComponent], [typeof i2.CommonModule, typeof i3.CoDialogModule, typeof PipeModule, typeof TransactionLineCheckboxModule, typeof TransactionLineCommissionCodeModule, typeof TransactionLineWarehouseModule, typeof i3.InputNumberPickerModule, typeof i3.ButtonModule, typeof i3.IconModule, typeof i3.ListOfValuesModule, typeof i3.InputCheckboxModule, typeof i3.FormModule, typeof TransactionLineDirectSellModule, typeof i3.InputTextModule, typeof PipeModule], [typeof DialogTransactionLineWarehouseCcComponent]>;
|
|
15957
15994
|
static ɵinj: i0.ɵɵInjectorDeclaration<DialogTransactionLineWarehouseCcModule>;
|
|
15958
15995
|
}
|
|
15959
15996
|
|
|
@@ -16156,9 +16193,37 @@ declare class TransactionLineActivitiesModule {
|
|
|
16156
16193
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineActivitiesModule>;
|
|
16157
16194
|
}
|
|
16158
16195
|
|
|
16196
|
+
declare class TransactionLineConversionAssistantComponent implements OnInit {
|
|
16197
|
+
iconCacheService: IconCacheService;
|
|
16198
|
+
private _articleService;
|
|
16199
|
+
private _transactionService;
|
|
16200
|
+
readonly icons: typeof Icon;
|
|
16201
|
+
transactionLine: TransactionLineInfo;
|
|
16202
|
+
closeClick: EventEmitter<MouseEvent>;
|
|
16203
|
+
cancelClick: EventEmitter<MouseEvent>;
|
|
16204
|
+
saveClick: EventEmitter<number>;
|
|
16205
|
+
showClass(): boolean;
|
|
16206
|
+
conversionUnits: Unit[];
|
|
16207
|
+
chosenConversionUnit: Unit;
|
|
16208
|
+
conversionAmount: string;
|
|
16209
|
+
articleAmount: number;
|
|
16210
|
+
constructor(iconCacheService: IconCacheService, _articleService: ArticleService, _transactionService: TransactionService);
|
|
16211
|
+
ngOnInit(): void;
|
|
16212
|
+
private _getConversionUnits;
|
|
16213
|
+
recalculateConversionAmountIfNeeded(): Promise<void>;
|
|
16214
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineConversionAssistantComponent, never>;
|
|
16215
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineConversionAssistantComponent, "co-transaction-line-conversion-assistant", never, { "transactionLine": { "alias": "transactionLine"; "required": false; }; }, { "closeClick": "closeClick"; "cancelClick": "cancelClick"; "saveClick": "saveClick"; }, never, never, false, never>;
|
|
16216
|
+
}
|
|
16217
|
+
|
|
16218
|
+
declare class TransactionLineConversionAssistantModule {
|
|
16219
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineConversionAssistantModule, never>;
|
|
16220
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineConversionAssistantModule, [typeof TransactionLineConversionAssistantComponent], [typeof i2.CommonModule, typeof CoreModule, typeof i3.CoDialogModule, typeof i13.DragDropModule, typeof i3.ButtonModule, typeof TransactionArticleTextModule, typeof PipeModule, typeof i3.IconModule, typeof i3.InputNumberPickerModule, typeof i3.InputTextModule, typeof i3.ListOfValuesModule], [typeof TransactionLineConversionAssistantComponent]>;
|
|
16221
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineConversionAssistantModule>;
|
|
16222
|
+
}
|
|
16223
|
+
|
|
16159
16224
|
declare class TransactionInternalModule {
|
|
16160
16225
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInternalModule, never>;
|
|
16161
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionInternalModule, [typeof TransactionInternalComponent, typeof TransactionSalesReservationPopupComponent], [typeof i2.CommonModule, typeof TransactionHeaderModule, typeof TransactionQuickAccessModule, typeof TransactionButtonBarModule, typeof AvatarModule, typeof i3.ViewModeButtonsModule, typeof TransactionCardModule, typeof TransactionLinesModule, typeof AddProductModule, typeof TransactionTotalsModule, typeof TransactionLineSidePanelModule, typeof TransactionArticleTextOverviewModule, typeof TransactionArticleTextModule, typeof PipeModule, typeof TransactionCopyOrderModule, typeof i13.DragDropModule, typeof TransactionLinesSidePanelModule, typeof i3.ButtonModule, typeof i3.IconModule, typeof TransactionButtonModule, typeof i3.ScreenConfigurationModule, typeof TransactionServiceOverviewModule, typeof TransactionCardsModule, typeof TransactionMarginModule, typeof ClickBlockModule, typeof DialogTransactionLineWarehouseCcModule, typeof DialogTransactionHeaderBranchModule, typeof DialogBranchModule, typeof TransactionPurchaseReservationOrderTileModule, typeof i3.CoDialogModule, typeof i6.StockModule, typeof TransactionArticleStockModule, typeof TransactionOrderTileModule, typeof TransactionHeaderCustomerPortalModule, typeof TransactionSalesPersonInputModule, typeof TransactionHeaderSalesPersonModule, typeof i3.ClickoutsideModule, typeof i3.OverlayModule, typeof TransactionHeaderHandledByModule, typeof i6.FormBuilderUserFormModule, typeof DeliveryPlanningOverviewModule, typeof TransactionLineActivitiesModule], [typeof TransactionInternalComponent, typeof TransactionSalesReservationPopupComponent]>;
|
|
16226
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionInternalModule, [typeof TransactionInternalComponent, typeof TransactionSalesReservationPopupComponent], [typeof i2.CommonModule, typeof TransactionHeaderModule, typeof TransactionQuickAccessModule, typeof TransactionButtonBarModule, typeof AvatarModule, typeof i3.ViewModeButtonsModule, typeof TransactionCardModule, typeof TransactionLinesModule, typeof AddProductModule, typeof TransactionTotalsModule, typeof TransactionLineSidePanelModule, typeof TransactionArticleTextOverviewModule, typeof TransactionArticleTextModule, typeof PipeModule, typeof TransactionCopyOrderModule, typeof i13.DragDropModule, typeof TransactionLinesSidePanelModule, typeof i3.ButtonModule, typeof i3.IconModule, typeof TransactionButtonModule, typeof i3.ScreenConfigurationModule, typeof TransactionServiceOverviewModule, typeof TransactionCardsModule, typeof TransactionMarginModule, typeof ClickBlockModule, typeof DialogTransactionLineWarehouseCcModule, typeof DialogTransactionHeaderBranchModule, typeof DialogBranchModule, typeof TransactionPurchaseReservationOrderTileModule, typeof i3.CoDialogModule, typeof i6.StockModule, typeof TransactionArticleStockModule, typeof TransactionOrderTileModule, typeof TransactionHeaderCustomerPortalModule, typeof TransactionSalesPersonInputModule, typeof TransactionHeaderSalesPersonModule, typeof i3.ClickoutsideModule, typeof i3.OverlayModule, typeof TransactionHeaderHandledByModule, typeof i6.FormBuilderUserFormModule, typeof DeliveryPlanningOverviewModule, typeof TransactionLineActivitiesModule, typeof TransactionLineConversionAssistantModule], [typeof TransactionInternalComponent, typeof TransactionSalesReservationPopupComponent]>;
|
|
16162
16227
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionInternalModule>;
|
|
16163
16228
|
}
|
|
16164
16229
|
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
@include export-module('cc-delivery-planning-overview-popup-layout') {
|
|
2
2
|
.co-delivery-planning-overview-popup {
|
|
3
3
|
|
|
4
|
+
.body-wrapper {
|
|
5
|
+
margin-top: 50px;
|
|
4
6
|
.popup-row {
|
|
7
|
+
|
|
8
|
+
.row {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: 5px;
|
|
13
|
+
justify-content: start;
|
|
14
|
+
padding-bottom: 5px;
|
|
15
|
+
}
|
|
5
16
|
display: flex;
|
|
6
17
|
flex-direction: row;
|
|
7
18
|
align-items: center;
|
|
@@ -10,6 +21,7 @@
|
|
|
10
21
|
padding-bottom: 10px;
|
|
11
22
|
|
|
12
23
|
|
|
24
|
+
}
|
|
13
25
|
|
|
14
26
|
co-editable-label {
|
|
15
27
|
display: flex;
|
|
@@ -14,6 +14,27 @@
|
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
+
.transaction-line-warehouse-top-cc-section {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
column-gap: 5px;
|
|
21
|
+
margin: $tp-dialog-transaction-line-warehouse-cc-section-margin;
|
|
22
|
+
.bordered {
|
|
23
|
+
margin-left: 20px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.unit-amount {
|
|
27
|
+
height: $tp-dialog-transaction-line-warehouse-cc-quantity-height;
|
|
28
|
+
max-width: 90px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.unit-list {
|
|
32
|
+
height: $tp-dialog-transaction-line-warehouse-cc-quantity-height;
|
|
33
|
+
.co-input-text {
|
|
34
|
+
height: $tp-dialog-transaction-line-warehouse-cc-quantity-height;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
17
38
|
.transaction-line-warehouse-cc-section {
|
|
18
39
|
display: flex;
|
|
19
40
|
flex-direction: column;
|
|
@@ -42,6 +63,23 @@
|
|
|
42
63
|
.quantity-number-picker {
|
|
43
64
|
width: $tp-dialog-transaction-line-warehouse-cc-quantity-width;
|
|
44
65
|
height: $tp-dialog-transaction-line-warehouse-cc-quantity-height;
|
|
66
|
+
.icon-wrapper{
|
|
67
|
+
max-width: $tp-dialog-transaction-line-warehouse-cc-quantity-height;
|
|
68
|
+
}
|
|
69
|
+
.co-input-text {
|
|
70
|
+
width: $tp-dialog-transaction-line-warehouse-cc-quantity-width;
|
|
71
|
+
height: $tp-dialog-transaction-line-warehouse-cc-quantity-height;
|
|
72
|
+
.right-icon {
|
|
73
|
+
min-width: $cc-co-list-of-values-right-icon-spacer-width;
|
|
74
|
+
}
|
|
75
|
+
.input-text-right-icon svg {
|
|
76
|
+
width: $cc-co-list-of-values-right-icon-width;
|
|
77
|
+
height: $cc-co-list-of-values-right-icon-width;
|
|
78
|
+
padding: $cc-co-list-of-values-right-icon-padding;
|
|
79
|
+
background: $cc-co-list-of-values-right-icon-background;
|
|
80
|
+
border-radius: $cc-co-list-of-values-right-icon-radius;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
45
83
|
}
|
|
46
84
|
.transaction-line-warehouse-cc-section-label-wrapper {
|
|
47
85
|
display: flex;
|
|
@@ -4,7 +4,7 @@ $tp-dialog-transaction-line-warehouse-cc-font-color: $tp-color-font !default;
|
|
|
4
4
|
$tp-dialog-transaction-line-warehouse-cc-min-width: 500px !default;
|
|
5
5
|
$tp-dialog-transaction-line-warehouse-cc-commission-code-height: 100px !default;
|
|
6
6
|
$tp-dialog-transaction-line-warehouse-cc-quantity-width: 150px !default;
|
|
7
|
-
$tp-dialog-transaction-line-warehouse-cc-quantity-height:
|
|
7
|
+
$tp-dialog-transaction-line-warehouse-cc-quantity-height: 36px !default;
|
|
8
8
|
$tp-dialog-transaction-line-warehouse-cc-tab-content-height: 460px !default;
|
|
9
9
|
$tp-dialog-transaction-line-warehouse-cc-section-margin: 0 0 5px 0 !default;
|
|
10
10
|
$tp-dialog-transaction-line-warehouse-cc-section-max-height: auto !default;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-line-conversion-assistant-layout') {
|
|
4
|
+
.co-transaction-line-conversion-assistant {
|
|
5
|
+
.co-dialog:not(.is-mobile) .co-dialog-wrapper {
|
|
6
|
+
width: 500px;
|
|
7
|
+
.assistant-header {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: row;
|
|
10
|
+
column-gap: 5px;
|
|
11
|
+
align-items: center;
|
|
12
|
+
padding-bottom: 10px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.assistant-content-wrapper {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
column-gap: 5px;
|
|
19
|
+
|
|
20
|
+
.unit-amount {
|
|
21
|
+
height: $tp-conversion-assistant-field-height;
|
|
22
|
+
max-width: 90px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.unit-list {
|
|
26
|
+
height: $tp-conversion-assistant-field-height;
|
|
27
|
+
|
|
28
|
+
.co-input-text {
|
|
29
|
+
height: $tp-conversion-assistant-field-height;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.quantity-number-picker {
|
|
34
|
+
width: $tp-conversion-assistant-quantity-width;
|
|
35
|
+
height: $tp-conversion-assistant-field-height;
|
|
36
|
+
|
|
37
|
+
.icon-wrapper {
|
|
38
|
+
max-width: $tp-conversion-assistant-field-height;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.co-input-text {
|
|
42
|
+
width: $tp-conversion-assistant-quantity-width;
|
|
43
|
+
height: $tp-conversion-assistant-field-height;
|
|
44
|
+
|
|
45
|
+
.right-icon {
|
|
46
|
+
min-width: $cc-co-list-of-values-right-icon-spacer-width;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.input-text-right-icon svg {
|
|
50
|
+
width: $cc-co-list-of-values-right-icon-width;
|
|
51
|
+
height: $cc-co-list-of-values-right-icon-width;
|
|
52
|
+
padding: $cc-co-list-of-values-right-icon-padding;
|
|
53
|
+
background: $cc-co-list-of-values-right-icon-background;
|
|
54
|
+
border-radius: $cc-co-list-of-values-right-icon-radius;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
package/lib/component/transaction-header/transaction-header-popup/style/_material-definition.scss
CHANGED
|
@@ -78,6 +78,7 @@ $tp-transaction-header-popup-business-rule-applied-font-weight: normal !default;
|
|
|
78
78
|
$tp-co-transaction-header-relation-content-gap: 60px !default;
|
|
79
79
|
$tp-co-transaction-header-relation-content-padding: 0 0 0 0 !default;
|
|
80
80
|
$tp-co-transaction-header-relation-content-empty: 0 !default;
|
|
81
|
+
$tp-co-transaction-header-relation-content-empty-color: #1a73e8 !default;
|
|
81
82
|
$tp-co-transaction-header-relation-content-padding-empty: 0 !default;
|
|
82
83
|
$tp-co-transaction-header-relation-content-icon-left: 0 !default;
|
|
83
84
|
$tp-co-transaction-header-relation-content-icon-top: 0 !default;
|
|
@@ -84,6 +84,13 @@
|
|
|
84
84
|
.no-relation-yet {
|
|
85
85
|
position: relative;
|
|
86
86
|
left: $tp-co-transaction-header-relation-content-empty;
|
|
87
|
+
.co-button {
|
|
88
|
+
border-style: solid;
|
|
89
|
+
border-width: 1px;
|
|
90
|
+
border-color: $tp-co-transaction-header-relation-content-empty-color;
|
|
91
|
+
color: $tp-co-transaction-header-relation-content-empty-color;
|
|
92
|
+
background-color: transparent;
|
|
93
|
+
}
|
|
87
94
|
}
|
|
88
95
|
.transaction-relation-icon {
|
|
89
96
|
position: absolute;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
@include export-module('cc-transaction-planning-line-planned-resource-layout') {
|
|
2
2
|
.co-transaction-planning-line-planned-resource {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
height: 100%;
|
|
4
|
+
width: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
|
|
9
|
+
span {
|
|
10
|
+
font-size: 10px;
|
|
11
|
+
font-weight: bold;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
14
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
@include export-module('co-transaction-planning-line-layout') {
|
|
2
2
|
.co-transaction-planning-line {
|
|
3
|
-
.
|
|
3
|
+
.planning-line-planned-resource-wrapper {
|
|
4
4
|
display: flex;
|
|
5
|
-
flex-direction:
|
|
6
|
-
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
height: 100%;
|
|
7
|
+
width: 100%;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
align-items: center;
|
|
7
10
|
}
|
|
8
11
|
|
|
9
12
|
.transaction-line-section {
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
@include export-module('co-transaction-lines-side-panel-cash-desk-layout') {
|
|
2
2
|
.co-transaction-lines-side-panel-cash-desk {
|
|
3
3
|
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
4
|
+
flex-direction: column-reverse;
|
|
5
5
|
align-items: center;
|
|
6
|
+
width: 300px;
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
gap: 10px;
|
|
6
9
|
//.co-key-pad {
|
|
7
10
|
// width: 80%;
|
|
8
11
|
//}
|
|
@@ -30,11 +33,12 @@
|
|
|
30
33
|
.cash-register-payment-methods-wrapper {
|
|
31
34
|
display: flex;
|
|
32
35
|
flex-wrap: wrap;
|
|
33
|
-
padding:
|
|
36
|
+
padding: 0;
|
|
34
37
|
gap: 10px;
|
|
35
38
|
}
|
|
36
39
|
.co-payment-tile {
|
|
37
40
|
width: calc(50% - 10px);
|
|
41
|
+
max-width: 150px;
|
|
38
42
|
.co-tile-wrapper {
|
|
39
43
|
padding: 5px;
|
|
40
44
|
height: 75px;
|