@colijnit/transaction 262.1.51 → 262.1.52
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 +553 -262
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +47 -5
- package/lib/component/transaction-line-side-panel/style/_layout.scss +1 -1
- package/lib/component/transaction-line-side-panel-service/style/_layout.scss +4 -0
- package/lib/component/transaction-line-side-panel-service/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line-side-panel-service/style/_theme.scss +4 -0
- package/lib/component/transaction-line-side-panel-service/style/material.scss +5 -0
- package/lib/component/transaction-warehouse-batch-amount-grid/style/_layout.scss +27 -0
- package/lib/component/transaction-warehouse-batch-amount-grid/style/_material-definition.scss +4 -0
- package/lib/component/transaction-warehouse-batch-amount-grid/style/_theme.scss +4 -0
- package/lib/component/transaction-warehouse-batch-amount-grid/style/material.scss +4 -0
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -299,6 +299,7 @@ import { PdfHistoricPosReceiptRequest } from '@colijnit/transactionapi/build/mod
|
|
|
299
299
|
import { CreatePublicQuoteRequest } from '@colijnit/transactionapi/build/model/create-public-quote-request';
|
|
300
300
|
import { UpsertTransactionStandardTextRequest } from '@colijnit/transactionapi/build/model/upsert-transaction-standard-text-request';
|
|
301
301
|
import { ChangeHeaderExtraDocRequest } from '@colijnit/transactionapi/build/model/change-header-extra-doc-request';
|
|
302
|
+
import { AvailableWarehouseStockPerBatch } from '@colijnit/transactionapi/build/model/available-warehouse-stock-per-batch.bo';
|
|
302
303
|
import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
|
|
303
304
|
import { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/relation-kind.enum';
|
|
304
305
|
import { Relation } from '@colijnit/relationapi/build/model/relation.bo';
|
|
@@ -1521,6 +1522,7 @@ declare class TransactionConnectorAdapterService {
|
|
|
1521
1522
|
createQRCode(width: number, height: number, data: string): Promise<string>;
|
|
1522
1523
|
roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
|
|
1523
1524
|
createPublicQuote(request: CreatePublicQuoteRequest): Promise<number>;
|
|
1525
|
+
getAvailableWarehouseStockPerBatchNrByGoodIdAndBranch(goodId: number, branchNr: string): Promise<AvailableWarehouseStockPerBatch[]>;
|
|
1524
1526
|
getCreatePublicQuoteResponse(request: CreatePublicQuoteRequest): Promise<DataServiceResponseData>;
|
|
1525
1527
|
private _openPdfContent;
|
|
1526
1528
|
private _handleLocalPrintFile;
|
|
@@ -2005,6 +2007,7 @@ declare class TransactionConnectorService {
|
|
|
2005
2007
|
roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
|
|
2006
2008
|
createPublicQuote(request: CreatePublicQuoteRequest): Promise<number>;
|
|
2007
2009
|
getCreatePublicQuoteResponse(request: CreatePublicQuoteRequest): Promise<DataServiceResponseData>;
|
|
2010
|
+
getAvailableWarehouseStockPerBatchNrByGoodIdAndBranch(goodId: number, branchNr: string): Promise<AvailableWarehouseStockPerBatch[]>;
|
|
2008
2011
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionConnectorService, never>;
|
|
2009
2012
|
static ɵprov: i0.ɵɵInjectableDeclaration<TransactionConnectorService>;
|
|
2010
2013
|
}
|
|
@@ -2872,6 +2875,7 @@ declare class TransactionService extends PendingReasonService {
|
|
|
2872
2875
|
cancelPspTransaction(pspTransactionUuid: string): Promise<boolean>;
|
|
2873
2876
|
createQRCode(width: number, height: number, data: string): Promise<string>;
|
|
2874
2877
|
roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
|
|
2878
|
+
getAvailableWarehouseStockPerBatchNrByGoodIdAndBranch(goodId: number, branchNr: string): Promise<AvailableWarehouseStockPerBatch[]>;
|
|
2875
2879
|
protected _handleBeforeRememberCurrentTransaction(transactionInfoResponse: TransactionInfoResponse): Promise<void>;
|
|
2876
2880
|
protected _handleAfterRememberCurrentTransaction(): Promise<void>;
|
|
2877
2881
|
private _checkAndSaveLinesForAIConfirmation;
|
|
@@ -4120,6 +4124,7 @@ declare enum TransactionCfgName {
|
|
|
4120
4124
|
ProjectCode = "projectCode",
|
|
4121
4125
|
TransactionType = "transactionType",
|
|
4122
4126
|
TransTypeField = "transTypeField",
|
|
4127
|
+
RelationOrderDate = "relationOrderDate",
|
|
4123
4128
|
HeaderPaymentAvatarHeader = "headerPaymentAvatarHeader",
|
|
4124
4129
|
HeaderPaymentPercentageHeader = "headerPaymentPercentageHeader",
|
|
4125
4130
|
HeaderPaymentAmountHeader = "headerPaymentAmountHeader",
|
|
@@ -10035,7 +10040,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
|
|
|
10035
10040
|
showCategories: boolean;
|
|
10036
10041
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
10037
10042
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10038
|
-
currentTitle(): "
|
|
10043
|
+
currentTitle(): "OVERVIEW" | "MARGINS";
|
|
10039
10044
|
ngOnDestroy(): void;
|
|
10040
10045
|
handleClickWrapper(event: MouseEvent): void;
|
|
10041
10046
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -10061,7 +10066,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
|
|
|
10061
10066
|
constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
|
|
10062
10067
|
ngOnDestroy(): void;
|
|
10063
10068
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10064
|
-
currentTitle(): "
|
|
10069
|
+
currentTitle(): "OVERVIEW" | "MARGINS";
|
|
10065
10070
|
handleClickWrapper(event: MouseEvent): void;
|
|
10066
10071
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
|
|
10067
10072
|
private handleDocumentClick;
|
|
@@ -10113,7 +10118,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
|
|
|
10113
10118
|
showCategories: boolean;
|
|
10114
10119
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
10115
10120
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10116
|
-
currentTitle(): "
|
|
10121
|
+
currentTitle(): "OVERVIEW" | "MARGINS";
|
|
10117
10122
|
ngOnDestroy(): void;
|
|
10118
10123
|
handleClickWrapper(event: MouseEvent): void;
|
|
10119
10124
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -10575,6 +10580,7 @@ declare class TransactionLineSalesAllocationComponent extends TransactionLineBas
|
|
|
10575
10580
|
constructor(transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _formMaster: FormMasterService, _dialogService: TransactionDialogService);
|
|
10576
10581
|
ngOnInit(): void;
|
|
10577
10582
|
ngOnDestroy(): void;
|
|
10583
|
+
handleLineClicked(line: AvailableWarehouseStockPerBatch): void;
|
|
10578
10584
|
submit(): boolean;
|
|
10579
10585
|
getGoodsAllocationHistory(): Promise<void>;
|
|
10580
10586
|
handleSaveDetailsEdit(): void;
|
|
@@ -10585,9 +10591,31 @@ declare class TransactionLineSalesAllocationComponent extends TransactionLineBas
|
|
|
10585
10591
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineSalesAllocationComponent, "co-transaction-line-sales-allocation", never, {}, {}, never, never, false, never>;
|
|
10586
10592
|
}
|
|
10587
10593
|
|
|
10594
|
+
declare class TransactionWarehouseStockBatchAmountComponent extends TransactionLineBaseComponent {
|
|
10595
|
+
readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
|
|
10596
|
+
set stockComparisonAmount(amount: number);
|
|
10597
|
+
get stockComparisonAmount(): number;
|
|
10598
|
+
lineClicked: EventEmitter<AvailableWarehouseStockPerBatch>;
|
|
10599
|
+
showClass(): boolean;
|
|
10600
|
+
availableWarehouseStockPerBatchCollection: AvailableWarehouseStockPerBatch[];
|
|
10601
|
+
private _stockComparisonAmount;
|
|
10602
|
+
handleLineClicked(line: any): void;
|
|
10603
|
+
checkWarehouseAndAmount: (row: AvailableWarehouseStockPerBatch) => string[];
|
|
10604
|
+
protected transactionLineSet(): void;
|
|
10605
|
+
private _forceGridRedraw;
|
|
10606
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionWarehouseStockBatchAmountComponent, never>;
|
|
10607
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionWarehouseStockBatchAmountComponent, "co-transaction-warehouse-batch-amount", never, { "stockComparisonAmount": { "alias": "stockComparisonAmount"; "required": false; }; }, { "lineClicked": "lineClicked"; }, never, never, false, never>;
|
|
10608
|
+
}
|
|
10609
|
+
|
|
10610
|
+
declare class TransactionWarehouseStockBatchAmountModule {
|
|
10611
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionWarehouseStockBatchAmountModule, never>;
|
|
10612
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionWarehouseStockBatchAmountModule, [typeof TransactionWarehouseStockBatchAmountComponent], [typeof i3.SimpleGridModule, typeof i2.DatePipe, typeof PipeModule], [typeof TransactionWarehouseStockBatchAmountComponent]>;
|
|
10613
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionWarehouseStockBatchAmountModule>;
|
|
10614
|
+
}
|
|
10615
|
+
|
|
10588
10616
|
declare class TransactionLineSalesAllocationModule {
|
|
10589
10617
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSalesAllocationModule, never>;
|
|
10590
|
-
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]>;
|
|
10618
|
+
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]>;
|
|
10591
10619
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSalesAllocationModule>;
|
|
10592
10620
|
}
|
|
10593
10621
|
|
|
@@ -13507,9 +13535,23 @@ declare class TransactionLineSidePanelInternalDeliveryModule {
|
|
|
13507
13535
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSidePanelInternalDeliveryModule>;
|
|
13508
13536
|
}
|
|
13509
13537
|
|
|
13538
|
+
declare class TransactionLineSidePanelServiceComponent extends TransactionLineBaseComponent {
|
|
13539
|
+
readonly categories: typeof TransactionTypeCategory;
|
|
13540
|
+
categoryType: TransactionTypeCategory;
|
|
13541
|
+
showClass(): boolean;
|
|
13542
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSidePanelServiceComponent, never>;
|
|
13543
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineSidePanelServiceComponent, "co-transaction-line-side-panel-service", never, { "categoryType": { "alias": "categoryType"; "required": false; }; }, {}, never, never, false, never>;
|
|
13544
|
+
}
|
|
13545
|
+
|
|
13546
|
+
declare class TransactionLineSidePanelServiceModule {
|
|
13547
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSidePanelServiceModule, never>;
|
|
13548
|
+
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]>;
|
|
13549
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSidePanelServiceModule>;
|
|
13550
|
+
}
|
|
13551
|
+
|
|
13510
13552
|
declare class TransactionLineSidePanelModule {
|
|
13511
13553
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineSidePanelModule, never>;
|
|
13512
|
-
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]>;
|
|
13554
|
+
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]>;
|
|
13513
13555
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineSidePanelModule>;
|
|
13514
13556
|
}
|
|
13515
13557
|
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@include export-module('co-transaction-warehouse-batch-amount-layout') {
|
|
2
|
+
.co-transaction-warehouse-batch-amount {
|
|
3
|
+
width: 100%;
|
|
4
|
+
padding: 15px;
|
|
5
|
+
|
|
6
|
+
.simple-grid-row.correct-warehouse-amount {
|
|
7
|
+
background-color: $co-transaction-warehouse-batch-amount-color-warehouse-amount;
|
|
8
|
+
.simple-grid-column-cell-field {
|
|
9
|
+
background-color: $co-transaction-warehouse-batch-amount-color-warehouse-amount;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.simple-grid-row.correct-amount {
|
|
14
|
+
background-color: $co-transaction-warehouse-batch-amount-color-amount;
|
|
15
|
+
.simple-grid-column-cell-field {
|
|
16
|
+
background-color: $co-transaction-warehouse-batch-amount-color-amount;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.simple-grid-row.incorrect-amount {
|
|
21
|
+
background-color: $co-transaction-warehouse-batch-amount-color-incorrect-amount;
|
|
22
|
+
.simple-grid-column-cell-field {
|
|
23
|
+
background-color: $co-transaction-warehouse-batch-amount-color-incorrect-amount;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
$co-transaction-warehouse-batch-amount-color-warehouse-amount: #37c949 !default;
|
|
2
|
+
$co-transaction-warehouse-batch-amount-color-amount: #DF7C2A !default;
|
|
3
|
+
$co-transaction-warehouse-batch-amount-color-incorrect-amount: #FF4141 !default;
|
|
4
|
+
$co-transaction-warehouse-batch-amount-grid-cell-border-width: 2px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "262.1.
|
|
3
|
+
"version": "262.1.52",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 20",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@colijnit/relationapi": ">=262.1.1",
|
|
20
20
|
"@colijnit/sharedapi": ">=1.0.20",
|
|
21
21
|
"@colijnit/sharedcomponents": ">=262.1.25",
|
|
22
|
-
"@colijnit/transactionapi": ">=262.1.
|
|
22
|
+
"@colijnit/transactionapi": ">=262.1.21"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.8.1"
|