@colijnit/transaction 12.1.124 → 12.1.126
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/bundles/colijnit-transaction.umd.js +146 -46
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/core/base/transaction-filter-popup-base.component.js +3 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +2 -1
- package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +3 -2
- package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +21 -4
- package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.module.js +11 -10
- package/esm2015/lib/component/transaction/transaction.component.js +24 -8
- package/esm2015/lib/component/transaction-header-fields/transaction-header-branch.component.js +2 -2
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.component.js +2 -2
- package/esm2015/lib/component/transaction-header-fields/transaction-header-hold-codes.component.js +2 -2
- package/esm2015/lib/component/transaction-header-fields/transaction-header-marketing.component.js +2 -2
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line-base.component.js +2 -2
- package/esm2015/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.component.js +6 -2
- package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +7 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price-list.component.js +4 -4
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.component.js +7 -7
- package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.js +5 -5
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +7 -5
- package/esm2015/lib/component/transaction-navigation-button/transaction-navigation-button.component.js +2 -2
- package/esm2015/lib/interface/checkbox-list-property.interface.js +2 -0
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/esm2015/lib/service/transaction-base.service.js +21 -6
- package/esm2015/lib/service/transaction-connector-adapter.service.js +15 -2
- package/esm2015/lib/service/transaction-connector.service.js +6 -1
- package/esm2015/lib/service/transaction.service.js +4 -1
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +123 -41
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/transaction-filter-popup-base.component.d.ts +4 -3
- package/lib/component/shared/transaction-article-text/transaction-article-text.component.d.ts +1 -1
- package/lib/component/shared/transaction-article-text-overview/style/_layout.scss +13 -2
- package/lib/component/shared/transaction-article-text-overview/style/_material-definition.scss +2 -0
- package/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.d.ts +8 -1
- package/lib/component/transaction/transaction.component.d.ts +8 -3
- package/lib/component/transaction-header-fields/transaction-header-branch.component.d.ts +2 -1
- package/lib/component/transaction-header-fields/transaction-header-delivery-method.component.d.ts +2 -1
- package/lib/component/transaction-header-fields/transaction-header-hold-codes.component.d.ts +2 -1
- package/lib/component/transaction-header-fields/transaction-header-marketing.component.d.ts +2 -1
- package/lib/component/transaction-labeled-warehouse-location-button/style/_layout.scss +0 -4
- package/lib/component/transaction-line/transaction-line/style/_layout.scss +7 -1
- package/lib/component/transaction-line-checkbox-list/style/_layout.scss +7 -0
- package/lib/component/transaction-line-checkbox-list/style/_material-definition.scss +1 -0
- package/lib/component/transaction-line-fields/transaction-line-commission-code.component.d.ts +2 -1
- package/lib/component/transaction-line-fields/transaction-line-delivery-method.component.d.ts +2 -1
- package/lib/component/transaction-line-fields/transaction-line-price-list.component.d.ts +5 -4
- package/lib/component/transaction-line-fields/transaction-line-supplier.component.d.ts +6 -5
- package/lib/component/transaction-line-fields/transaction-line-vat.component.d.ts +2 -1
- package/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.d.ts +6 -5
- package/lib/component/transaction-line-fields/transaction-line-warehouse.component.d.ts +4 -3
- package/lib/component/transaction-line-purchase-receive-goods/style/_layout.scss +0 -4
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +0 -10
- package/lib/interface/checkbox-list-property.interface.d.ts +5 -0
- package/lib/res/dictionary/dictionaries.d.ts +4 -0
- package/lib/service/transaction-base.service.d.ts +2 -0
- package/lib/service/transaction-connector-adapter.service.d.ts +2 -0
- package/lib/service/transaction-connector.service.d.ts +2 -0
- package/lib/service/transaction.service.d.ts +2 -0
- package/package.json +2 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
3
3
|
import { TransactionBaseComponent } from './transaction-base.component';
|
|
4
|
+
import { CheckboxListPropertyInterface } from '../../../interface/checkbox-list-property.interface';
|
|
4
5
|
export declare abstract class TransactionFilterPopupBaseComponent<T extends BusinessObject | number | string> extends TransactionBaseComponent {
|
|
5
6
|
autoClose: boolean;
|
|
6
7
|
useModel: boolean;
|
|
@@ -13,17 +14,17 @@ export declare abstract class TransactionFilterPopupBaseComponent<T extends Busi
|
|
|
13
14
|
get collection(): T[];
|
|
14
15
|
viewModels: {
|
|
15
16
|
value: any;
|
|
16
|
-
propsForLabel:
|
|
17
|
+
propsForLabel: CheckboxListPropertyInterface[];
|
|
17
18
|
checked: boolean;
|
|
18
19
|
}[];
|
|
19
20
|
viewModelsFiltered: {
|
|
20
21
|
value: any;
|
|
21
|
-
propsForLabel:
|
|
22
|
+
propsForLabel: CheckboxListPropertyInterface[];
|
|
22
23
|
checked: boolean;
|
|
23
24
|
}[];
|
|
24
25
|
protected codeField: string;
|
|
25
26
|
protected checkField: string;
|
|
26
|
-
protected propsForLabel:
|
|
27
|
+
protected propsForLabel: CheckboxListPropertyInterface[];
|
|
27
28
|
private _collection;
|
|
28
29
|
private _searchText;
|
|
29
30
|
commit(value: any): Promise<boolean>;
|
package/lib/component/shared/transaction-article-text/transaction-article-text.component.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export declare class TransactionArticleTextComponent implements OnInit {
|
|
|
43
43
|
ngOnInit(): Promise<void>;
|
|
44
44
|
onOkClick(event: MouseEvent): void;
|
|
45
45
|
onCancelClick(event: MouseEvent): void;
|
|
46
|
-
onSelectStandardText(value:
|
|
46
|
+
onSelectStandardText(value: StandardText): void;
|
|
47
47
|
handleDocumentsChange(codes: number[]): void;
|
|
48
48
|
handleSelectAll(select: boolean): void;
|
|
49
49
|
private _setShowOnDocuments;
|
|
@@ -18,13 +18,19 @@
|
|
|
18
18
|
font-size: $tp-transaction-article-text-overview-font-size;
|
|
19
19
|
display: flex;
|
|
20
20
|
flex-direction: row;
|
|
21
|
-
align-items: $tp-transaction-article-text-overview-align-items;
|
|
22
21
|
background-color: white;
|
|
23
|
-
column-gap: $tp-transaction-article-text-overview-column-gap;
|
|
24
22
|
border: $tp-transaction-article-text-overview-text-border;
|
|
25
23
|
border-width: $tp-transaction-article-text-overview-text-border-width;
|
|
26
24
|
box-shadow: $tp-transaction-article-text-overview-text-shadow-box;
|
|
27
25
|
border-radius: $tp-transaction-article-text-overview-border-radius;
|
|
26
|
+
justify-content: $tp-transaction-article-text-overview-justify-content;
|
|
27
|
+
align-items: center;
|
|
28
|
+
padding-right: 10px;
|
|
29
|
+
.article-text-description-wrapper {
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: $tp-transaction-article-text-overview-align-items;
|
|
32
|
+
column-gap: $tp-transaction-article-text-overview-column-gap;
|
|
33
|
+
}
|
|
28
34
|
.index {
|
|
29
35
|
padding: 10px;
|
|
30
36
|
background-color: $tp-transaction-article-text-overview-index-background-color;
|
|
@@ -34,6 +40,11 @@
|
|
|
34
40
|
max-height: 150px;
|
|
35
41
|
overflow: hidden;
|
|
36
42
|
}
|
|
43
|
+
.delete-icon {
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
width: $tp-transaction-article-text-overview-delete-icon-size;
|
|
46
|
+
height: $tp-transaction-article-text-overview-delete-icon-size;
|
|
47
|
+
}
|
|
37
48
|
&.selected {
|
|
38
49
|
background-color: $tp-transaction-article-text-overview-selected-background-color;
|
|
39
50
|
}
|
package/lib/component/shared/transaction-article-text-overview/style/_material-definition.scss
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
$tp-transaction-article-text-overview-font-family: $tp-font-family !default;
|
|
2
2
|
$tp-transaction-article-text-overview-font-size: $tp-font-size !default;
|
|
3
3
|
$tp-transaction-article-text-overview-align-items: baseline !default;
|
|
4
|
+
$tp-transaction-article-text-overview-justify-content: space-between !default;
|
|
4
5
|
$tp-transaction-article-text-overview-column-gap: 5px !default;
|
|
5
6
|
$tp-transaction-article-text-overview-border-radius: 10px !default;
|
|
6
7
|
$tp-transaction-article-text-overview-hover-background-color: $tp-color-hover !default;
|
|
@@ -11,3 +12,4 @@ $tp-transaction-article-text-overview-text-border-color: $tp-color-border !defau
|
|
|
11
12
|
$tp-transaction-article-text-overview-text-shadow-box: none !default;
|
|
12
13
|
$tp-transaction-article-text-overview-index-background-color: transparent !default;
|
|
13
14
|
$tp-transaction-article-text-overview-buttons-column-gap: 5px !default;
|
|
15
|
+
$tp-transaction-article-text-overview-delete-icon-size: 15px !default;
|
|
@@ -3,9 +3,15 @@ import { TransactionEventService } from '../../../service/transaction-event.serv
|
|
|
3
3
|
import { TransactionService } from '../../../service/transaction.service';
|
|
4
4
|
import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
|
|
5
5
|
import { CdkDrag, CdkDragDrop, CdkDropList } from '@angular/cdk/drag-drop';
|
|
6
|
+
import { Icon } from '../../../enum/icon.enum';
|
|
7
|
+
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
8
|
+
import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
|
|
6
9
|
export declare class TransactionArticleTextOverviewComponent {
|
|
7
10
|
service: TransactionService;
|
|
11
|
+
iconCacheService: IconCacheService;
|
|
8
12
|
private _transactionEventService;
|
|
13
|
+
readonly icons: typeof Icon;
|
|
14
|
+
transactionInfo: TransactionInfo;
|
|
9
15
|
set transactionLine(value: TransactionLineInfo);
|
|
10
16
|
closeClick: EventEmitter<MouseEvent>;
|
|
11
17
|
cancelClick: EventEmitter<MouseEvent>;
|
|
@@ -17,13 +23,14 @@ export declare class TransactionArticleTextOverviewComponent {
|
|
|
17
23
|
header: string;
|
|
18
24
|
selectedIndex: number;
|
|
19
25
|
private _boFactory;
|
|
20
|
-
constructor(service: TransactionService, _transactionEventService: TransactionEventService);
|
|
26
|
+
constructor(service: TransactionService, iconCacheService: IconCacheService, _transactionEventService: TransactionEventService);
|
|
21
27
|
onCancelClick(event: MouseEvent): Promise<void>;
|
|
22
28
|
handleCanDragDrop(drag: CdkDrag, drop: CdkDropList): boolean;
|
|
23
29
|
handleDrop(event: CdkDragDrop<TransactionLineInfo[]>): void;
|
|
24
30
|
handleOpenArticleText(transLine: TransactionLineInfo): void;
|
|
25
31
|
closeArticleText(): void;
|
|
26
32
|
handleSelect(index: number): void;
|
|
33
|
+
deleteArticleTextClick(transLine: TransactionLineInfo): Promise<void>;
|
|
27
34
|
private _hideArticleTextDialog;
|
|
28
35
|
private _getArticleTexts;
|
|
29
36
|
}
|
|
@@ -12,6 +12,7 @@ import { DynamicComponentService } from '../../service/dynamic-component.service
|
|
|
12
12
|
import { TransactionLineSidePanelComponent } from '../transaction-line-side-panel/transaction-line-side-panel.component';
|
|
13
13
|
import { RelationAnyType } from '../../model/relation-any-type';
|
|
14
14
|
import { TransactionEventService } from '../../service/transaction-event.service';
|
|
15
|
+
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
15
16
|
export declare class TransactionComponent implements OnDestroy {
|
|
16
17
|
iconCacheService: IconCacheService;
|
|
17
18
|
service: TransactionService;
|
|
@@ -24,8 +25,10 @@ export declare class TransactionComponent implements OnDestroy {
|
|
|
24
25
|
relation: RelationAnyType;
|
|
25
26
|
set transaction(value: TransactionInfoResponse);
|
|
26
27
|
get transaction(): TransactionInfoResponse;
|
|
27
|
-
set
|
|
28
|
-
get
|
|
28
|
+
set transactionKind(value: TransactionKind);
|
|
29
|
+
get transactionKind(): TransactionKind;
|
|
30
|
+
set transactionNr(value: number);
|
|
31
|
+
get transactionNr(): number;
|
|
29
32
|
showHeader: boolean;
|
|
30
33
|
showQuickAccess: boolean;
|
|
31
34
|
showButtonBar: boolean;
|
|
@@ -42,7 +45,8 @@ export declare class TransactionComponent implements OnDestroy {
|
|
|
42
45
|
historicTransactionLines: TransactionLineInfo[] | null;
|
|
43
46
|
private _subs;
|
|
44
47
|
private _transaction;
|
|
45
|
-
private
|
|
48
|
+
private _transactionKind;
|
|
49
|
+
private _transactionNr;
|
|
46
50
|
constructor(iconCacheService: IconCacheService, service: TransactionService, _appRef: ApplicationRef, _dynamicComponentService: DynamicComponentService, _transactionEventService: TransactionEventService);
|
|
47
51
|
ngOnDestroy(): void;
|
|
48
52
|
handleButtonBarButtonClicked(button: TransactionBarButton): void;
|
|
@@ -66,6 +70,7 @@ export declare class TransactionComponent implements OnDestroy {
|
|
|
66
70
|
showTransactionTextDialog(): void;
|
|
67
71
|
showArticleTextDialog(): void;
|
|
68
72
|
showArticleTextOverviewDialog(): void;
|
|
73
|
+
private _getTransaction;
|
|
69
74
|
private _hideArticleTextDialog;
|
|
70
75
|
private _hideTransactionTextDialog;
|
|
71
76
|
private _hideArticleTextOverviewDialog;
|
|
@@ -8,6 +8,7 @@ import { DictionaryService } from '../../service/dictionary.service';
|
|
|
8
8
|
import { TransactionEventService } from '../../service/transaction-event.service';
|
|
9
9
|
import { IconCacheService } from '../../service/icon-cache.service';
|
|
10
10
|
import { TransactionImageService } from '../../service/transaction-image.service';
|
|
11
|
+
import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
|
|
11
12
|
export declare class TransactionHeaderBranchComponent extends TransactionFilterPopupBaseComponent<BranchLov> {
|
|
12
13
|
transactionEventService: TransactionEventService;
|
|
13
14
|
service: TransactionService;
|
|
@@ -21,7 +22,7 @@ export declare class TransactionHeaderBranchComponent extends TransactionFilterP
|
|
|
21
22
|
branchModel: BranchLov;
|
|
22
23
|
protected codeField: string;
|
|
23
24
|
protected checkField: string;
|
|
24
|
-
protected propsForLabel:
|
|
25
|
+
protected propsForLabel: CheckboxListPropertyInterface[];
|
|
25
26
|
constructor(transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _relationService: RelationService);
|
|
26
27
|
commit(branch: number | RelationSmallObject): Promise<boolean>;
|
|
27
28
|
protected transactionInfoSet(): void;
|
package/lib/component/transaction-header-fields/transaction-header-delivery-method.component.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { DeliveryMethod } from '@colijnit/transactionapi/build/model/delivery-me
|
|
|
3
3
|
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
4
4
|
import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
|
|
5
5
|
import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
|
|
6
|
+
import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
|
|
6
7
|
export declare class TransactionHeaderDeliveryMethodComponent extends TransactionFilterPopupBaseComponent<DeliveryMethod> implements OnInit {
|
|
7
8
|
showAsCarousel: boolean;
|
|
8
9
|
filterOnWizard: boolean;
|
|
@@ -11,7 +12,7 @@ export declare class TransactionHeaderDeliveryMethodComponent extends Transactio
|
|
|
11
12
|
get model(): TransactionLineInfo | TransactionInfo;
|
|
12
13
|
protected codeField: string;
|
|
13
14
|
protected checkField: string;
|
|
14
|
-
protected propsForLabel:
|
|
15
|
+
protected propsForLabel: CheckboxListPropertyInterface[];
|
|
15
16
|
ngOnInit(): void;
|
|
16
17
|
commit(method: string): Promise<boolean>;
|
|
17
18
|
setIndexDeliveryType(idx: number): Promise<void>;
|
package/lib/component/transaction-header-fields/transaction-header-hold-codes.component.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
2
2
|
import { OnHoldCode } from '@colijnit/transactionapi/build/model/on-hold-code.bo';
|
|
3
|
+
import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
|
|
3
4
|
export declare class TransactionHeaderHoldCodesComponent extends TransactionFilterPopupBaseComponent<OnHoldCode> {
|
|
4
5
|
onHoldCodesModel: OnHoldCode[];
|
|
5
6
|
protected codeField: string;
|
|
6
7
|
protected checkField: string;
|
|
7
|
-
protected propsForLabel:
|
|
8
|
+
protected propsForLabel: CheckboxListPropertyInterface[];
|
|
8
9
|
commit(codes: OnHoldCode[]): Promise<boolean>;
|
|
9
10
|
protected transactionInfoSet(): void;
|
|
10
11
|
private _setOnHoldCodesModel;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Marketing } from '@colijnit/transactionapi/build/model/marketing.bo';
|
|
3
3
|
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
4
|
+
import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
|
|
4
5
|
export declare class TransactionHeaderMarketingComponent extends TransactionFilterPopupBaseComponent<Marketing> implements OnInit {
|
|
5
6
|
protected codeField: string;
|
|
6
7
|
protected checkField: string;
|
|
7
|
-
protected propsForLabel:
|
|
8
|
+
protected propsForLabel: CheckboxListPropertyInterface[];
|
|
8
9
|
ngOnInit(): void;
|
|
9
10
|
commit(code: string): Promise<boolean>;
|
|
10
11
|
}
|
|
@@ -41,13 +41,15 @@
|
|
|
41
41
|
display: flex;
|
|
42
42
|
flex-wrap: wrap;
|
|
43
43
|
align-content: flex-start;
|
|
44
|
+
row-gap: $tp-transaction-line-row-gap;
|
|
44
45
|
.column1 {
|
|
45
|
-
max-width: calc((#{$tp-transaction-default-button-width} * 2) + #{$tp-transaction-line-column-gap});
|
|
46
|
+
//max-width: calc((#{$tp-transaction-default-button-width} * 2) + #{$tp-transaction-line-column-gap});
|
|
46
47
|
margin-right: $tp-transaction-line-column-gap;
|
|
47
48
|
display: flex;
|
|
48
49
|
flex-wrap: wrap;
|
|
49
50
|
align-content: flex-start;
|
|
50
51
|
row-gap: $tp-transaction-line-row-gap;
|
|
52
|
+
column-gap: $tp-transaction-line-column-gap;
|
|
51
53
|
co-transaction-line-commission-button {
|
|
52
54
|
margin-right: $tp-transaction-line-column-gap;
|
|
53
55
|
}
|
|
@@ -56,10 +58,14 @@
|
|
|
56
58
|
display: flex;
|
|
57
59
|
flex-direction: column;
|
|
58
60
|
row-gap: $tp-transaction-line-row-gap;
|
|
61
|
+
column-gap: $tp-transaction-line-column-gap;
|
|
59
62
|
margin-right: $tp-transaction-line-column-gap;
|
|
60
63
|
max-width: $tp-transaction-default-button-width-big;
|
|
61
64
|
}
|
|
62
65
|
.column3 {
|
|
66
|
+
display: flex;
|
|
67
|
+
row-gap: $tp-transaction-line-row-gap;
|
|
68
|
+
column-gap: $tp-transaction-line-column-gap;
|
|
63
69
|
margin-right: $tp-transaction-line-column-gap;
|
|
64
70
|
|
|
65
71
|
co-transaction-line-drop-shipment-button {
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
display: flex;
|
|
43
43
|
width: 100%;
|
|
44
44
|
align-items: center;
|
|
45
|
+
padding: $tp-transaction-line-checkbox-list-label-padding;
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
.label {
|
|
@@ -54,6 +55,12 @@
|
|
|
54
55
|
width: $tp-transaction-line-checkbox-list-item-first-column-width;
|
|
55
56
|
flex-shrink: 0;
|
|
56
57
|
}
|
|
58
|
+
&.right {
|
|
59
|
+
text-align: right;
|
|
60
|
+
}
|
|
61
|
+
&.center {
|
|
62
|
+
text-align: center;
|
|
63
|
+
}
|
|
57
64
|
}
|
|
58
65
|
}
|
|
59
66
|
|
|
@@ -9,3 +9,4 @@ $tp-transaction-line-checkbox-list-item-hightlight-font-style: italic !default;
|
|
|
9
9
|
$tp-transaction-line-checkbox-list-item-hightlight-font-color: green !default;
|
|
10
10
|
$tp-transaction-line-checkbox-list-item-hightlight-text-decoration: underline !default;
|
|
11
11
|
$tp-transaction-line-checkbox-list-item-first-column-width: 70px !default;
|
|
12
|
+
$tp-transaction-line-checkbox-list-label-padding: 0 10px !default;
|
package/lib/component/transaction-line-fields/transaction-line-commission-code.component.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { CoDomainValue } from '@colijnit/mainapi/build/model/co-domain-value.bo';
|
|
3
3
|
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
4
|
+
import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
|
|
4
5
|
export declare class TransactionLineCommissionCodeComponent extends TransactionFilterPopupBaseComponent<CoDomainValue> implements OnInit {
|
|
5
6
|
protected codeField: string;
|
|
6
7
|
protected checkField: string;
|
|
7
|
-
protected propsForLabel:
|
|
8
|
+
protected propsForLabel: CheckboxListPropertyInterface[];
|
|
8
9
|
ngOnInit(): void;
|
|
9
10
|
commit(code: string): Promise<boolean>;
|
|
10
11
|
protected transactionLineSet(): void;
|
package/lib/component/transaction-line-fields/transaction-line-delivery-method.component.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { DeliveryMethod } from '@colijnit/transactionapi/build/model/delivery-method.bo';
|
|
3
3
|
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
4
|
+
import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
|
|
4
5
|
export declare class TransactionLineDeliveryMethodComponent extends TransactionFilterPopupBaseComponent<DeliveryMethod> implements OnInit {
|
|
5
6
|
protected codeField: string;
|
|
6
7
|
protected checkField: string;
|
|
7
|
-
protected propsForLabel:
|
|
8
|
+
protected propsForLabel: CheckboxListPropertyInterface[];
|
|
8
9
|
ngOnInit(): void;
|
|
9
10
|
commit(method: string): Promise<boolean>;
|
|
10
11
|
protected transactionInfoSet(): void;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { OnInit } from
|
|
2
|
-
import { PriceList } from
|
|
3
|
-
import { TransactionFilterPopupBaseComponent } from
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { PriceList } from '@colijnit/transactionapi/build/model/price-list';
|
|
3
|
+
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
4
|
+
import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
|
|
4
5
|
export declare class TransactionLinePriceListComponent extends TransactionFilterPopupBaseComponent<PriceList> implements OnInit {
|
|
5
6
|
protected codeField: string;
|
|
6
7
|
protected checkField: string;
|
|
7
|
-
protected propsForLabel:
|
|
8
|
+
protected propsForLabel: CheckboxListPropertyInterface[];
|
|
8
9
|
ngOnInit(): void;
|
|
9
10
|
commit(priceList: string): Promise<boolean>;
|
|
10
11
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { TransactionService } from
|
|
3
|
-
import { TransactionFilterPopupBaseComponent } from
|
|
4
|
-
import { RelationListObject } from
|
|
5
|
-
import { RelationService } from
|
|
2
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
3
|
+
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
4
|
+
import { RelationListObject } from '@colijnit/relationapi/build/model/relation-list-object.bo';
|
|
5
|
+
import { RelationService } from '../../service/relation.service';
|
|
6
6
|
import { DictionaryService } from '../../service/dictionary.service';
|
|
7
7
|
import { TransactionEventService } from '../../service/transaction-event.service';
|
|
8
8
|
import { IconCacheService } from '../../service/icon-cache.service';
|
|
9
9
|
import { TransactionImageService } from '../../service/transaction-image.service';
|
|
10
|
+
import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
|
|
10
11
|
export declare class TransactionLineSupplierComponent extends TransactionFilterPopupBaseComponent<RelationListObject> implements OnInit {
|
|
11
12
|
transactionEventService: TransactionEventService;
|
|
12
13
|
service: TransactionService;
|
|
@@ -17,7 +18,7 @@ export declare class TransactionLineSupplierComponent extends TransactionFilterP
|
|
|
17
18
|
private _relationService;
|
|
18
19
|
protected codeField: string;
|
|
19
20
|
protected checkField: string;
|
|
20
|
-
protected propsForLabel:
|
|
21
|
+
protected propsForLabel: CheckboxListPropertyInterface[];
|
|
21
22
|
constructor(transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _relationService: RelationService);
|
|
22
23
|
ngOnInit(): void;
|
|
23
24
|
commit(id: number): Promise<boolean>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Vat } from '@colijnit/transactionapi/build/model/vat';
|
|
3
3
|
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
4
|
+
import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
|
|
4
5
|
export declare class TransactionLineVatComponent extends TransactionFilterPopupBaseComponent<Vat> implements OnInit {
|
|
5
6
|
protected codeField: string;
|
|
6
7
|
protected checkField: string;
|
|
7
|
-
protected propsForLabel:
|
|
8
|
+
protected propsForLabel: CheckboxListPropertyInterface[];
|
|
8
9
|
ngOnInit(): void;
|
|
9
10
|
commit(id: number): Promise<boolean>;
|
|
10
11
|
protected transactionInfoSet(): void;
|
package/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { StockLocation } from
|
|
3
|
-
import { ArticleService } from
|
|
4
|
-
import { TransactionFilterPopupBaseComponent } from
|
|
5
|
-
import { TransactionService } from
|
|
2
|
+
import { StockLocation } from '@colijnit/articleapi/build/model/stock-location.bo';
|
|
3
|
+
import { ArticleService } from '../../service/article.service';
|
|
4
|
+
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
5
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
6
6
|
import { DictionaryService } from '../../service/dictionary.service';
|
|
7
7
|
import { TransactionEventService } from '../../service/transaction-event.service';
|
|
8
8
|
import { IconCacheService } from '../../service/icon-cache.service';
|
|
9
9
|
import { TransactionImageService } from '../../service/transaction-image.service';
|
|
10
|
+
import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
|
|
10
11
|
export declare class TransactionLineWarehouseLocationComponent extends TransactionFilterPopupBaseComponent<StockLocation> implements OnInit {
|
|
11
12
|
transactionEventService: TransactionEventService;
|
|
12
13
|
service: TransactionService;
|
|
@@ -17,7 +18,7 @@ export declare class TransactionLineWarehouseLocationComponent extends Transacti
|
|
|
17
18
|
private _articleService;
|
|
18
19
|
warehouseNr: number;
|
|
19
20
|
protected codeField: string;
|
|
20
|
-
protected propsForLabel:
|
|
21
|
+
protected propsForLabel: CheckboxListPropertyInterface[];
|
|
21
22
|
constructor(transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _articleService: ArticleService);
|
|
22
23
|
ngOnInit(): void;
|
|
23
24
|
commit(locationNr: string): Promise<boolean>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Warehouse } from '@colijnit/transactionapi/build/model/warehouse.bo';
|
|
3
2
|
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
4
|
-
|
|
3
|
+
import { WarehouseStockInfo } from '@colijnit/transactionapi/build/model/warehouse-stock-info.bo';
|
|
4
|
+
import { CheckboxListPropertyInterface } from '../../interface/checkbox-list-property.interface';
|
|
5
|
+
export declare class TransactionLineWarehouseComponent extends TransactionFilterPopupBaseComponent<WarehouseStockInfo> implements OnInit {
|
|
5
6
|
protected codeField: string;
|
|
6
7
|
protected checkField: string;
|
|
7
|
-
protected propsForLabel:
|
|
8
|
+
protected propsForLabel: CheckboxListPropertyInterface[];
|
|
8
9
|
ngOnInit(): void;
|
|
9
10
|
commit(warehouse: number): Promise<boolean>;
|
|
10
11
|
protected transactionLineSet(): void;
|
|
@@ -33,16 +33,6 @@
|
|
|
33
33
|
min-width: 100px;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.co-transaction-line-warehouse-location-button {
|
|
37
|
-
.transaction-line-button {
|
|
38
|
-
height: 45px;
|
|
39
|
-
width: 100px;
|
|
40
|
-
.co-icon {
|
|
41
|
-
padding: 13px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
36
|
.button-wrapper {
|
|
47
37
|
background: $tp-default-background-accent;
|
|
48
38
|
border-radius: $tp-default-border-radius;
|
|
@@ -3338,6 +3338,7 @@ export declare class Dictionaries {
|
|
|
3338
3338
|
DEACTIVATED: string;
|
|
3339
3339
|
DEBET: string;
|
|
3340
3340
|
DEBETCREDIT: string;
|
|
3341
|
+
DEBIT_CREDIT_ERROR_MESSAGE: string;
|
|
3341
3342
|
DEBIT_CREDIT_SHORT: string;
|
|
3342
3343
|
DEBTOR_NUMBER: string;
|
|
3343
3344
|
DEBUG_LEVEL: string;
|
|
@@ -6871,6 +6872,7 @@ export declare class Dictionaries {
|
|
|
6871
6872
|
SCHEDULED_PROCESSING: string;
|
|
6872
6873
|
SCHEDULE_EXPLANATION: string;
|
|
6873
6874
|
SCENARIO: string;
|
|
6875
|
+
SCENARIO_AMOUNT: string;
|
|
6874
6876
|
SCENARIO_BOOKINGS: string;
|
|
6875
6877
|
SCENARIO_DESCRIPTION: string;
|
|
6876
6878
|
SCHEMA: string;
|
|
@@ -11489,6 +11491,7 @@ export declare class Dictionaries {
|
|
|
11489
11491
|
DEACTIVATED: string;
|
|
11490
11492
|
DEBET: string;
|
|
11491
11493
|
DEBETCREDIT: string;
|
|
11494
|
+
DEBIT_CREDIT_ERROR_MESSAGE: string;
|
|
11492
11495
|
DEBIT_CREDIT: string;
|
|
11493
11496
|
DEBIT_CREDIT_SHORT: string;
|
|
11494
11497
|
DEBTOR_NUMBER: string;
|
|
@@ -15459,6 +15462,7 @@ export declare class Dictionaries {
|
|
|
15459
15462
|
SCHEDULED_PROCESSING: string;
|
|
15460
15463
|
SCHEDULE_EXPLANATION: string;
|
|
15461
15464
|
SCENARIO: string;
|
|
15465
|
+
SCENARIO_AMOUNT: string;
|
|
15462
15466
|
SCENARIO_BOOKINGS: string;
|
|
15463
15467
|
SCENARIO_DESCRIPTION: string;
|
|
15464
15468
|
SCHEMA: string;
|
|
@@ -87,6 +87,7 @@ export declare class TransactionBaseService {
|
|
|
87
87
|
rollback(): Promise<boolean>;
|
|
88
88
|
searchTransactions(request: TransactionSearchViewRequest): Promise<TransactionSearchResult>;
|
|
89
89
|
getTransactionById(transactionId: number): Promise<void>;
|
|
90
|
+
getTransactionByNrAndKind(transactionNr: number, transactionKind: TransactionKind): Promise<void>;
|
|
90
91
|
getRefreshedTransactionFromDatabase(transactionId: number): Promise<void>;
|
|
91
92
|
tryToLockTransaction(id: number, version: number, secondAttempt?: boolean): Promise<boolean>;
|
|
92
93
|
getTransactionInfo(transId: number, lineId: number): Promise<TransactionInfoHistory[]>;
|
|
@@ -99,6 +100,7 @@ export declare class TransactionBaseService {
|
|
|
99
100
|
protected _handleAfterRememberCurrentTransaction(transactionInfoResponse: TransactionInfoResponse): Promise<void>;
|
|
100
101
|
protected initializeTransaction(): void;
|
|
101
102
|
protected _isValidTransaction(): boolean;
|
|
103
|
+
private _resetLockTransaction;
|
|
102
104
|
private _lockTransaction;
|
|
103
105
|
private _getRelationClass;
|
|
104
106
|
private _getRelation;
|
|
@@ -82,6 +82,7 @@ import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
|
|
|
82
82
|
import { Currency } from '@colijnit/mainapi/build/model/currency.bo';
|
|
83
83
|
import { PaymentCondition } from '@colijnit/mainapi/build/model/payment-condition.bo';
|
|
84
84
|
import { PspTransactionStatus } from '@colijnit/transactionapi/build/model/psp-transaction-status.bo';
|
|
85
|
+
import { WarehouseStockInfo } from '@colijnit/transactionapi/build/model/warehouse-stock-info.bo';
|
|
85
86
|
export declare class TransactionConnectorAdapterService {
|
|
86
87
|
private _optionsService;
|
|
87
88
|
private _selectMultipleCacheService;
|
|
@@ -127,6 +128,7 @@ export declare class TransactionConnectorAdapterService {
|
|
|
127
128
|
getTags(category: number): Promise<Tag[]>;
|
|
128
129
|
getOnHoldCodes(): Promise<OnHoldCode[]>;
|
|
129
130
|
getWarehouses(branchNr?: string): Promise<Warehouse[]>;
|
|
131
|
+
getWarehouseStockInfoByGoodAndBranch(goodId: number, branchNr: string): Promise<WarehouseStockInfo[]>;
|
|
130
132
|
getHistoricStateValues(): Promise<CodeDescription[]>;
|
|
131
133
|
getPaymentMethods(branchNr: string): Promise<PaymentMethod[]>;
|
|
132
134
|
commit(): Promise<boolean>;
|
|
@@ -76,6 +76,7 @@ import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
|
|
|
76
76
|
import { Currency } from '@colijnit/mainapi/build/model/currency.bo';
|
|
77
77
|
import { PaymentCondition } from '@colijnit/mainapi/build/model/payment-condition.bo';
|
|
78
78
|
import { SelectSingleParameterizedCacheService } from '../cache/service/select-single-parameterized-cache.service';
|
|
79
|
+
import { WarehouseStockInfo } from '@colijnit/transactionapi/build/model/warehouse-stock-info.bo';
|
|
79
80
|
export declare class TransactionConnectorService {
|
|
80
81
|
private _adapterService;
|
|
81
82
|
private _selectSingleCacheService;
|
|
@@ -137,6 +138,7 @@ export declare class TransactionConnectorService {
|
|
|
137
138
|
getTags(category: number): Promise<Tag[]>;
|
|
138
139
|
getOnHoldCodes(): Promise<OnHoldCode[]>;
|
|
139
140
|
getWarehouses(branchNr?: string): Promise<Warehouse[]>;
|
|
141
|
+
getWarehouseStockInfoByGoodAndBranch(goodId: number, branchNr: string): Promise<WarehouseStockInfo[]>;
|
|
140
142
|
getHistoricStateValues(): Promise<CodeDescription[]>;
|
|
141
143
|
changeTransactionLineCommissionCode(uuid: string, lineUuid: string, code: string): Promise<TransactionInfoResponse>;
|
|
142
144
|
changeTransactionLineSupplier(uuid: string, lineUuid: string, id: number): Promise<TransactionInfoResponse>;
|
|
@@ -64,6 +64,7 @@ import { HistoricReport } from '@colijnit/transactionapi/build/model/historic-re
|
|
|
64
64
|
import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
|
|
65
65
|
import { Currency } from '@colijnit/mainapi/build/model/currency.bo';
|
|
66
66
|
import { PaymentCondition } from '@colijnit/mainapi/build/model/payment-condition.bo';
|
|
67
|
+
import { WarehouseStockInfo } from '@colijnit/transactionapi/build/model/warehouse-stock-info.bo';
|
|
67
68
|
export declare class TransactionService extends PendingReasonService {
|
|
68
69
|
private readonly _createTransactionMethods;
|
|
69
70
|
private readonly _relationKindFromTransactionKind;
|
|
@@ -163,6 +164,7 @@ export declare class TransactionService extends PendingReasonService {
|
|
|
163
164
|
getTags(category: number): Promise<Tag[]>;
|
|
164
165
|
getOnHoldCodes(): Promise<OnHoldCode[]>;
|
|
165
166
|
getWarehouses(): Promise<Warehouse[]>;
|
|
167
|
+
getWarehouseStockInfoByGoodAndBranch(goodId: number): Promise<WarehouseStockInfo[]>;
|
|
166
168
|
getHistoricStateValues(): Promise<CodeDescription[]>;
|
|
167
169
|
getCustomerGroups(): Promise<CustomerGroup[]>;
|
|
168
170
|
lockPurchasePortalLines(transIdPurchase: number, lineId: number): Promise<boolean>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.126",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 12",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@colijnit/relationapi": ">=1.0.6",
|
|
19
19
|
"@colijnit/sharedapi": ">=1.0.10",
|
|
20
20
|
"@colijnit/sharedcomponents": ">=1.0.40",
|
|
21
|
-
"@colijnit/transactionapi": ">=1.1.
|
|
21
|
+
"@colijnit/transactionapi": ">=1.1.82",
|
|
22
22
|
"@syncfusion/ej2-angular-buttons": ">=19.3.44",
|
|
23
23
|
"@syncfusion/ej2-angular-calendars": ">=19.3.44",
|
|
24
24
|
"@syncfusion/ej2-angular-dropdowns": ">=19.3.45",
|