188 lines
6.9 KiB
PHP
188 lines
6.9 KiB
PHP
<form method="post" name="post_nav_find" action="">
|
|
<input type="hidden" name="jobOfferID" value="<?php echo $jobOfferID; ?>">
|
|
</form>
|
|
<?php include('common/jobstrip.php'); ?>
|
|
|
|
<!--begin::Row-->
|
|
<div class="row g-5 g-xl-8">
|
|
<div class="col-xl-8">
|
|
<!--begin::Charts Widget 1-->
|
|
<div class="card card-xl-stretch mb-5 mb-xl-8">
|
|
<!--begin::Header-->
|
|
<div class="card-header border-0 pt-5">
|
|
<!--begin::Title-->
|
|
<h3 class="card-title align-items-start flex-column">
|
|
<span class="card-label fw-bolder fs-3 mb-1"><?php echo $title; ?></span>
|
|
</h3>
|
|
<!--end::Title-->
|
|
|
|
</div>
|
|
<!--end::Header-->
|
|
<!--begin::Body-->
|
|
<div class="card-body">
|
|
<div class="tab-content">
|
|
<!--begin::Tap pane-->
|
|
<div class="tab-pane fade show active" id="kt_table_widget_5_tab_1">
|
|
<!--begin::Table container-->
|
|
<div class="table-responsive">
|
|
<!--begin::Table-->
|
|
<table class='table table-striped table-hover table-bordered table-condensed'>
|
|
<thead>
|
|
<tr>
|
|
<th colspan="2"><b><?php echo $title; ?></b></th></tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div class="alert alert-info no-border"> You have sent this job to <?php echo $job_sent_to; ?></div>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 100px;"><b>Date</b></td><td><?php echo $added_date; ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 100px;"><b>Description</b></td><td><?php echo $description; ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 100px;"><b>Offer Expire</b></td><td><?php echo $expire; ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 100px;"><b>Price</b></td><td><?php echo $price; ?> Naira</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 100px;"><b>Duration</b></td><td><?php echo $timeline_days; ?> day(s)</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 100px;"><b>Detail</b></td><td><?php echo $job_description; ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" style='text-align: center;'><input id="sendjob_tome" type="button" class="btn btn-info btn-xs" name='send' value='Send to me' onclick="return sendOfferToMe();"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 100px;"><b>Public Link</b></td><td><div class="alert alert-info no-border"> <?php echo $job_link; ?></div></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" style='text-align: right;'> <input id="reject_submit" type="button" class="btn btn-danger btn-xs" name='send' value='Cancel Offer' onclick="return cancelOffer();"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
<!--end::Table-->
|
|
</div>
|
|
<!--end::Tap pane-->
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<!--end::Body-->
|
|
</div>
|
|
<!--end::Charts Widget 1-->
|
|
</div>
|
|
|
|
<!--begin::Col-->
|
|
<div class="col-xl-4">
|
|
<!--begin::Tables Widget 5-->
|
|
<div class="card card-xl-stretch mb-5 mb-xl-8">
|
|
<!--begin::Header-->
|
|
<div class="card-header border-0 pt-5">
|
|
|
|
</div>
|
|
<!--end::Header-->
|
|
<!--begin::Body-->
|
|
<div class="card-body py-3">
|
|
<div class="tab-content">
|
|
<!--begin::Tap pane-->
|
|
<div class="tab-pane fade show active" id="kt_table_widget_5_tab_1">
|
|
<!--begin::Table container-->
|
|
<div class="table-responsive">
|
|
<!--begin::Table-->
|
|
|
|
|
|
</div>
|
|
<!--end::Table-->
|
|
</div>
|
|
<!--end::Tap pane-->
|
|
|
|
</div>
|
|
</div>
|
|
<!--end::Body-->
|
|
</div>
|
|
<!--end::Tables Widget 5-->
|
|
</div>
|
|
<!--end::Col-->
|
|
</div>
|
|
<!--end::Row-->
|
|
|
|
|
|
|
|
<!-- Main content -->
|
|
<div class="content-wrapper">
|
|
|
|
|
|
<!-- Main charts -->
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
|
|
</div>
|
|
</div>
|
|
<!-- /main charts -->
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="panel panel-flat">
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<!-- div class="col-md-3">
|
|
<div class="thumbnail">
|
|
<div class="caption">
|
|
<div id="offer_result">
|
|
<div class="alert alert-info no-border"> You have sent this job to <?php echo $job_sent_to; ?></div>
|
|
<hr size ="1">
|
|
<input id="reject_submit" type="button" class="btn btn-danger btn-xs" name='send' value='Cancel Offer' onclick="return cancelOffer();">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div -->
|
|
</div>
|
|
|
|
</div>
|
|
<!-- /main content -->
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
function sendOfferToMe() {
|
|
|
|
$('#mailsent_sent').html('Processing...');
|
|
$('#sendjob_tome').prop('disabled', true);
|
|
//alert(element.value);
|
|
$.ajax({
|
|
url: "/jobs/viewjob_sendtome?jobOfferID=<?php echo $jobOfferID; ?>"
|
|
}).done(function( data ) {
|
|
$('#mailsent_sent').html(data);
|
|
//document.offer_group.job_group.value = '';
|
|
$('#sendjob_tome').prop('disabled', false);
|
|
});
|
|
return false;
|
|
}
|
|
|
|
function cancelOffer() {
|
|
|
|
$('#offer_result').html('Processing...');
|
|
$('#reject_submit').prop('disabled', true);
|
|
//alert(element.value);
|
|
$.ajax({
|
|
url: "/jobs/viewjob_cancel?jobOfferID=<?php echo $jobOfferID; ?>"
|
|
}).done(function( data ) {
|
|
$('#offer_result').html(data);
|
|
document.offer_group.job_group.value = '';
|
|
$('#reject_submit').prop('disabled', false);
|
|
});
|
|
return false;
|
|
}
|
|
// -->
|
|
</script>
|