Add country field

This commit is contained in:
Rene Vergara 2022-01-19 10:26:25 -06:00
parent ea8febe368
commit 881bb1baf1
8 changed files with 15 additions and 7 deletions

View file

@ -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){

View file

@ -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>;

View file

@ -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>;

View file

@ -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();

View file

@ -38,7 +38,8 @@ export class OrderService {
postal: '', postal: '',
phone: '', phone: '',
paid: false, paid: false,
website: '' website: '',
country: ''
}, },
order: { order: {
address: '', address: '',

View file

@ -15,4 +15,5 @@ export interface Owner {
phone: string; phone: string;
paid: boolean; paid: boolean;
website: string; website: string;
country: string;
} }

View file

@ -33,7 +33,8 @@ export class UserService{
postal: '', postal: '',
phone: '', phone: '',
paid: false, paid: false,
website: '' website: '',
country: ''
}, },
txs : [] txs : []
}; };

View file

@ -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>;