@colijnit/transaction 262.1.0 → 262.1.2
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 +569 -428
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +24 -7
- package/lib/component/returns/return-wizard/return-lines-wizard/style/_layout.scss +5 -1
- package/lib/component/transaction-search/transaction-search-result/style/_layout.scss +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -295,6 +295,7 @@ import { AddSalesReturnLineRequest } from '@colijnit/transactionapi/build/model/
|
|
|
295
295
|
import { DiscountCode } from '@colijnit/transactionapi/build/model/discount-code.bo';
|
|
296
296
|
import { SetTransactionDiscountsRequest } from '@colijnit/transactionapi/build/model/set-transaction-discounts-request';
|
|
297
297
|
import { ChangeLineDiscountRequest } from '@colijnit/transactionapi/build/model/change-line-discount-request';
|
|
298
|
+
import { SuggestedReceiptLocation } from '@colijnit/transactionapi/build/model/suggested-receipt-location';
|
|
298
299
|
import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
|
|
299
300
|
import { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/relation-kind.enum';
|
|
300
301
|
import { Relation } from '@colijnit/relationapi/build/model/relation.bo';
|
|
@@ -1208,6 +1209,7 @@ declare class TransactionConnectorAdapterService {
|
|
|
1208
1209
|
getGoodsReceiptHistory(transId: number, lineNr: number): Promise<GoodsReceiptHistory>;
|
|
1209
1210
|
receiveGoodsForPurchaseOrder(request: ReceiveGoodsForOrderRequest): Promise<TransactionInfoResponse>;
|
|
1210
1211
|
receiveGoodsForInterbranchOrder(request: ReceiveGoodsForOrderRequest): Promise<TransactionInfoResponse>;
|
|
1212
|
+
getSuggestedReceiptLocationsByTransId(transId: number): Promise<SuggestedReceiptLocation[]>;
|
|
1211
1213
|
printPackageSticker(printRequest: PrintPackageStickerRequest): Promise<void>;
|
|
1212
1214
|
pdfPackageSticker(pdfRequest: PdfPackageStickerRequest, localPrint: boolean): Promise<void>;
|
|
1213
1215
|
printReservationSticker(printRequest: PrintReservationStickerRequest): Promise<void>;
|
|
@@ -1699,6 +1701,7 @@ declare class TransactionConnectorService {
|
|
|
1699
1701
|
receiveGoodsForPurchaseOrder(request: ReceiveGoodsForOrderRequest): Promise<TransactionInfoResponse>;
|
|
1700
1702
|
receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<TransactionInfoResponse>;
|
|
1701
1703
|
receiveGoodsForInterBranchOrder(request: ReceiveGoodsForOrderRequest): Promise<TransactionInfoResponse>;
|
|
1704
|
+
getSuggestedReceiptLocationsByTransId(transId: number): Promise<SuggestedReceiptLocation[]>;
|
|
1702
1705
|
printPackageSticker(printRequest: PrintPackageStickerRequest): Promise<void>;
|
|
1703
1706
|
pdfPackageSticker(pdfRequest: PdfPackageStickerRequest, localPrint: boolean): Promise<void>;
|
|
1704
1707
|
printReservationSticker(printRequest: PrintReservationStickerRequest): Promise<void>;
|
|
@@ -2332,6 +2335,7 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
|
|
|
2332
2335
|
prepareReceiveGoodsWithDataTerminalInternalParam(): void;
|
|
2333
2336
|
preparePrintColliStickerDefault(): void;
|
|
2334
2337
|
getInternalParameter(param: InternalParam): Promise<boolean>;
|
|
2338
|
+
getCashLimitValue(param: InternalParam): Promise<number>;
|
|
2335
2339
|
getInternalDefault(param: InternalDefault): Promise<string>;
|
|
2336
2340
|
checkTransactionValidity(): Promise<boolean>;
|
|
2337
2341
|
createNewRelation(): void;
|
|
@@ -2551,6 +2555,7 @@ declare class TransactionService extends PendingReasonService {
|
|
|
2551
2555
|
receiveGoodsForPurchaseOrder(transactionId: number, version: number, request: ReceiveGoodsForOrderRequest): Promise<boolean>;
|
|
2552
2556
|
receiveGoodsForPurchaseOrderCorrection(transactionId: number, version: number, request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<boolean>;
|
|
2553
2557
|
receiveGoodsForInterBranchOrder(transactionId: number, version: number, request: ReceiveGoodsForOrderRequest): Promise<boolean>;
|
|
2558
|
+
getSuggestedReceiptLocationsByTransId(transId: number): Promise<SuggestedReceiptLocation[]>;
|
|
2554
2559
|
printPackageSticker(printRequest: PrintPackageStickerRequest): Promise<void>;
|
|
2555
2560
|
pdfPackageSticker(pdfRequest: PdfPackageStickerRequest, localPrint?: boolean): Promise<void>;
|
|
2556
2561
|
printReservationSticker(printRequest: PrintReservationStickerRequest): Promise<void>;
|
|
@@ -4642,6 +4647,8 @@ declare class TransactionLineService {
|
|
|
4642
4647
|
lineQuantityPurchaseConfirmed: number;
|
|
4643
4648
|
lineQuantityTransportNotification: number;
|
|
4644
4649
|
lineQuantityInvoiceControl: number;
|
|
4650
|
+
lineQuantitySignedOff: number;
|
|
4651
|
+
lineQuantityReturnRequested: number;
|
|
4645
4652
|
decimals: number;
|
|
4646
4653
|
isText: boolean;
|
|
4647
4654
|
isArticle: boolean;
|
|
@@ -4965,7 +4972,6 @@ declare class TransactionArticleTextComponent implements OnInit, AfterViewInit,
|
|
|
4965
4972
|
documents: FilterItemViewmodel[];
|
|
4966
4973
|
orderLineSetCategories: OrderLineSetCategory[];
|
|
4967
4974
|
showOnDocuments: number[];
|
|
4968
|
-
amount: number;
|
|
4969
4975
|
color: string;
|
|
4970
4976
|
title: string;
|
|
4971
4977
|
selectAll: boolean;
|
|
@@ -5027,11 +5033,11 @@ declare class TransactionLineImageAndDescriptionComponent extends TransactionLin
|
|
|
5027
5033
|
get activeRubric(): TransactionTypeCategory;
|
|
5028
5034
|
showDivider: boolean;
|
|
5029
5035
|
showExpandButton: boolean;
|
|
5030
|
-
private _shouldCheckExpandable;
|
|
5031
5036
|
expandClicked(): void;
|
|
5032
5037
|
image: string;
|
|
5033
5038
|
imageAndDescriptionConfigNames: ImageAndDescriptionCfgNames;
|
|
5034
5039
|
private _subs;
|
|
5040
|
+
private _shouldCheckExpandable;
|
|
5035
5041
|
ngOnInit(): void;
|
|
5036
5042
|
ngAfterViewChecked(): void;
|
|
5037
5043
|
ngOnDestroy(): void;
|
|
@@ -7241,6 +7247,7 @@ declare class QuestionAnswerComponent {
|
|
|
7241
7247
|
onChangeAnswer(changedAnswer: ServiceWizardAnswer): void;
|
|
7242
7248
|
onQaResultChange(newVResult: QaResult): void;
|
|
7243
7249
|
onWizardFinished(wizardFinished: boolean): void;
|
|
7250
|
+
resetResult(): void;
|
|
7244
7251
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionAnswerComponent, never>;
|
|
7245
7252
|
static ɵcmp: i0.ɵɵComponentDeclaration<QuestionAnswerComponent, "co-question-answer-item", never, { "question": { "alias": "question"; "required": false; }; "answers": { "alias": "answers"; "required": false; }; }, { "qaResultChange": "qaResultChange"; "wizardFinished": "wizardFinished"; }, never, never, false, never>;
|
|
7246
7253
|
}
|
|
@@ -7254,6 +7261,7 @@ interface QaResult {
|
|
|
7254
7261
|
|
|
7255
7262
|
declare class ServiceWizardQaComponent implements OnInit {
|
|
7256
7263
|
transactionService: TransactionService;
|
|
7264
|
+
qaComponent: QuestionAnswerComponent;
|
|
7257
7265
|
wizardFinished: EventEmitter<string>;
|
|
7258
7266
|
skipWizard: EventEmitter<void>;
|
|
7259
7267
|
serviceWizardQuestion: ServiceWizardQuestion;
|
|
@@ -7262,7 +7270,9 @@ declare class ServiceWizardQaComponent implements OnInit {
|
|
|
7262
7270
|
ngOnInit(): Promise<void>;
|
|
7263
7271
|
onQaResultChange(newVResult: QaResult): void;
|
|
7264
7272
|
onWizardFinished(wizardFinished: boolean): void;
|
|
7265
|
-
|
|
7273
|
+
resetWizard(): void;
|
|
7274
|
+
private getServiceWizard;
|
|
7275
|
+
private buildQAString;
|
|
7266
7276
|
static ɵfac: i0.ɵɵFactoryDeclaration<ServiceWizardQaComponent, never>;
|
|
7267
7277
|
static ɵcmp: i0.ɵɵComponentDeclaration<ServiceWizardQaComponent, "co-service-wizard-qa", never, {}, { "wizardFinished": "wizardFinished"; "skipWizard": "skipWizard"; }, never, never, false, never>;
|
|
7268
7278
|
}
|
|
@@ -8403,7 +8413,7 @@ declare class TransactionGoodsAllocationLineComponent extends TransactionLineBas
|
|
|
8403
8413
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionGoodsAllocationLineComponent, "co-transaction-goods-allocation-line", never, { "lineIndex": { "alias": "lineIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
8404
8414
|
}
|
|
8405
8415
|
|
|
8406
|
-
declare class TransactionLineWarehouseLocationButtonComponent extends TransactionLineBaseComponent {
|
|
8416
|
+
declare class TransactionLineWarehouseLocationButtonComponent extends TransactionLineBaseComponent implements OnInit {
|
|
8407
8417
|
transactionHeaderService: TransactionHeaderService;
|
|
8408
8418
|
transactionLineService: TransactionLineService;
|
|
8409
8419
|
transactionEventService: TransactionEventService;
|
|
@@ -8413,18 +8423,20 @@ declare class TransactionLineWarehouseLocationButtonComponent extends Transactio
|
|
|
8413
8423
|
protected dictionaryService: DictionaryService;
|
|
8414
8424
|
protected imageService: TransactionImageService;
|
|
8415
8425
|
protected changeDetector: ChangeDetectorRef;
|
|
8416
|
-
private _dialogService;
|
|
8417
8426
|
private _articleService;
|
|
8418
8427
|
readonly icons: typeof Icon;
|
|
8419
8428
|
showDialogLocation: boolean;
|
|
8429
|
+
suggestedReceiptLocations: SuggestedReceiptLocation[];
|
|
8420
8430
|
inputLabel: boolean;
|
|
8421
8431
|
showClass(): boolean;
|
|
8422
|
-
constructor(transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef,
|
|
8432
|
+
constructor(transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _articleService: ArticleService);
|
|
8433
|
+
ngOnInit(): Promise<void>;
|
|
8423
8434
|
openWarehouseLocationDialog(event: MouseEvent): Promise<void>;
|
|
8424
8435
|
protected transactionLineSet(): void;
|
|
8425
8436
|
private _checkLocationValidity;
|
|
8426
8437
|
private _setDefaultLocationIfExistInWarehouse;
|
|
8427
8438
|
private _locationExistInWarehouse;
|
|
8439
|
+
private _populateSuggestedReceiptLocations;
|
|
8428
8440
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineWarehouseLocationButtonComponent, never>;
|
|
8429
8441
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineWarehouseLocationButtonComponent, "co-transaction-line-warehouse-location-button", never, { "inputLabel": { "alias": "inputLabel"; "required": false; }; }, {}, never, never, false, never>;
|
|
8430
8442
|
}
|
|
@@ -9530,6 +9542,7 @@ declare class TransactionLineAssemblyTimeComponent extends TransactionLineBaseCo
|
|
|
9530
9542
|
private _editMode;
|
|
9531
9543
|
commit(): Promise<boolean>;
|
|
9532
9544
|
handleChangeEditMode(): void;
|
|
9545
|
+
handleAssemblyTimeChange(time: number): void;
|
|
9533
9546
|
protected transactionLineSet(): void;
|
|
9534
9547
|
cancelClicked(): void;
|
|
9535
9548
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineAssemblyTimeComponent, never>;
|
|
@@ -13997,6 +14010,7 @@ declare class TransactionHeaderPaymentComponent extends TransactionHeaderBaseCom
|
|
|
13997
14010
|
toPay: number;
|
|
13998
14011
|
remainingToPay: number;
|
|
13999
14012
|
showRemainingPayment: boolean;
|
|
14013
|
+
needRefreshTransaction: boolean;
|
|
14000
14014
|
private _subs;
|
|
14001
14015
|
constructor(transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _paymentConnectorService: TransactionPaymentConnectorService);
|
|
14002
14016
|
ngOnInit(): void;
|
|
@@ -16362,18 +16376,21 @@ declare class TransactionLineActivitiesComponent implements OnInit {
|
|
|
16362
16376
|
declare class TransactionLineActivitiesContactMomentsComponent implements OnInit, OnDestroy {
|
|
16363
16377
|
transactionService: TransactionService;
|
|
16364
16378
|
transactionEventService: TransactionEventService;
|
|
16379
|
+
private _changeDetector;
|
|
16365
16380
|
contactMoments: ContactMoment[];
|
|
16366
16381
|
addingContactMoment: boolean;
|
|
16367
16382
|
subs: Subscription[];
|
|
16383
|
+
contactMoment: ContactMoment;
|
|
16368
16384
|
table: TableName;
|
|
16369
16385
|
key: string;
|
|
16370
16386
|
showClass(): boolean;
|
|
16371
|
-
constructor(transactionService: TransactionService, transactionEventService: TransactionEventService);
|
|
16387
|
+
constructor(transactionService: TransactionService, transactionEventService: TransactionEventService, _changeDetector: ChangeDetectorRef);
|
|
16372
16388
|
ngOnInit(): void;
|
|
16373
16389
|
ngOnDestroy(): void;
|
|
16374
16390
|
handleDialogClose(event: void): void;
|
|
16375
16391
|
handleSaveContactMoment(contactMoment: ContactMoment): void;
|
|
16376
16392
|
makeRequest(): MergeContactMomentsRequest;
|
|
16393
|
+
handleEditContactMoment(contactMoment: ContactMoment): void;
|
|
16377
16394
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineActivitiesContactMomentsComponent, never>;
|
|
16378
16395
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineActivitiesContactMomentsComponent, "co-transaction-line-activities-contact-moments", never, { "table": { "alias": "table"; "required": false; }; "key": { "alias": "key"; "required": false; }; }, {}, never, never, true, never>;
|
|
16379
16396
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
row-gap: 10px;
|
|
7
7
|
|
|
8
8
|
.lines-wizard-sub-title {
|
|
9
|
+
margin-top: 30px;
|
|
9
10
|
font-weight: bold;
|
|
10
11
|
}
|
|
11
12
|
|
|
@@ -17,7 +18,10 @@
|
|
|
17
18
|
min-height: 150px;
|
|
18
19
|
overflow-x: auto;
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
co-drag-drop-container {
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: row;
|
|
24
|
+
column-gap: 20px;
|
|
21
25
|
padding-top: 30px;
|
|
22
26
|
position: relative;
|
|
23
27
|
margin-top: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "262.1.
|
|
3
|
+
"version": "262.1.2",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 20",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"@colijnit/relation": ">=262.1.0",
|
|
19
19
|
"@colijnit/relationapi": ">=262.1.0",
|
|
20
20
|
"@colijnit/sharedapi": ">=1.0.20",
|
|
21
|
-
"@colijnit/sharedcomponents": ">=262.1.
|
|
22
|
-
"@colijnit/transactionapi": ">=262.1.
|
|
21
|
+
"@colijnit/sharedcomponents": ">=262.1.2",
|
|
22
|
+
"@colijnit/transactionapi": ">=262.1.2"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.8.1"
|