owners Jobs
This commit is contained in:
@@ -71,11 +71,20 @@
|
|||||||
<ion-select-option value="1">1 Day</ion-select-option>
|
<ion-select-option value="1">1 Day</ion-select-option>
|
||||||
<ion-select-option value="2">2 Days</ion-select-option>
|
<ion-select-option value="2">2 Days</ion-select-option>
|
||||||
<ion-select-option value="3">3 Days</ion-select-option>
|
<ion-select-option value="3">3 Days</ion-select-option>
|
||||||
|
<ion-select-option value="4">4 Days</ion-select-option>
|
||||||
|
<ion-select-option value="5">5 Days</ion-select-option>
|
||||||
|
<ion-select-option value="6">6 Days</ion-select-option>
|
||||||
|
<ion-select-option value="7">1 Week</ion-select-option>
|
||||||
|
<ion-select-option value="14">2 Weeks</ion-select-option>
|
||||||
</ion-select>
|
</ion-select>
|
||||||
</ion-col>
|
</ion-col>
|
||||||
</ion-row>
|
</ion-row>
|
||||||
<ion-row>
|
<ion-row>
|
||||||
<ion-col><ion-button size="small" shape="round" color="secondary">Place Task to the Market</ion-button></ion-col>
|
<ion-col class="act_but">
|
||||||
|
<ion-button size="small"
|
||||||
|
shape="round"
|
||||||
|
color="secondary"
|
||||||
|
(click)="sendOfferToMarket()">Place Task to the Market</ion-button></ion-col>
|
||||||
</ion-row>
|
</ion-row>
|
||||||
<ion-row>
|
<ion-row>
|
||||||
<ion-col>.</ion-col>
|
<ion-col>.</ion-col>
|
||||||
@@ -89,7 +98,34 @@
|
|||||||
<ion-item slot="header" color="light">
|
<ion-item slot="header" color="light">
|
||||||
<ion-label>Assign to individual</ion-label>
|
<ion-label>Assign to individual</ion-label>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<div class="ion-padding" slot="content">Second Content</div>
|
<div class="ion-padding" slot="content">
|
||||||
|
|
||||||
|
<ion-grid>
|
||||||
|
<ion-row>
|
||||||
|
<ion-col>Recipient Email</ion-col>
|
||||||
|
</ion-row>
|
||||||
|
<ion-row>
|
||||||
|
<ion-col>
|
||||||
|
<ion-list>
|
||||||
|
<ion-item>
|
||||||
|
<ion-input label="Email of recipient" placeholder="Enter Recipient Email" maxlength="35"></ion-input>
|
||||||
|
</ion-item>
|
||||||
|
</ion-list>
|
||||||
|
</ion-col>
|
||||||
|
</ion-row>
|
||||||
|
<ion-row>
|
||||||
|
<ion-col class="act_but">
|
||||||
|
<ion-button size="small"
|
||||||
|
shape="round"
|
||||||
|
color="secondary"
|
||||||
|
(click)="sendOfferToIndividual()">Send offer to individual</ion-button></ion-col>
|
||||||
|
</ion-row>
|
||||||
|
<ion-row>
|
||||||
|
<ion-col>.</ion-col>
|
||||||
|
</ion-row>
|
||||||
|
</ion-grid>
|
||||||
|
|
||||||
|
</div>
|
||||||
</ion-accordion>
|
</ion-accordion>
|
||||||
</ion-accordion-group>
|
</ion-accordion-group>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -90,6 +90,9 @@ ion-content {
|
|||||||
background-color: aliceblue;
|
background-color: aliceblue;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
min-height: 250px;
|
min-height: 250px;
|
||||||
|
.act_but{
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.about {
|
.about {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {NavController} from "@ionic/angular";
|
import {LoadingController, NavController} from "@ionic/angular";
|
||||||
import {Router} from "@angular/router";
|
import {Router} from "@angular/router";
|
||||||
import {SessionDataProviderService} from "../../store/session-data-provider.service";
|
import {SessionDataProviderService} from "../../store/session-data-provider.service";
|
||||||
import {WrenchService} from "../../services/wrench.service";
|
import {WrenchService} from "../../services/wrench.service";
|
||||||
@@ -19,7 +19,8 @@ export class OwnersjobPage implements OnInit {
|
|||||||
private navctr: NavController,
|
private navctr: NavController,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
public sessionDataProviderService: SessionDataProviderService,
|
public sessionDataProviderService: SessionDataProviderService,
|
||||||
private wrenchService: WrenchService
|
private wrenchService: WrenchService,
|
||||||
|
private loadingCtrl: LoadingController
|
||||||
) {
|
) {
|
||||||
|
|
||||||
this.jobData = this.router.getCurrentNavigation().extras.state?.jobData;
|
this.jobData = this.router.getCurrentNavigation().extras.state?.jobData;
|
||||||
@@ -37,4 +38,23 @@ export class OwnersjobPage implements OnInit {
|
|||||||
//this.activeJobMsgList();
|
//this.activeJobMsgList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async sendOfferToIndividual(){
|
||||||
|
const loading = await this.loadingCtrl.create({
|
||||||
|
message: 'Sending...',
|
||||||
|
duration: 5000,
|
||||||
|
});
|
||||||
|
|
||||||
|
loading.present();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
async sendOfferToMarket(){
|
||||||
|
const loading = await this.loadingCtrl.create({
|
||||||
|
message: 'Sending...',
|
||||||
|
duration: 5000,
|
||||||
|
});
|
||||||
|
|
||||||
|
loading.present();
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user