diff --git a/src/app/business/business.component.ts b/src/app/business/business.component.ts index 1fb1379..6ba3a45 100644 --- a/src/app/business/business.component.ts +++ b/src/app/business/business.component.ts @@ -67,7 +67,8 @@ export class BusinessComponent implements OnInit { invoices: false, expiration: new Date(Date.now()).toISOString(), payconf: false, - viewkey: '' + viewkey: '', + crmToken: '' } public countriesUpdate: Observable; public ownerUpdate: Observable; @@ -175,7 +176,8 @@ export class BusinessComponent implements OnInit { invoices: false, expiration: new Date(Date.now()).toISOString(), payconf: false, - viewkey: '' + viewkey: '', + crmToken: '' }; this.userService.addOwner(this.owner); this.stepper!.next(); diff --git a/src/app/fullnode.service.ts b/src/app/fullnode.service.ts index 7c9ff44..255a14b 100644 --- a/src/app/fullnode.service.ts +++ b/src/app/fullnode.service.ts @@ -48,7 +48,8 @@ export class FullnodeService{ invoices: false, expiration: new Date(Date.now()).toISOString(), payconf: false, - viewkey: '' + viewkey: '', + crmToken: '' }; constructor(private http: HttpClient, public userService: UserService){ diff --git a/src/app/header/header.component.ts b/src/app/header/header.component.ts index 8ae688c..303aa18 100644 --- a/src/app/header/header.component.ts +++ b/src/app/header/header.component.ts @@ -41,7 +41,8 @@ export class HeaderComponent implements OnInit, OnDestroy { invoices: false, expiration: new Date(Date.now()).toISOString(), payconf: false, - viewkey: '' + viewkey: '', + crmToken: '' }; private session: string | null = ''; public heightUpdate: Observable; diff --git a/src/app/items/item-list/item-list.component.ts b/src/app/items/item-list/item-list.component.ts index 645e04d..3c952fd 100644 --- a/src/app/items/item-list/item-list.component.ts +++ b/src/app/items/item-list/item-list.component.ts @@ -54,7 +54,8 @@ export class ItemListComponent implements OnInit{ invoices: false, expiration: new Date(Date.now()).toISOString(), payconf: false, - viewkey: '' + viewkey: '', + crmToken: '' }; public ownerUpdate: Observable; diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts index 1253927..f87d648 100644 --- a/src/app/login/login.component.ts +++ b/src/app/login/login.component.ts @@ -61,7 +61,8 @@ export class LoginComponent implements OnInit, AfterViewInit { invoices: false, expiration: new Date(Date.now()).toISOString(), payconf: false, - viewkey: '' + viewkey: '', + crmToken: '' }; private FullnodeSub: Subscription = new Subscription(); private UserSub: Subscription = new Subscription(); diff --git a/src/app/order/order.service.ts b/src/app/order/order.service.ts index e620219..7efe997 100644 --- a/src/app/order/order.service.ts +++ b/src/app/order/order.service.ts @@ -50,7 +50,8 @@ export class OrderService { invoices: false, expiration: new Date(Date.now()).toISOString(), payconf: false, - viewkey: '' + viewkey: '', + crmToken: '' }, order: { address: '', diff --git a/src/app/owner.model.ts b/src/app/owner.model.ts index 79b1bf8..dca2e2e 100644 --- a/src/app/owner.model.ts +++ b/src/app/owner.model.ts @@ -23,4 +23,5 @@ export interface Owner { expiration: string; payconf: boolean; viewkey: string; + crmToken: string; } diff --git a/src/app/receipt.service.ts b/src/app/receipt.service.ts index cf17190..8d3f211 100644 --- a/src/app/receipt.service.ts +++ b/src/app/receipt.service.ts @@ -39,7 +39,8 @@ export class ReceiptService { invoices: false, expiration: new Date(Date.now()).toISOString(), payconf: false, - viewkey: '' + viewkey: '', + crmToken: '' }, order: { address: '', diff --git a/src/app/user.service.ts b/src/app/user.service.ts index ba7cf35..fd8973e 100644 --- a/src/app/user.service.ts +++ b/src/app/user.service.ts @@ -49,7 +49,8 @@ export class UserService{ invoices: false, expiration: new Date(Date.now()).toISOString(), payconf: false, - viewkey: '' + viewkey: '', + crmToken: '' }, txs : [], countries: [] diff --git a/src/app/viewer/viewer.component.ts b/src/app/viewer/viewer.component.ts index ba3e9af..471e328 100644 --- a/src/app/viewer/viewer.component.ts +++ b/src/app/viewer/viewer.component.ts @@ -51,7 +51,8 @@ export class ViewerComponent implements OnInit { invoices: false, expiration: new Date(Date.now()).toISOString(), payconf: false, - viewkey: '' + viewkey: '', + crmToken: '' }; public price: number = 1; public addrUpdate: Observable;