This commit is contained in:
2022-08-31 18:25:55 -04:00
parent 30f6784ab7
commit a6059857be
@@ -59,36 +59,73 @@
<div class="row">
<div class="col-md-8">
<div class="panel panel-flat" >
<div class="panel-heading">
<h6 class="panel-title"><b><?php echo $dash_title; ?> [<a href="#" onclick="showOfferModal('<?= $offer_code; ?>');" ><?php echo $offer_code; ?></a>]</b>-<?php echo $title; ?></h6>
</div>
<table class='table table-striped table-hover table-bordered'>
<tbody>
<tr style="background-color: #CEECF5;">
<td>
<b>Job Added : </b><?php echo $added; ?><br>
<a href='#' onclick="showModal(<?php echo $interest_id; ?>);"><?php echo $client; ?><br>
<b>Member Since : </b><?php echo $client_added; ?></a><br>
</td>
<td style="width:190px;">
<b>Jobs Completed : </b><?php echo $total_jobs_completed; ?><br>
<b>Jobs Active : </b><?php echo $total_jobs_active; ?><br>
<b>Jobs Uncompleted : </b><?php echo $total_jobs_uncompleted; ?><br>
<b>Pending Offers : </b><?php echo $total_pending_offers; ?><br>
% Completion
</td>
<td style="width:90px;">
<table class='table table-condensed'>
<div class="card mb-5 mb-xl-10" id="kt_profile_details_view">
<!--begin::Card header-->
<div class="card-header cursor-pointer">
<!--begin::Card title-->
<div class="card-title m-0">
<h3 class="fw-bolder m-0"><?php echo $dash_title; ?> [<a href="#" onclick="showOfferModal('<?= $offer_code; ?>');" ><?php echo $offer_code; ?></a>]</b>-<?php echo $title; ?></h3>
</div>
<!--end::Card title-->
</div>
<div class="card-body p-9">
<div class="row mb-7">
<label class="col-lg-4 fw-bold text-muted">Name</label>
<div class="col-lg-8">
<span class="fw-bolder fs-6 text-gray-800"><?php echo $client; ?></span>
</div>
</div>
<div class="row mb-7">
<label class="col-lg-4 fw-bold text-muted">Member Since</label>
<div class="col-lg-8">
<span class="fw-bolder fs-6 text-gray-800"><?php echo $client_added; ?></span>
</div>
</div>
<div class="row mb-7">
<label class="col-lg-4 fw-bold text-muted">Jobs Completed</label>
<div class="col-lg-8">
<span class="fw-bolder fs-6 text-gray-800"><?php echo $total_jobs_completed; ?></span>
</div>
</div>
<div class="row mb-7">
<label class="col-lg-4 fw-bold text-muted">Jobs Active</label>
<div class="col-lg-8">
<span class="fw-bolder fs-6 text-gray-800"><?php echo $total_jobs_active; ?></span>
</div>
</div>
<div class="row mb-7">
<label class="col-lg-4 fw-bold text-muted">Jobs Uncompleted</label>
<div class="col-lg-8 fv-row">
<span class="fw-bold text-gray-800 fs-6"><?php echo $total_jobs_uncompleted; ?></span>
</div>
</div>
<div class="row mb-7">
<label class="col-lg-4 fw-bold text-muted">Pending Offers</label>
<div class="col-lg-8 fv-row">
<span class="fw-bold text-gray-800 fs-6"><?php echo $total_pending_offers; ?></span>
</div>
</div>
<div class="row mb-7">
<label class="col-lg-4 fw-bold text-muted">% Completion</label>
<div class="col-lg-8 fv-row">
<span class="fw-bold text-gray-800 fs-6"></span>
</div>
</div>
<div class="row mb-7">
<table class="table align-middle gs-0 gy-4">
<tbody>
<tr><td style='width: 33%;'><div id="cancdiv"><input type=submit id="submit_canc" name="rmview" onclick="return cancelInterest(<?php echo $interest_id; ?>);" class="btn btn-danger btn-xs btn-block" value="Cancel Job"></div></td> </tr>
<tr><td><div id="rejtdiv"><input type=submit id="submit_rejt" name="rmview" onclick="return rejectInterest(<?php echo $interest_id; ?>);" class="btn btn-warning btn-xs btn-block" value="Reject"></div></td> </tr>
<tr><td style='width: 33%;'><div id="accdiv"><input type=submit id="submit_acc" name="mview" onclick="return acceptInterest(<?php echo $interest_id; ?>);" class="btn btn-info btn-xs btn-block" value="Accept"></div></td> </tr>
<tr><td style='width: 33%;'><div id="cancdiv"><input type=submit id="submit_canc" name="rmview" onclick="return cancelInterest(<?php echo $interest_id; ?>);" class="btn btn-danger btn-sm btn-block" value="Cancel Job"></div></td>
<td><div id="rejtdiv"><input type=submit id="submit_rejt" name="rmview" onclick="return rejectInterest(<?php echo $interest_id; ?>);" class="btn btn-warning btn-sm btn-block" value="Reject"></div></td>
<td style='width: 33%;'><div id="accdiv"><input type=submit id="submit_acc" name="mview" onclick="return acceptInterest(<?php echo $interest_id; ?>);" class="btn btn-info btn-sm btn-block" value="Accept"></div></td> </tr>
</tbody>
</table>
</td> </tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="panel panel-flat" >
@@ -100,14 +137,14 @@
</div>
<div class="col-md-4">
<div class="thumbnail" style="background-color: #CEECF5;">
<div class="thumbnail" style="background-color: #CEECF5; padding: 10px;">
Message to <b><?php echo $client; ?></b><hr size='1'>
<form name='offer_message' >
<div class="thumb">
<textarea rows="3" name='offermessage' class="textarea form-control" placeholder="Enter message..."></textarea>
</div>
<div class="text-right">
<button type="submit" id="submit_yourmessage_<?= $offer_code; ?>" onclick="return OMessage('<?= $offer_code; ?>',<?= $interest_id; ?>);" name='btn_submit' class="btn btn-primary btn-xs btn-block" onclick="SendMessage();return false;">Send</button>
<div class="text-right" style="text-align: right; margin-top: 5px;">
<button type="submit" id="submit_yourmessage_<?= $offer_code; ?>" onclick="return OMessage('<?= $offer_code; ?>',<?= $interest_id; ?>);" name='btn_submit' class="btn btn-primary btn-sm btn-block" onclick="SendMessage();return false;">Send</button>
</div>
</form>
<div class="caption">