@colijnit/transaction 12.1.72 → 12.1.73
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 +396 -176
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/assets/dictionary/text.properties.js +37 -1
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +17 -4
- package/esm2015/lib/component/checkout/checkout.component.js +11 -6
- package/esm2015/lib/component/core/base/transaction-filter-content-base.component.js +3 -2
- package/esm2015/lib/component/core/base/transaction-line-base.component.js +4 -3
- package/esm2015/lib/component/relation/relation-base.component.js +4 -1
- package/esm2015/lib/component/relation/relation-general/relation-general.component.js +6 -4
- package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.js +4 -23
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +2 -4
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +10 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-button.component.js +14 -4
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +1 -4
- package/esm2015/lib/component/transaction-search/transaction-filter-content/enum/search-placeholder.enum.js +27 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.component.js +7 -3
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.component.js +6 -3
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.js +8 -3
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.component.js +23 -18
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.component.js +133 -130
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.js +44 -38
- package/esm2015/lib/component/transaction-search/transaction-filter-item/transaction-filter-item.component.js +3 -2
- package/esm2015/lib/service/error.service.js +17 -1
- package/esm2015/lib/service/pending-reason.service.js +17 -11
- package/esm2015/lib/service/relation-connector.service.js +31 -1
- package/esm2015/lib/service/relation.service.js +40 -2
- package/esm2015/lib/service/transaction-connector-adapter.service.js +17 -1
- package/esm2015/lib/service/transaction-connector.service.js +6 -1
- package/esm2015/lib/service/transaction.service.js +14 -5
- package/fesm2015/colijnit-transaction.js +565 -343
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +8 -4
- package/lib/component/checkout/checkout.component.d.ts +2 -0
- package/lib/component/core/base/transaction-filter-content-base.component.d.ts +2 -1
- package/lib/component/relation/relation-base.component.d.ts +3 -1
- package/lib/component/relation/relation-general/relation-general.component.d.ts +2 -0
- package/lib/component/relation/relation-general/style/_layout.scss +1 -0
- package/lib/component/transaction-confirmation-details/style/_layout.scss +0 -16
- package/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.d.ts +0 -4
- package/lib/component/transaction-confirmation-history/style/_layout.scss +0 -4
- package/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.d.ts +1 -0
- package/lib/component/transaction-line-fields/transaction-line-supplier-button.component.d.ts +1 -0
- package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +0 -1
- package/lib/component/transaction-search/transaction-filter-content/enum/search-placeholder.enum.d.ts +25 -0
- package/lib/component/transaction-search/transaction-filter-item/transaction-filter-item.component.d.ts +1 -1
- package/lib/service/pending-reason.service.d.ts +8 -7
- package/lib/service/relation-connector.service.d.ts +2 -0
- package/lib/service/relation.service.d.ts +7 -0
- package/lib/service/transaction-connector-adapter.service.d.ts +1 -0
- package/lib/service/transaction-connector.service.d.ts +1 -0
- package/lib/service/transaction.service.d.ts +1 -0
- package/lib/style/transaction-globals.scss +3 -43
- package/package.json +3 -3
|
@@ -2,17 +2,19 @@ import { EventEmitter, OnInit } from "@angular/core";
|
|
|
2
2
|
import { TransactionService } from "../../../service/transaction.service";
|
|
3
3
|
import { FormMasterService } from "@colijnit/corecomponents_v12";
|
|
4
4
|
import { Icon } from "../../../enum/icon.enum";
|
|
5
|
-
import {
|
|
5
|
+
import { RelationKind } from "@colijnit/relationapi/build/enum/relation-kind.enum";
|
|
6
6
|
import { AddressType } from "@colijnit/relationapi/build/enum/address-type.enum";
|
|
7
7
|
import { RelationAnyType } from "../../../model/relation-any-type";
|
|
8
8
|
import { Address } from "@colijnit/relationapi/build/model/address.bo";
|
|
9
9
|
export declare class CheckoutOverviewRelationEditComponent implements OnInit {
|
|
10
10
|
private _formMaster;
|
|
11
11
|
service: TransactionService;
|
|
12
|
+
readonly relationKind: typeof RelationKind;
|
|
12
13
|
readonly icons: typeof Icon;
|
|
13
14
|
readonly addressType: typeof AddressType;
|
|
14
|
-
set relation(value:
|
|
15
|
-
get relation():
|
|
15
|
+
set relation(value: RelationAnyType);
|
|
16
|
+
get relation(): RelationAnyType;
|
|
17
|
+
relationType: RelationKind;
|
|
16
18
|
deliveryAddressNawNr: number;
|
|
17
19
|
invoiceAddressNawNr: number;
|
|
18
20
|
validSubmit: EventEmitter<void>;
|
|
@@ -23,10 +25,12 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit {
|
|
|
23
25
|
showClass(): boolean;
|
|
24
26
|
private _relation;
|
|
25
27
|
address: Address;
|
|
28
|
+
customerGroup: string;
|
|
26
29
|
get applicationUser(): boolean;
|
|
27
30
|
constructor(_formMaster: FormMasterService, service: TransactionService);
|
|
28
31
|
ngOnInit(): Promise<void>;
|
|
29
|
-
|
|
32
|
+
handleCustomerGroupChange(group: string): void;
|
|
33
|
+
updateRelation(rel: RelationAnyType): void;
|
|
30
34
|
submit(): boolean;
|
|
31
35
|
handleNewAddress(type: AddressType, address: Address): void;
|
|
32
36
|
checkSameAddress(checked: boolean): void;
|
|
@@ -9,6 +9,7 @@ import { DialogService } from "../../service/dialog.service";
|
|
|
9
9
|
import { PaymentComponent } from "../payment/payment.component";
|
|
10
10
|
import { StepperComponent } from "../stepper/stepper.component";
|
|
11
11
|
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
12
|
+
import { RelationKind } from "@colijnit/relationapi/build/enum/relation-kind.enum";
|
|
12
13
|
export declare class CheckoutComponent implements OnInit {
|
|
13
14
|
service: TransactionService;
|
|
14
15
|
private _dictionary;
|
|
@@ -33,6 +34,7 @@ export declare class CheckoutComponent implements OnInit {
|
|
|
33
34
|
transaction: TransactionInfoResponse;
|
|
34
35
|
deliveryAddressNawNr: number;
|
|
35
36
|
invoiceAddressNawNr: number;
|
|
37
|
+
relationType: RelationKind;
|
|
36
38
|
constructor(service: TransactionService, _dictionary: DictionaryService, _dialogService: DialogService);
|
|
37
39
|
ngOnInit(): void;
|
|
38
40
|
handleCreateTransaction(event: MouseEvent): Promise<void>;
|
|
@@ -3,12 +3,13 @@ import { TransactionSearchViewRequest } from "@colijnit/transactionapi/build/mod
|
|
|
3
3
|
import { TransactionService } from "../../../service/transaction.service";
|
|
4
4
|
import { FilterRequestService } from "../../transaction-search/service/filter-request.service";
|
|
5
5
|
import { TransactionSearchService } from "../../transaction-search/service/transaction-search.service";
|
|
6
|
+
import { SearchPlaceholder } from "../../transaction-search/transaction-filter-content/enum/search-placeholder.enum";
|
|
6
7
|
export declare abstract class TransactionFilterContentBaseComponent implements OnInit {
|
|
7
8
|
searchService: TransactionSearchService;
|
|
8
9
|
filterRequestService: FilterRequestService;
|
|
9
10
|
transactionService: TransactionService;
|
|
11
|
+
readonly searchPlaceholder: typeof SearchPlaceholder;
|
|
10
12
|
searchRequest: TransactionSearchViewRequest;
|
|
11
|
-
searchPlaceholder: string;
|
|
12
13
|
filterButtonLabel: string;
|
|
13
14
|
protected constructor(searchService: TransactionSearchService, filterRequestService: FilterRequestService, transactionService: TransactionService);
|
|
14
15
|
ngOnInit(): void;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { CustomerFullObject } from "@colijnit/relationapi/build/model/customer-full-object.bo";
|
|
3
|
-
import { RelationAnyType } from "
|
|
3
|
+
import { RelationAnyType } from "@colijnit/relationapi/build/model/relation-any-type";
|
|
4
|
+
import { RelationKind } from "@colijnit/relationapi/build/enum/relation-kind.enum";
|
|
4
5
|
export declare abstract class RelationBaseComponent {
|
|
5
6
|
set relation(value: RelationAnyType);
|
|
6
7
|
get relation(): RelationAnyType;
|
|
8
|
+
relationType: RelationKind;
|
|
7
9
|
relationChange: EventEmitter<RelationAnyType>;
|
|
8
10
|
get relationAsCustomer(): CustomerFullObject;
|
|
9
11
|
private _relation;
|
|
@@ -6,11 +6,13 @@ import { RelationNameKind } from "@colijnit/relationapi/build/enum/relation-name
|
|
|
6
6
|
import { GenderType } from "@colijnit/relationapi/build/enum/gender-type.enum";
|
|
7
7
|
import { RelationListObject } from "@colijnit/relationapi/build/model/relation-list-object.bo";
|
|
8
8
|
import { RelationService } from "../../../service/relation.service";
|
|
9
|
+
import { RelationKind } from "@colijnit/relationapi/build/enum/relation-kind.enum";
|
|
9
10
|
export declare class RelationGeneralComponent extends RelationBaseComponent {
|
|
10
11
|
private _service;
|
|
11
12
|
private _dictionaryService;
|
|
12
13
|
private _dialogService;
|
|
13
14
|
private _relationService;
|
|
15
|
+
readonly relationKind: typeof RelationKind;
|
|
14
16
|
readonly relType: typeof RelationNameKind;
|
|
15
17
|
readonly genderType: typeof GenderType;
|
|
16
18
|
readonly: boolean;
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
.details-header {
|
|
12
12
|
font-size: $tp-co-transaction-confirmation-details-title-font-size;
|
|
13
13
|
margin: $tp-co-transaction-confirmation-details-title-margin;
|
|
14
|
-
height: 25px;
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
.header-left-text {
|
|
@@ -71,20 +70,5 @@
|
|
|
71
70
|
float: left;
|
|
72
71
|
}
|
|
73
72
|
}
|
|
74
|
-
|
|
75
|
-
.header-inform-user {
|
|
76
|
-
height: 20px;
|
|
77
|
-
text-align: center;
|
|
78
|
-
visibility: hidden;
|
|
79
|
-
|
|
80
|
-
.editting {
|
|
81
|
-
border: 1px solid red;
|
|
82
|
-
border-radius: 20px;
|
|
83
|
-
padding: 2px;
|
|
84
|
-
text-align: center;
|
|
85
|
-
margin: auto;
|
|
86
|
-
visibility: hidden;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
73
|
}
|
|
90
74
|
}
|
|
@@ -13,12 +13,8 @@ export declare class TransactionConfirmationDetailsComponent {
|
|
|
13
13
|
showClass(): boolean;
|
|
14
14
|
showAddOrder: boolean;
|
|
15
15
|
newDocBatchArray: DocDeliveryBatch;
|
|
16
|
-
set isEditing(value: boolean);
|
|
17
|
-
get isEditing(): boolean;
|
|
18
16
|
docBatchSaved: EventEmitter<boolean>;
|
|
19
|
-
isEditMode: boolean;
|
|
20
17
|
constructor(iconCacheService: IconCacheService, transactionService: TransactionService);
|
|
21
18
|
addButtonClicked(): void;
|
|
22
19
|
handleOkClick(): Promise<void>;
|
|
23
|
-
handleCancelClick(): void;
|
|
24
20
|
}
|
|
@@ -17,4 +17,5 @@ export declare class TransactionHeaderDeliveryComponent extends TransactionBaseC
|
|
|
17
17
|
constructor(iconService: IconCacheService, service: TransactionService, _dialogService: DialogService);
|
|
18
18
|
showTheDeliveryMethodDialog(event: MouseEvent): void;
|
|
19
19
|
transactionSet(): void;
|
|
20
|
+
changeDeliveryDateDefinitive(event: MouseEvent, definitive: boolean): void;
|
|
20
21
|
}
|
package/lib/component/transaction-line-fields/transaction-line-supplier-button.component.d.ts
CHANGED
|
@@ -7,5 +7,6 @@ export declare class TransactionLineSupplierButtonComponent extends TransactionL
|
|
|
7
7
|
showClass(): boolean;
|
|
8
8
|
showDialogSupplier: boolean;
|
|
9
9
|
constructor(_service: TransactionService, _relationService: RelationService);
|
|
10
|
+
handleOpenDialog(event: MouseEvent): void;
|
|
10
11
|
transactionLineSet(): Promise<void>;
|
|
11
12
|
}
|
|
@@ -19,7 +19,6 @@ export declare class TransactionLineSidePanelPurchaseComponent {
|
|
|
19
19
|
goodsReceiptStatus: GoodsReceiptStatusWithHistory;
|
|
20
20
|
selectedLineDocBatchArray: DocDeliveryBatch;
|
|
21
21
|
isDocBatchSaved: boolean;
|
|
22
|
-
editingMode: boolean;
|
|
23
22
|
private _transactionInfo;
|
|
24
23
|
constructor(_service: TransactionService, _transactionEventService: TransactionEventService);
|
|
25
24
|
getGoodsReceiptStatusWithHistory(): Promise<void>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare enum SearchPlaceholder {
|
|
2
|
+
ArticleNr = "SEARCH_ARTICLE_NR",
|
|
3
|
+
BatchNumber = "SEARCH_BATCH_NUMBER",
|
|
4
|
+
Branch = "SEARCH_BRANCH",
|
|
5
|
+
CommissionCode = "SEARCH_COMMISSION_CODE",
|
|
6
|
+
Confirmed = "SEARCH_CONFIRMED",
|
|
7
|
+
CustomerGroup = "SEARCH_CUSTOMER_GROUP",
|
|
8
|
+
CustomerName = "SEARCH_CUSTOMER_NAME",
|
|
9
|
+
Delivered = "SEARCH_DELIVERED",
|
|
10
|
+
DeliveryMethod = "SEARCH_DELIVERY_METHOD",
|
|
11
|
+
ExceedenceCode = "SEARCH_EXCEEDENCE_CODE",
|
|
12
|
+
Invoiced = "SEARCH_INVOICED",
|
|
13
|
+
MainArticle = "SEARCH_MAIN_ARTICLE",
|
|
14
|
+
OnHold = "SEARCH_ONHOLD",
|
|
15
|
+
OwnReference = "SEARCH_OWN_REFERENCE",
|
|
16
|
+
PurchaseNumber = "SEARCH_PURCHASENUMBER",
|
|
17
|
+
PurchasePerson = "SEARCH_PURCHASEPERSON",
|
|
18
|
+
SalesPerson = "SEARCH_SALESPERSON",
|
|
19
|
+
SerialNumber = "SEARCH_SERIAL_NUMBER",
|
|
20
|
+
SourceWarehouse = "SEARCH_SOURCE_WAREHOUSE",
|
|
21
|
+
Supplier = "SEARCH_SUPPLIER",
|
|
22
|
+
Tags = "SEARCH_TAGS",
|
|
23
|
+
TurnoverGroup = "SEARCH_TURNOVER_GROUP",
|
|
24
|
+
Warehouse = "SEARCH_WAREHOUSE"
|
|
25
|
+
}
|
|
@@ -7,10 +7,10 @@ export declare class TransactionFilterItemComponent {
|
|
|
7
7
|
customContent: boolean;
|
|
8
8
|
singleSelect: boolean;
|
|
9
9
|
minSearchCharsToLoadCollection: number;
|
|
10
|
+
searchCollectionPlaceholder: string;
|
|
10
11
|
collectionLoadFn: Function;
|
|
11
12
|
collectionChange: EventEmitter<any>;
|
|
12
13
|
constructor(searchService: TransactionSearchService);
|
|
13
|
-
searchCollectionPlaceholder: string;
|
|
14
14
|
searchPlaceholder: string;
|
|
15
15
|
noResultsLabel: string;
|
|
16
16
|
showMoreLabel: string;
|
|
@@ -8,12 +8,12 @@ import { ArticleConnectorService } from "./article-connector.service";
|
|
|
8
8
|
import { ResolveHeaderPendingReasonRequest } from "@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo";
|
|
9
9
|
import { PurchasePortalLine } from "@colijnit/transactionapi/build/model/purchase-portal-line.bo";
|
|
10
10
|
import { DocDeliveryBatch } from "@colijnit/transactionapi/build/model/doc-delivery-batch.bo";
|
|
11
|
-
import { RelationAnyType } from "../model/relation-any-type";
|
|
12
11
|
import { SharedService } from "@colijnit/sharedcomponents";
|
|
13
12
|
import { DictionaryService } from "./dictionary.service";
|
|
14
13
|
import { TransactionEventService } from "./transaction-event.service";
|
|
15
|
-
import { RelationConnectorService } from "./relation-connector.service";
|
|
16
14
|
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
15
|
+
import { RelationService } from "./relation.service";
|
|
16
|
+
import { Relation } from "@colijnit/relationapi/build/model/relation.bo";
|
|
17
17
|
export declare class PendingReasonService {
|
|
18
18
|
options: OptionsService;
|
|
19
19
|
protected dialogService: DialogService;
|
|
@@ -22,22 +22,23 @@ export declare class PendingReasonService {
|
|
|
22
22
|
protected articleConnector: ArticleConnectorService;
|
|
23
23
|
protected dictionaryService: DictionaryService;
|
|
24
24
|
protected transactionEventService: TransactionEventService;
|
|
25
|
-
protected
|
|
25
|
+
protected relationService: RelationService;
|
|
26
26
|
logout: Subject<void>;
|
|
27
27
|
transactionUpdated: BehaviorSubject<TransactionInfoResponse>;
|
|
28
|
-
relationUpdated: BehaviorSubject<
|
|
28
|
+
relationUpdated: BehaviorSubject<Relation>;
|
|
29
29
|
applicationUser: boolean;
|
|
30
30
|
invoiceAddressSameAsDelivery: boolean;
|
|
31
31
|
transactionKind: TransactionKind;
|
|
32
32
|
currentTransaction: TransactionInfoResponse;
|
|
33
|
-
set relation(value:
|
|
34
|
-
get relation():
|
|
33
|
+
set relation(value: Relation);
|
|
34
|
+
get relation(): Relation;
|
|
35
35
|
purchasePortalLine: PurchasePortalLine[];
|
|
36
36
|
docDeliveryBatch: DocDeliveryBatch;
|
|
37
37
|
articleAmount: number;
|
|
38
38
|
private _relation;
|
|
39
|
-
constructor(options: OptionsService, dialogService: DialogService, connector: TransactionConnectorService, sharedService: SharedService, articleConnector: ArticleConnectorService, dictionaryService: DictionaryService, transactionEventService: TransactionEventService,
|
|
39
|
+
constructor(options: OptionsService, dialogService: DialogService, connector: TransactionConnectorService, sharedService: SharedService, articleConnector: ArticleConnectorService, dictionaryService: DictionaryService, transactionEventService: TransactionEventService, relationService: RelationService);
|
|
40
40
|
init(options: any): Promise<void>;
|
|
41
|
+
resetCurrentTransaction(): void;
|
|
41
42
|
cancelAddTransactionLine(lineUuid: string, remember?: boolean): Promise<TransactionInfoResponse>;
|
|
42
43
|
handleHeaderOperationStatuses(response: TransactionInfoResponse): Promise<boolean>;
|
|
43
44
|
rememberCurrentTransaction(value: TransactionInfoResponse): Promise<void>;
|
|
@@ -30,5 +30,7 @@ export declare class RelationConnectorService {
|
|
|
30
30
|
lockContactPerson(relationNr: number): Promise<ValidationResult>;
|
|
31
31
|
insertCustomer(relation: CustomerFullObject): Promise<CustomerFullObject>;
|
|
32
32
|
updateCustomer(relation: CustomerFullObject): Promise<CustomerFullObject>;
|
|
33
|
+
insertSupplier(relation: SupplierFullObject): Promise<SupplierFullObject>;
|
|
34
|
+
updateSupplier(relation: SupplierFullObject): Promise<SupplierFullObject>;
|
|
33
35
|
private _handleExceptionFromResponse;
|
|
34
36
|
}
|
|
@@ -10,23 +10,30 @@ import { SupplierFullObject } from "@colijnit/relationapi/build/model/supplier-f
|
|
|
10
10
|
import { SelectSingleCacheService } from "../cache/service/select-single-cache.service";
|
|
11
11
|
import { SelectMultipleParameterizedCacheService } from "../cache/service/select-multiple-parameterized-cache.service";
|
|
12
12
|
import { Relation } from "@colijnit/relationapi/build/model/relation.bo";
|
|
13
|
+
import { RelationAnyType } from "@colijnit/relationapi/build/model/relation-any-type";
|
|
13
14
|
export declare class RelationService {
|
|
14
15
|
private _adapterService;
|
|
15
16
|
private _selectMultipleCacheService;
|
|
16
17
|
private _selectSingleCacheService;
|
|
17
18
|
private _selectMultipleParameterizedCacheService;
|
|
18
19
|
private readonly _lockMethods;
|
|
20
|
+
private readonly _getMethods;
|
|
19
21
|
private readonly _updateMethods;
|
|
22
|
+
private readonly _insertMethods;
|
|
20
23
|
constructor(_adapterService: RelationConnectorService, _selectMultipleCacheService: SelectMultipleCacheService, _selectSingleCacheService: SelectSingleCacheService, _selectMultipleParameterizedCacheService: SelectMultipleParameterizedCacheService);
|
|
21
24
|
getCustomerFullObject(relationNo: number): Promise<CustomerFullObject>;
|
|
22
25
|
getSupplierFullObject(relationNo: number): Promise<SupplierFullObject>;
|
|
23
26
|
insertCustomer(relation: CustomerFullObject): Promise<CustomerFullObject>;
|
|
24
27
|
updateCustomer(relation: CustomerFullObject): Promise<CustomerFullObject>;
|
|
28
|
+
insertSupplier(relation: SupplierFullObject): Promise<SupplierFullObject>;
|
|
29
|
+
updateSupplier(relation: SupplierFullObject): Promise<SupplierFullObject>;
|
|
25
30
|
getRelationListObjects(relationRequest: RelationRequest): Promise<RelationListObject[]>;
|
|
26
31
|
getRelationNumber(relationId: number): Promise<string>;
|
|
27
32
|
getBranches(branchNr?: string): Promise<BranchLov[]>;
|
|
33
|
+
insertRelation(relationKind: RelationKind, relation: Relation): Promise<Relation>;
|
|
28
34
|
updateRelation(relationKind: RelationKind, relation: Relation): Promise<Relation>;
|
|
29
35
|
lockRelation(relationKind: RelationKind, relationNr: number): Promise<ValidationResult>;
|
|
36
|
+
getRelation(relationKind: RelationKind, relationNr: number): Promise<RelationAnyType>;
|
|
30
37
|
commit(): Promise<boolean>;
|
|
31
38
|
private _lockCustomerFullObject;
|
|
32
39
|
private _lockSupplierFullObject;
|
|
@@ -149,6 +149,7 @@ export declare class TransactionConnectorAdapterService {
|
|
|
149
149
|
changeHeaderDeliveryAddress(uuid: string, newNawNr: number): Promise<TransactionInfoResponse>;
|
|
150
150
|
changeHeaderInvoiceAddress(uuid: string, newNawNr: number): Promise<TransactionInfoResponse>;
|
|
151
151
|
changeHeaderTransactionDeliveryDate(uuid: string, date: Date): Promise<TransactionInfoResponse>;
|
|
152
|
+
changeHeaderTransactionDeliveryDateDefinitive(uuid: string, definitive: boolean): Promise<TransactionInfoResponse>;
|
|
152
153
|
changeHeaderTransactionRemark(uuid: string, remark: string): Promise<TransactionInfoResponse>;
|
|
153
154
|
changeHeaderTransactionReference(uuid: string, reference: string): Promise<TransactionInfoResponse>;
|
|
154
155
|
changeHeaderTransactionRelationReference(uuid: string, reference: string): Promise<TransactionInfoResponse>;
|
|
@@ -144,6 +144,7 @@ export declare class TransactionConnectorService {
|
|
|
144
144
|
changeHeaderDeliveryAddress(uuid: string, newNawNr: number): Promise<TransactionInfoResponse>;
|
|
145
145
|
changeHeaderInvoiceAddress(uuid: string, newNawNr: number): Promise<TransactionInfoResponse>;
|
|
146
146
|
changeHeaderTransactionDeliveryDate(uuid: string, date: Date): Promise<TransactionInfoResponse>;
|
|
147
|
+
changeHeaderTransactionDeliveryDateDefinitive(uuid: string, definitive: boolean): Promise<TransactionInfoResponse>;
|
|
147
148
|
changeHeaderTransactionRemark(uuid: string, remark: string): Promise<TransactionInfoResponse>;
|
|
148
149
|
changeHeaderTransactionReference(uuid: string, reference: string): Promise<TransactionInfoResponse>;
|
|
149
150
|
changeHeaderTransactionRelationReference(uuid: string, reference: string): Promise<TransactionInfoResponse>;
|
|
@@ -70,6 +70,7 @@ export declare class TransactionService extends PendingReasonService {
|
|
|
70
70
|
updateHeaderDeliveryAddress(uuid: string, newNawNr: number): Promise<boolean>;
|
|
71
71
|
updateHeaderInvoiceAddress(uuid: string, newNawNr: number): Promise<boolean>;
|
|
72
72
|
updateHeaderTransactionDeliveryDate(uuid: string, date: Date): Promise<boolean>;
|
|
73
|
+
updateHeaderTransactionDeliveryDateDefinitive(uuid: string, definitive: boolean): Promise<boolean>;
|
|
73
74
|
updateHeaderTransactionRemark(uuid: string, remark: string): Promise<boolean>;
|
|
74
75
|
updateHeaderTransactionReference(uuid: string, reference: string): Promise<boolean>;
|
|
75
76
|
updateHeaderTransactionRelationReference(uuid: string, reference: string): Promise<boolean>;
|
|
@@ -4,38 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
@import "./variables";
|
|
6
6
|
|
|
7
|
-
//$thumbColor: #484f60;
|
|
8
|
-
//$trackColor: #e8eceb;
|
|
9
|
-
//$stopPoint: 10%;
|
|
10
|
-
//
|
|
11
|
-
//.co-transaction-small-toolbar {
|
|
12
|
-
// overflow: auto;
|
|
13
|
-
// &::-webkit-scrollbar {
|
|
14
|
-
// -webkit-appearance: none;
|
|
15
|
-
// }
|
|
16
|
-
//
|
|
17
|
-
// &::-webkit-scrollbar:vertical {
|
|
18
|
-
// width: 15px;
|
|
19
|
-
// }
|
|
20
|
-
//
|
|
21
|
-
// &::-webkit-scrollbar:horizontal {
|
|
22
|
-
// height: 15px;
|
|
23
|
-
// }
|
|
24
|
-
//
|
|
25
|
-
// &::-webkit-scrollbar-thumb:vertical {
|
|
26
|
-
// background: linear-gradient(to left, $thumbColor, $thumbColor $stopPoint, transparent $stopPoint, transparent);
|
|
27
|
-
// }
|
|
28
|
-
// &::-webkit-scrollbar-track:vertical {
|
|
29
|
-
// background: linear-gradient(to left, $trackColor, $trackColor $stopPoint, transparent $stopPoint, transparent);
|
|
30
|
-
// }
|
|
31
|
-
// &::-webkit-scrollbar-thumb:horizontal {
|
|
32
|
-
// background: linear-gradient(to top, $thumbColor, $thumbColor $stopPoint, transparent $stopPoint, transparent);
|
|
33
|
-
// }
|
|
34
|
-
// &::-webkit-scrollbar-track:horizontal {
|
|
35
|
-
// background: linear-gradient(to top, $trackColor, $trackColor $stopPoint, transparent $stopPoint, transparent);
|
|
36
|
-
// }
|
|
37
|
-
//}
|
|
38
|
-
|
|
39
7
|
.co-transaction-default-popup-row {
|
|
40
8
|
display: flex;
|
|
41
9
|
flex-direction: row;
|
|
@@ -88,17 +56,9 @@
|
|
|
88
56
|
text-overflow: ellipsis;
|
|
89
57
|
}
|
|
90
58
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
// font-weight: $tp-transaction-dialog-header-title-font-weight;
|
|
95
|
-
//}
|
|
96
|
-
//
|
|
97
|
-
//.co-transaction-dialog-footer-button-wrapper {
|
|
98
|
-
// display: flex;
|
|
99
|
-
// justify-content: $tp-transaction-dialog-footer-justify-content;
|
|
100
|
-
// column-gap: $tp-transaction-dialog-footer-column-gap;
|
|
101
|
-
//}
|
|
59
|
+
.read-only {
|
|
60
|
+
cursor: default;
|
|
61
|
+
}
|
|
102
62
|
|
|
103
63
|
.transaction-line-button {
|
|
104
64
|
font-size: $tp-transaction-line-button-font-size;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.73",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 12",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"@colijnit/corecomponents_v12": ">=12.0.89",
|
|
16
16
|
"@colijnit/ioneconnector": ">=2.1.10",
|
|
17
17
|
"@colijnit/mainapi": ">=1.0.3",
|
|
18
|
-
"@colijnit/relationapi": ">=1.0.
|
|
18
|
+
"@colijnit/relationapi": ">=1.0.4",
|
|
19
19
|
"@colijnit/sharedapi": ">=1.0.10",
|
|
20
20
|
"@colijnit/sharedcomponents": ">=1.0.31",
|
|
21
|
-
"@colijnit/transactionapi": ">=1.1.
|
|
21
|
+
"@colijnit/transactionapi": ">=1.1.60",
|
|
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",
|