Add field to Owner model
This commit is contained in:
parent
9c6bd6f8a6
commit
80798093dd
10 changed files with 21 additions and 10 deletions
|
@ -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<Country[]>;
|
||||
public ownerUpdate: Observable<Owner>;
|
||||
|
@ -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();
|
||||
|
|
|
@ -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){
|
||||
|
|
|
@ -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<number>;
|
||||
|
|
|
@ -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<Owner>;
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -50,7 +50,8 @@ export class OrderService {
|
|||
invoices: false,
|
||||
expiration: new Date(Date.now()).toISOString(),
|
||||
payconf: false,
|
||||
viewkey: ''
|
||||
viewkey: '',
|
||||
crmToken: ''
|
||||
},
|
||||
order: {
|
||||
address: '',
|
||||
|
|
|
@ -23,4 +23,5 @@ export interface Owner {
|
|||
expiration: string;
|
||||
payconf: boolean;
|
||||
viewkey: string;
|
||||
crmToken: string;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,8 @@ export class ReceiptService {
|
|||
invoices: false,
|
||||
expiration: new Date(Date.now()).toISOString(),
|
||||
payconf: false,
|
||||
viewkey: ''
|
||||
viewkey: '',
|
||||
crmToken: ''
|
||||
},
|
||||
order: {
|
||||
address: '',
|
||||
|
|
|
@ -49,7 +49,8 @@ export class UserService{
|
|||
invoices: false,
|
||||
expiration: new Date(Date.now()).toISOString(),
|
||||
payconf: false,
|
||||
viewkey: ''
|
||||
viewkey: '',
|
||||
crmToken: ''
|
||||
},
|
||||
txs : [],
|
||||
countries: []
|
||||
|
|
|
@ -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<string>;
|
||||
|
|
Loading…
Reference in a new issue