refer page
This commit is contained in:
@@ -51,4 +51,8 @@ export class TaskactivitiesComponent implements OnInit {
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
jobInterest(item){
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
<div *ngIf="tabs =='history'" class="history">
|
||||
<div class="chat" *ngFor="let item of referData">
|
||||
<div class="flex">
|
||||
<div class="bg_image back_image" [style.backgroundImage]="'url(assets/images/p3.jpg)'"></div>
|
||||
<div class="bg_image back_image" [style.backgroundImage]="'url(https://www.wrenchboard.com/assets/images/apps/invite-friend.svg)'"></div>
|
||||
<div style="margin-left: 10px;">
|
||||
<ion-label class="bold_text"> {{item.firstname}} {{item.lastname}} </ion-label>
|
||||
<div style="display: flex;">
|
||||
|
||||
@@ -58,6 +58,14 @@ export class InvitePage implements OnInit {
|
||||
this.wrenchService.sendRefer(this.referSendData).subscribe(
|
||||
sendReferResult => {
|
||||
this.sendReferResult = sendReferResult;
|
||||
if ( this.sendReferResult.internal_return == 0 ){
|
||||
this.showAlert('Refer Sent', 'Message sent to '+ this.email);
|
||||
this.ref_firstname=this.lastname=this.email="";
|
||||
}
|
||||
else {
|
||||
this.showAlert('Refer Error', this.sendReferResult.status);
|
||||
|
||||
}
|
||||
this.getReferData();
|
||||
}
|
||||
);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
</div>
|
||||
<ion-card-header>
|
||||
<ion-card-title>{{item.title}}</ion-card-title>
|
||||
<ion-card-subtitle>Expiration:{{item.expire}}</ion-card-subtitle>
|
||||
<ion-card-subtitle>Expiration:{{item.expire | date}}</ion-card-subtitle>
|
||||
</ion-card-header>
|
||||
|
||||
<ion-card-content>
|
||||
|
||||
Reference in New Issue
Block a user