Add country field
This commit is contained in:
parent
ea8febe368
commit
881bb1baf1
8 changed files with 15 additions and 7 deletions
|
@ -38,7 +38,8 @@ export class FullnodeService{
|
||||||
postal: '',
|
postal: '',
|
||||||
phone: '',
|
phone: '',
|
||||||
paid: false,
|
paid: false,
|
||||||
website: ''
|
website: '',
|
||||||
|
country: ''
|
||||||
};
|
};
|
||||||
|
|
||||||
constructor(private http: HttpClient, public userService: UserService){
|
constructor(private http: HttpClient, public userService: UserService){
|
||||||
|
|
|
@ -31,7 +31,8 @@ export class HeaderComponent implements OnInit, OnDestroy {
|
||||||
postal: '',
|
postal: '',
|
||||||
phone: '',
|
phone: '',
|
||||||
paid: false,
|
paid: false,
|
||||||
website: ''
|
website: '',
|
||||||
|
country: ''
|
||||||
};
|
};
|
||||||
private session: string | null = '';
|
private session: string | null = '';
|
||||||
public heightUpdate: Observable<number>;
|
public heightUpdate: Observable<number>;
|
||||||
|
|
|
@ -36,7 +36,8 @@ export class ItemListComponent implements OnInit{
|
||||||
postal: '',
|
postal: '',
|
||||||
phone: '',
|
phone: '',
|
||||||
paid: false,
|
paid: false,
|
||||||
website: ''
|
website: '',
|
||||||
|
country: ''
|
||||||
};
|
};
|
||||||
public price: number = 1;
|
public price: number = 1;
|
||||||
public ownerUpdate: Observable<Owner>;
|
public ownerUpdate: Observable<Owner>;
|
||||||
|
|
|
@ -54,7 +54,8 @@ export class LoginComponent implements OnInit, AfterViewInit {
|
||||||
postal: '',
|
postal: '',
|
||||||
phone: '',
|
phone: '',
|
||||||
paid: false,
|
paid: false,
|
||||||
website: ''
|
website: '',
|
||||||
|
country: ''
|
||||||
};
|
};
|
||||||
private FullnodeSub: Subscription = new Subscription();
|
private FullnodeSub: Subscription = new Subscription();
|
||||||
private UserSub: Subscription = new Subscription();
|
private UserSub: Subscription = new Subscription();
|
||||||
|
|
|
@ -38,7 +38,8 @@ export class OrderService {
|
||||||
postal: '',
|
postal: '',
|
||||||
phone: '',
|
phone: '',
|
||||||
paid: false,
|
paid: false,
|
||||||
website: ''
|
website: '',
|
||||||
|
country: ''
|
||||||
},
|
},
|
||||||
order: {
|
order: {
|
||||||
address: '',
|
address: '',
|
||||||
|
|
|
@ -15,4 +15,5 @@ export interface Owner {
|
||||||
phone: string;
|
phone: string;
|
||||||
paid: boolean;
|
paid: boolean;
|
||||||
website: string;
|
website: string;
|
||||||
|
country: string;
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,8 @@ export class UserService{
|
||||||
postal: '',
|
postal: '',
|
||||||
phone: '',
|
phone: '',
|
||||||
paid: false,
|
paid: false,
|
||||||
website: ''
|
website: '',
|
||||||
|
country: ''
|
||||||
},
|
},
|
||||||
txs : []
|
txs : []
|
||||||
};
|
};
|
||||||
|
|
|
@ -44,7 +44,8 @@ export class ViewerComponent implements OnInit {
|
||||||
postal: '',
|
postal: '',
|
||||||
phone: '',
|
phone: '',
|
||||||
paid: false,
|
paid: false,
|
||||||
website: ''
|
website: '',
|
||||||
|
country: ''
|
||||||
};
|
};
|
||||||
public addrUpdate: Observable<string>;
|
public addrUpdate: Observable<string>;
|
||||||
public ownerUpdate: Observable<Owner>;
|
public ownerUpdate: Observable<Owner>;
|
||||||
|
|
Loading…
Reference in a new issue