fix home dash
This commit is contained in:
@@ -123,5 +123,34 @@ export class AddRelativesComponent implements OnInit {
|
||||
);
|
||||
}
|
||||
|
||||
async inviteFamilyReport(){
|
||||
|
||||
this.reqData={
|
||||
action:22031,
|
||||
member_id: this.sessionDataProviderService.member_id,
|
||||
uid: this.sessionDataProviderService.member_uid,
|
||||
sessionid: this.sessionDataProviderService.session ,
|
||||
firstname: this.firstname,
|
||||
lastname: this.lastname,
|
||||
email: this.email,
|
||||
family_type: this.family_type
|
||||
}
|
||||
this.wrenchService.familyInvite(this.reqData).subscribe(
|
||||
addFamilyResult => {
|
||||
this.addFamilyResult = addFamilyResult;
|
||||
console.log("this.wrenchService.createFamilyResult RETURN DATA->", this.addFamilyResult);
|
||||
if (this.addFamilyResult.internal_return> 0){
|
||||
this.firstname='';
|
||||
this.lastname='';
|
||||
this.email='';
|
||||
this.addFamilyResultText = "Invite Sent.";
|
||||
setTimeout(()=>{
|
||||
this.addFamilyResultText="";
|
||||
this.setCloseModal();
|
||||
},3000);
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user