diff --git a/src/app/components/job-group/job-group.component.html b/src/app/components/job-group/job-group.component.html
index 72dcb0e..82da56f 100644
--- a/src/app/components/job-group/job-group.component.html
+++ b/src/app/components/job-group/job-group.component.html
@@ -38,7 +38,7 @@
0 && group_member_count > 0" style="margin-top: 20px; padding: 5px;">
- Send Task to Group
+ Send Task to Group
diff --git a/src/app/components/job-group/job-group.component.ts b/src/app/components/job-group/job-group.component.ts
index 9386723..f0bb836 100644
--- a/src/app/components/job-group/job-group.component.ts
+++ b/src/app/components/job-group/job-group.component.ts
@@ -1,7 +1,7 @@
import {Component, OnInit, ViewChild} from '@angular/core';
import {SessionDataProviderService} from "../../store/session-data-provider.service";
import {WrenchService} from "../../services/wrench.service";
-import {LoadingController} from "@ionic/angular";
+import {AlertController, LoadingController} from "@ionic/angular";
import {JobgroupDataService} from "../../store/jobgroup-data.service";
@Component({
@@ -15,6 +15,7 @@ export class JobGroupComponent implements OnInit {
constructor( public sessionDataProviderService: SessionDataProviderService,
private wrenchService: WrenchService,
public jobgroupDataService: JobgroupDataService,
+ private alertController: AlertController,
private loadingCtrl: LoadingController) { }
jobGroupDataTotalResult: any;
@@ -47,4 +48,31 @@ export class JobGroupComponent implements OnInit {
this.group_member_count= this.jobGroupListFilterdData.length;
}
+ async sendOffers() {
+ // this.sessionDataProviderService.DestroySessionOnLogout();
+ // this.router.navigate(['login']);
+ //this.requestLogout();
+
+ const alert = await this.alertController.create({
+ header: "Send offer to group ?",
+ message: "Confirm you are ready to send this offer now.",
+ buttons: [
+ {
+ text: "Cancel",
+ role: "cancel",
+ handler: () => {
+
+ },
+ },
+ {
+ text: "Send now",
+ handler: () => {
+
+ },
+ },
+ ],
+ });
+ await alert.present();
+ }
+
}