@colijnit/transaction 300.1.31 → 300.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/fesm2022/colijnit-transaction.mjs +2426 -2089
  2. package/fesm2022/colijnit-transaction.mjs.map +1 -1
  3. package/index.d.ts +51 -8
  4. package/lib/component/transaction-line-interbranch-receive-goods/style/_layout.scss +78 -78
  5. package/lib/component/transaction-line-interbranch-receive-goods/style/_material-definition.scss +2 -2
  6. package/lib/component/transaction-line-interbranch-receive-goods/style/_theme.scss +4 -4
  7. package/lib/component/transaction-line-interbranch-receive-goods/style/material.scss +4 -4
  8. package/lib/component/transaction-line-side-panel/style/_layout.scss +1 -1
  9. package/lib/component/transaction-line-side-panel-service/style/_layout.scss +4 -0
  10. package/lib/component/transaction-line-side-panel-service/style/_material-definition.scss +0 -0
  11. package/lib/component/transaction-line-side-panel-service/style/_theme.scss +4 -0
  12. package/lib/component/transaction-line-side-panel-service/style/material.scss +5 -0
  13. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_layout.scss +27 -27
  14. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_material-definition.scss +1 -1
  15. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_theme.scss +4 -4
  16. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/material.scss +4 -4
  17. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_layout.scss +73 -73
  18. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_theme.scss +6 -6
  19. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/material.scss +4 -4
  20. package/lib/component/transaction-warehouse-batch-amount-grid/style/_layout.scss +27 -0
  21. package/lib/component/transaction-warehouse-batch-amount-grid/style/_material-definition.scss +4 -0
  22. package/lib/component/transaction-warehouse-batch-amount-grid/style/_theme.scss +4 -0
  23. package/lib/component/transaction-warehouse-batch-amount-grid/style/material.scss +4 -0
  24. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -301,6 +301,7 @@ import { UpsertTransactionStandardTextRequest } from '@colijnit/transactionapi/b
301
301
  import { ChangeHeaderExtraDocRequest } from '@colijnit/transactionapi/build/model/change-header-extra-doc-request';
302
302
  import { BatchDownloadInfo } from '@colijnit/transactionapi/build/model/batch-download-info.bo';
303
303
  import { FileDownloadToken } from '@colijnit/transactionapi/build/model/file-download-token.bo';
304
+ import { AvailableWarehouseStockPerBatch } from '@colijnit/transactionapi/build/model/available-warehouse-stock-per-batch.bo';
304
305
  import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
305
306
  import { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/relation-kind.enum';
306
307
  import { Relation } from '@colijnit/relationapi/build/model/relation.bo';
@@ -1537,6 +1538,7 @@ declare class TransactionConnectorAdapterService {
1537
1538
  createQRCode(width: number, height: number, data: string): Promise<string>;
1538
1539
  roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
1539
1540
  createPublicQuote(request: CreatePublicQuoteRequest): Promise<number>;
1541
+ getAvailableWarehouseStockPerBatchNrByGoodIdAndBranch(goodId: number, branchNr: string): Promise<AvailableWarehouseStockPerBatch[]>;
1540
1542
  getCreatePublicQuoteResponse(request: CreatePublicQuoteRequest): Promise<DataServiceResponseData>;
1541
1543
  private _openPdfContent;
1542
1544
  private _handleLocalPrintFile;
@@ -2031,6 +2033,7 @@ declare class TransactionConnectorService {
2031
2033
  roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
2032
2034
  createPublicQuote(request: CreatePublicQuoteRequest): Promise<number>;
2033
2035
  getCreatePublicQuoteResponse(request: CreatePublicQuoteRequest): Promise<DataServiceResponseData>;
2036
+ getAvailableWarehouseStockPerBatchNrByGoodIdAndBranch(goodId: number, branchNr: string): Promise<AvailableWarehouseStockPerBatch[]>;
2034
2037
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionConnectorService, never>;
2035
2038
  static ɵprov: i0.ɵɵInjectableDeclaration<TransactionConnectorService>;
2036
2039
  }
@@ -2917,6 +2920,7 @@ declare class TransactionService extends PendingReasonService {
2917
2920
  createQRCode(width: number, height: number, data: string): Promise<string>;
2918
2921
  roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
2919
2922
  getTitles(): Promise<Title[]>;
2923
+ getAvailableWarehouseStockPerBatchNrByGoodIdAndBranch(goodId: number, branchNr: string): Promise<AvailableWarehouseStockPerBatch[]>;
2920
2924
  /**
2921
2925
  * Is getting called from rememberCurrentTransaction which is called twice, once from getTransactionHeaderByNrAndKind and once from getTransactionInfoByNrAndKind
2922
2926
  * Use fromHeader parameter to distinguish between the two calls
@@ -4787,6 +4791,7 @@ interface TransactionBarButton {
4787
4791
  }
4788
4792
 
4789
4793
  interface TransactionButtonBarMappingConfig {
4794
+ buttonPlanning: Map<TransactionKind, TransactionTypeCategory>;
4790
4795
  buttonBarButtons: Map<TransactionKind, any[]>;
4791
4796
  }
4792
4797
  interface TransactionFilterMappingConfig {
@@ -4836,6 +4841,7 @@ declare class TransactionMappingService {
4836
4841
  private _handledByDescription;
4837
4842
  constructor(_buttonBarConfig: TransactionButtonBarMappingConfig, _filterConfig: TransactionFilterMappingConfig, _searchConfig: TransactionSearchMappingConfig, _lineConfig: TransactionLineMappingConfig, _cardConfig: TransactionCardMappingConfig, _sidePanelConfig: TransactionSidePanelMappingConfig, _quickAccessConfig: TransactionQuickAccessMappingConfig);
4838
4843
  getHandledByDescription(type: TransactionKind): string;
4844
+ getPlanningRubricForTransactionKind(type: TransactionKind): TransactionTypeCategory;
4839
4845
  getButtonBar(type: TransactionKind): TransactionBarButton[];
4840
4846
  getSidePanelComponent(type: TransactionKind): any;
4841
4847
  getQuickAccessComponent(type: TransactionKind, category: TransactionTypeCategory): any;
@@ -10799,6 +10805,7 @@ declare class TransactionLineSalesAllocationComponent extends TransactionLineBas
10799
10805
  constructor(transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _formMaster: FormMasterService, _dialogService: TransactionDialogService);
10800
10806
  ngOnInit(): void;
10801
10807
  ngOnDestroy(): void;
10808
+ handleLineClicked(line: AvailableWarehouseStockPerBatch): void;
10802
10809
  submit(): boolean;
10803
10810
  getGoodsAllocationHistory(): Promise<void>;
10804
10811
  handleSaveDetailsEdit(): void;
@@ -10809,9 +10816,31 @@ declare class TransactionLineSalesAllocationComponent extends TransactionLineBas
10809
10816
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineSalesAllocationComponent, "co-transaction-line-sales-allocation", never, {}, {}, never, never, false, never>;
10810
10817
  }
10811
10818
 
10819
+ declare class TransactionWarehouseStockBatchAmountComponent extends TransactionLineBaseComponent {
10820
+ readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
10821
+ set stockComparisonAmount(amount: number);
10822
+ get stockComparisonAmount(): number;
10823
+ lineClicked: EventEmitter<AvailableWarehouseStockPerBatch>;
10824
+ showClass(): boolean;
10825
+ availableWarehouseStockPerBatchCollection: AvailableWarehouseStockPerBatch[];
10826
+ private _stockComparisonAmount;
10827
+ handleLineClicked(line: any): void;
10828
+ checkWarehouseAndAmount: (row: AvailableWarehouseStockPerBatch) => string[];
10829
+ protected transactionLineSet(): void;
10830
+ private _forceGridRedraw;
10831
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionWarehouseStockBatchAmountComponent, never>;
10832
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionWarehouseStockBatchAmountComponent, "co-transaction-warehouse-batch-amount", never, { "stockComparisonAmount": { "alias": "stockComparisonAmount"; "required": false; }; }, { "lineClicked": "lineClicked"; }, never, never, false, never>;
10833
+ }
10834
+
10835
+ declare class TransactionWarehouseStockBatchAmountModule {
10836
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionWarehouseStockBatchAmountModule, never>;
10837
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionWarehouseStockBatchAmountModule, [typeof TransactionWarehouseStockBatchAmountComponent], [typeof i3.SimpleGridModule, typeof i2.DatePipe, typeof PipeModule], [typeof TransactionWarehouseStockBatchAmountComponent]>;
10838
+ static ɵinj: i0.ɵɵInjectorDeclaration<TransactionWarehouseStockBatchAmountModule>;
10839
+ }
10840
+
10812
10841
  declare class TransactionLineSalesAllocationModule {
10813
10842
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSalesAllocationModule, never>;
10814
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSalesAllocationModule, [typeof TransactionLineSalesAllocationComponent], [typeof i2.CommonModule, typeof i3.FormModule, typeof PipeModule, typeof i3.InputTextModule, typeof i3.IconModule, typeof TransactionAllocateGoodsHistoryModule, typeof i3.InputNumberPickerModule, typeof TransactionButtonModule, typeof i3.TooltipDirectiveModule, typeof i3.ButtonModule, typeof TransactionLineWarehouseLocationButtonModule, typeof TransactionLineLabelModule], [typeof TransactionLineSalesAllocationComponent]>;
10843
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSalesAllocationModule, [typeof TransactionLineSalesAllocationComponent], [typeof i2.CommonModule, typeof i3.FormModule, typeof PipeModule, typeof i3.InputTextModule, typeof i3.IconModule, typeof TransactionAllocateGoodsHistoryModule, typeof i3.InputNumberPickerModule, typeof TransactionButtonModule, typeof i3.TooltipDirectiveModule, typeof i3.ButtonModule, typeof TransactionLineWarehouseLocationButtonModule, typeof TransactionLineLabelModule, typeof TransactionWarehouseStockBatchAmountModule], [typeof TransactionLineSalesAllocationComponent]>;
10815
10844
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSalesAllocationModule>;
10816
10845
  }
10817
10846
 
@@ -13802,9 +13831,23 @@ declare class TransactionLineSidePanelInternalDeliveryModule {
13802
13831
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSidePanelInternalDeliveryModule>;
13803
13832
  }
13804
13833
 
13834
+ declare class TransactionLineSidePanelServiceComponent extends TransactionLineBaseComponent {
13835
+ readonly categories: typeof TransactionTypeCategory;
13836
+ categoryType: TransactionTypeCategory;
13837
+ showClass(): boolean;
13838
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSidePanelServiceComponent, never>;
13839
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineSidePanelServiceComponent, "co-transaction-line-side-panel-service", never, { "categoryType": { "alias": "categoryType"; "required": false; }; }, {}, never, never, false, never>;
13840
+ }
13841
+
13842
+ declare class TransactionLineSidePanelServiceModule {
13843
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSidePanelServiceModule, never>;
13844
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSidePanelServiceModule, [typeof TransactionLineSidePanelServiceComponent], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof PipeModule, typeof i3.IconModule, typeof TransactionLineSidePanelSalesPurchaseModule, typeof TransactionLineSalesAllocationModule, typeof TransactionLineSalesInvoiceModule, typeof TransactionLineSalesDeliveryModule, typeof TransactionLineSidePanelToBePickedModule, typeof TransactionLineSidePanelPickedModule, typeof TransactionLineSidePanelDefaultModule], [typeof TransactionLineSidePanelServiceComponent]>;
13845
+ static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSidePanelServiceModule>;
13846
+ }
13847
+
13805
13848
  declare class TransactionLineSidePanelModule {
13806
13849
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSidePanelModule, never>;
13807
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSidePanelModule, [typeof TransactionLineSidePanelComponent], [typeof i2.CommonModule, typeof CoreModule, typeof TransactionLineSidePanelDefaultModule, typeof TransactionReceivingGoodsHistoryModule, typeof PipeModule, typeof i3.ButtonModule, typeof TransactionButtonBarModule, typeof i3.PriceDisplayPipeModule, typeof TransactionConfirmationHistoryModule, typeof TransactionLineSidePanelPurchaseModule, typeof TransactionConfirmationHistoryModule, typeof TransactionLineSidePanelSalesModule, typeof TransactionLineSidePanelArticleDetailsModule, typeof TransactionLineSidePanelInternalDeliveryModule], [typeof TransactionLineSidePanelComponent]>;
13850
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineSidePanelModule, [typeof TransactionLineSidePanelComponent], [typeof i2.CommonModule, typeof CoreModule, typeof TransactionLineSidePanelDefaultModule, typeof TransactionReceivingGoodsHistoryModule, typeof PipeModule, typeof i3.ButtonModule, typeof TransactionButtonBarModule, typeof i3.PriceDisplayPipeModule, typeof TransactionConfirmationHistoryModule, typeof TransactionLineSidePanelPurchaseModule, typeof TransactionConfirmationHistoryModule, typeof TransactionLineSidePanelSalesModule, typeof TransactionLineSidePanelArticleDetailsModule, typeof TransactionLineSidePanelInternalDeliveryModule, typeof TransactionLineSidePanelServiceModule], [typeof TransactionLineSidePanelComponent]>;
13808
13851
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSidePanelModule>;
13809
13852
  }
13810
13853
 
@@ -14303,6 +14346,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14303
14346
  private _transactionBaseService;
14304
14347
  private _changeDetector;
14305
14348
  private _overlayService;
14349
+ private _mappingService;
14306
14350
  private _lineSelection;
14307
14351
  readonly categories: typeof TransactionTypeCategory;
14308
14352
  readonly viewModes: typeof ContentViewMode;
@@ -14378,7 +14422,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14378
14422
  private _salesPersonInputComponentRef;
14379
14423
  private _salesPersonAvatarComponentRef;
14380
14424
  private _containerForFillMode;
14381
- constructor(iconCacheService: IconCacheService, service: TransactionService, deliveryPlanningService: DeliveryPlanningService, transactionHeaderService: TransactionHeaderService, _transactionConnectorService: TransactionConnectorService, _transactionEventService: TransactionEventService, _screenConfigurationService: TransactionScreenConfigurationService, _dialogService: TransactionDialogService, _purchaseConfirmationService: PurchaseConfirmationService, _transactionBaseService: TransactionBaseService, _changeDetector: ChangeDetectorRef, _overlayService: OverlayService, _lineSelection: LineSelectionService);
14425
+ constructor(iconCacheService: IconCacheService, service: TransactionService, deliveryPlanningService: DeliveryPlanningService, transactionHeaderService: TransactionHeaderService, _transactionConnectorService: TransactionConnectorService, _transactionEventService: TransactionEventService, _screenConfigurationService: TransactionScreenConfigurationService, _dialogService: TransactionDialogService, _purchaseConfirmationService: PurchaseConfirmationService, _transactionBaseService: TransactionBaseService, _changeDetector: ChangeDetectorRef, _overlayService: OverlayService, _mappingService: TransactionMappingService, _lineSelection: LineSelectionService);
14382
14426
  ngOnInit(): Promise<void>;
14383
14427
  ngOnDestroy(): void;
14384
14428
  handleButtonBarButtonClicked(button: TransactionBarButton): Promise<void>;
@@ -14433,7 +14477,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
14433
14477
  private _handleCloseSalesPersonInput;
14434
14478
  private _updateUserActionRequired;
14435
14479
  private _commitTransactionSalesPerson;
14436
- private _fetchPlanOrderIfNeeded;
14480
+ private _handlePlanOrderAndActiveCategoryIfNeeded;
14437
14481
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInternalComponent, never>;
14438
14482
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionInternalComponent, "co-transaction-internal", never, { "confirmationAnalysisId": { "alias": "confirmationAnalysisId"; "required": false; }; "posOrderData": { "alias": "posOrderData"; "required": false; }; "transaction": { "alias": "transaction"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showViewModeButtons": { "alias": "showViewModeButtons"; "required": false; }; "transactionPlanning": { "alias": "transactionPlanning"; "required": false; }; "customerPortal": { "alias": "customerPortal"; "required": false; }; "resetActiveRubric": { "alias": "resetActiveRubric"; "required": false; }; "showPresets": { "alias": "showPresets"; "required": false; }; "showQuickAccess": { "alias": "showQuickAccess"; "required": false; }; "showButtonBar": { "alias": "showButtonBar"; "required": false; }; }, { "serviceRequested": "serviceRequested"; }, never, never, false, never>;
14439
14483
  }
@@ -14654,9 +14698,6 @@ declare class TransactionQuickAccessComponent implements OnInit, OnDestroy {
14654
14698
  get transactionKind(): TransactionKind;
14655
14699
  set activeCategory(value: TransactionTypeCategory);
14656
14700
  get activeCategory(): TransactionTypeCategory;
14657
- set planningLines(value: boolean);
14658
- get planningLines(): boolean;
14659
- private _planningLines;
14660
14701
  showClass(): boolean;
14661
14702
  private _activeCategory;
14662
14703
  private _componentRef;
@@ -14669,7 +14710,7 @@ declare class TransactionQuickAccessComponent implements OnInit, OnDestroy {
14669
14710
  ngOnDestroy(): void;
14670
14711
  private _prepareContent;
14671
14712
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionQuickAccessComponent, never>;
14672
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionQuickAccessComponent, "co-transaction-quick-access", never, { "transactionKind": { "alias": "transactionKind"; "required": false; }; "activeCategory": { "alias": "activeCategory"; "required": false; }; "planningLines": { "alias": "planningLines"; "required": false; }; }, {}, never, never, false, never>;
14713
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionQuickAccessComponent, "co-transaction-quick-access", never, { "transactionKind": { "alias": "transactionKind"; "required": false; }; "activeCategory": { "alias": "activeCategory"; "required": false; }; }, {}, never, never, false, never>;
14673
14714
  }
14674
14715
 
14675
14716
  declare class TransactionQuickAccessOrderConfirmationComponent extends TransactionHeaderBaseComponent implements OnInit, OnDestroy {
@@ -16857,6 +16898,7 @@ declare class TransactionServiceOverviewComponent extends TransactionHeaderBaseC
16857
16898
  setCauseCode(causeCode: CauseCode): Promise<void>;
16858
16899
  setEntryType(entryType: CoDomainValue): Promise<void>;
16859
16900
  upsertDocument(doc: CoDocument): Promise<void>;
16901
+ addedDocument(documents: CoDocument[]): Promise<void>;
16860
16902
  deleteDocument(doc: CoDocument): Promise<void>;
16861
16903
  putDocumentInList(doc: CoDocument): void;
16862
16904
  removeDocumentFromList(doc: CoDocument): void;
@@ -17786,6 +17828,7 @@ declare class ServiceWizardServiceFieldsComponent implements OnInit {
17786
17828
  constructor(transactionService: TransactionCreateService);
17787
17829
  ngOnInit(): Promise<void>;
17788
17830
  upsertDocument(document: CoDocument): Promise<void>;
17831
+ addedDocument(docs: CoDocument[]): Promise<void>;
17789
17832
  deleteDocument(document: CoDocument): Promise<void>;
17790
17833
  static ɵfac: i0.ɵɵFactoryDeclaration<ServiceWizardServiceFieldsComponent, never>;
17791
17834
  static ɵcmp: i0.ɵɵComponentDeclaration<ServiceWizardServiceFieldsComponent, "co-service-wizard-service-fields", never, {}, {}, never, never, false, never>;
@@ -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";
@@ -153,7 +153,7 @@
153
153
  .co-collapsible {
154
154
  padding: $tp-transaction-line-side-forms-collapsible-padding;
155
155
  }
156
- .co-form {
156
+ .form-and-buttons-form {
157
157
  display: flex;
158
158
  flex-direction: column;
159
159
  gap: $tp-transaction-line-side-forms-co-form-gap;
@@ -0,0 +1,4 @@
1
+ @include export-module('cc-transaction-line-side-panel-service-layout') {
2
+ .co-transaction-line-side-panel-service {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('cc-transaction-line-side-panel-service-theme') {
2
+ .co-transaction-line-side-panel-service {
3
+ }
4
+ }
@@ -0,0 +1,5 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
5
+ @import "../../transaction-line-sales-allocation/style/material";
@@ -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";
@@ -1,73 +1,73 @@
1
- @import "../../../../style/mixin";
2
-
3
- @include export-module('cc-transaction-quick-access-received-goods-layout') {
4
- .co-transaction-quick-access-received-goods {
5
-
6
- .quick-access-wrapper {
7
- display: flex;
8
- flex-direction: row;
9
- column-gap: 10px;
10
- align-items: start;
11
-
12
- .sub-section-input {
13
- display: flex;
14
- flex-direction: column;
15
- gap: 10px;
16
- }
17
-
18
- .sub-section {
19
- display: flex;
20
- flex-direction: row;
21
- column-gap: 10px;
22
- .checkbox-wrapper {
23
- display: flex;
24
- flex-direction: row;
25
- }
26
-
27
- .dots-wrapper {
28
- display: flex;
29
- transform: scale(0.7);
30
-
31
- .dot {
32
- width: 8px;
33
- height: 8px;
34
- background-color: black;
35
- border-radius: 16px;
36
- transform: scale(0.3);
37
- }
38
- }
39
-
40
- .co-input-date {
41
- min-width: 170px;
42
- }
43
-
44
- .co-input-text {
45
- min-width: 100px;
46
- }
47
-
48
- .button-wrapper {
49
- background: $tp-default-background-accent;
50
- border-radius: $tp-default-border-radius;
51
- padding: 5px;
52
- display: flex;
53
- flex-direction: column;
54
- align-items: center;
55
- justify-content: center;
56
- cursor: pointer;
57
- width: 68px;
58
- height: 46px;
59
-
60
- .button-icon {
61
- height: 20px;
62
- width: 20px;
63
- }
64
-
65
- span {
66
- font-size: 10px;
67
- margin-top: 3px;
68
- }
69
- }
70
- }
71
- }
72
- }
73
- }
1
+ @import "../../../../style/mixin";
2
+
3
+ @include export-module('cc-transaction-quick-access-received-goods-layout') {
4
+ .co-transaction-quick-access-received-goods {
5
+
6
+ .quick-access-wrapper {
7
+ display: flex;
8
+ flex-direction: row;
9
+ column-gap: 10px;
10
+ align-items: start;
11
+
12
+ .sub-section-input {
13
+ display: flex;
14
+ flex-direction: column;
15
+ gap: 10px;
16
+ }
17
+
18
+ .sub-section {
19
+ display: flex;
20
+ flex-direction: row;
21
+ column-gap: 10px;
22
+ .checkbox-wrapper {
23
+ display: flex;
24
+ flex-direction: row;
25
+ }
26
+
27
+ .dots-wrapper {
28
+ display: flex;
29
+ transform: scale(0.7);
30
+
31
+ .dot {
32
+ width: 8px;
33
+ height: 8px;
34
+ background-color: black;
35
+ border-radius: 16px;
36
+ transform: scale(0.3);
37
+ }
38
+ }
39
+
40
+ .co-input-date {
41
+ min-width: 170px;
42
+ }
43
+
44
+ .co-input-text {
45
+ min-width: 100px;
46
+ }
47
+
48
+ .button-wrapper {
49
+ background: $tp-default-background-accent;
50
+ border-radius: $tp-default-border-radius;
51
+ padding: 5px;
52
+ display: flex;
53
+ flex-direction: column;
54
+ align-items: center;
55
+ justify-content: center;
56
+ cursor: pointer;
57
+ width: 68px;
58
+ height: 46px;
59
+
60
+ .button-icon {
61
+ height: 20px;
62
+ width: 20px;
63
+ }
64
+
65
+ span {
66
+ font-size: 10px;
67
+ margin-top: 3px;
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
@@ -1,6 +1,6 @@
1
- @import "../../../../style/mixin";
2
-
3
- @include export-module('cc-transaction-quick-access-received-goods-theme') {
4
- .co-transaction-quick-access-received-goods {
5
- }
6
- }
1
+ @import "../../../../style/mixin";
2
+
3
+ @include export-module('cc-transaction-quick-access-received-goods-theme') {
4
+ .co-transaction-quick-access-received-goods {
5
+ }
6
+ }
@@ -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";