refer page

This commit is contained in:
CHIEFSOFT\ameye
2023-08-21 14:22:43 -04:00
parent e5e53159e7
commit 2d6dd1eb82
4 changed files with 14 additions and 2 deletions
@@ -51,4 +51,8 @@ export class TaskactivitiesComponent implements OnInit {
);
}
jobInterest(item){
}
}
+1 -1
View File
@@ -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;">
+8
View File
@@ -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();
}
);
+1 -1
View File
@@ -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>