first commit
This commit is contained in:
@@ -0,0 +1,207 @@
|
||||
<!-- Dashboard content -->
|
||||
<div class="row">
|
||||
<div class="panel panel-flat">
|
||||
<div class="table-responsive">
|
||||
<div class="panel-body">
|
||||
<h5> <b> Selected Transporter :</b> <?= $_SESSION['selected_transporter_row']->transporter ?> Address : <?= $_SESSION['selected_transporter_row']->street ?> Phone <?= $_SESSION['selected_transporter_row']->phone ?> </h5>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<!-- Support tickets -->
|
||||
|
||||
|
||||
<div class="panel panel-flat">
|
||||
<div class="table-responsive">
|
||||
|
||||
|
||||
<div class="panel-body">
|
||||
<div class="tabbable">
|
||||
<ul class="nav nav-tabs nav-tabs-bottom">
|
||||
<li class="active"><a href="#bottom-tab1" data-toggle="tab">Pending Transport</a></li>
|
||||
<li><a href="#bottom-tab2" data-toggle="tab">Locations</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="bottom-tab1">
|
||||
|
||||
|
||||
<table class="table text-nowrap">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 50px">Due</th>
|
||||
<th style="width: 300px;">User</th>
|
||||
<th>Destination/Origin</th>
|
||||
<th style="width: 100px;">Date/Dist.</th>
|
||||
<th class="text-center" style="width: 20px;"><i class="icon-arrow-down12"></i></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<?
|
||||
foreach ($transport_request as $rect) {
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td class="text-center">
|
||||
<h6 class="no-margin"><?= $rect->day_gap ?> <small class="display-block text-size-small no-margin">days</small></h6>
|
||||
</td>
|
||||
<td>
|
||||
<div class="media-body">
|
||||
<a href="#" class="display-inline-block text-default text-semibold letter-icon-title"><? echo $rect->firstname; ?> <? echo $rect->lastname; ?></a>
|
||||
<div class="text-muted text-size-small"><span class="status-mark border-blue position-left"></span> Active</div> - No transporter set
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" class="text-default display-inline-block">
|
||||
<span class="text-semibold"><? echo $rect->to_street; ?>, <? echo $rect->to_city; ?>, <? echo $rect->to_zipcode; ?>, <? echo $rect->to_state; ?></span>
|
||||
<span class="display-block text-muted"><? echo $rect->from_street; ?>, <? echo $rect->from_city; ?>, <? echo $rect->from_zipcode; ?>, <? echo $rect->from_state; ?></span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" class="text-default display-inline-block">
|
||||
<? echo $rect->transport_date; ?><br>
|
||||
0.00 Miles
|
||||
</a>
|
||||
</td>
|
||||
|
||||
<td class="text-center">
|
||||
<button type="button" class="btn btn-warning btn-xs" onclick="processMyTranspPenig(<?= $rect->id ?>);" >Manage</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="tab-pane" id="bottom-tab2">
|
||||
<div class="text-right">
|
||||
<button type="submit" class="btn btn-info">Add New Location<i class="icon-arrow-right14 position-right"></i></button>
|
||||
</div>
|
||||
|
||||
<table class="table text-nowrap">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Locations</th>
|
||||
<th class="text-center" style="width: 20px;"><i class="icon-arrow-down12"></i></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<?
|
||||
foreach ($transport_location as $rect) {
|
||||
?>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>
|
||||
<a href="#" class="text-default display-inline-block">
|
||||
<span class="text-semibold"><? echo $rect->street; ?>, <? echo $rect->city; ?>, <? echo $rect->zipcode; ?>, <? echo $rect->state; ?></span>
|
||||
</a>
|
||||
</td>
|
||||
|
||||
|
||||
<td class="text-center">
|
||||
<button type="button" class="btn btn-warning btn-xs" onclick="processMyTranspPenig(<?= $rect->id ?>);" >Manage</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- /support tickets -->
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<!-- Recent Members -->
|
||||
<div class="panel panel-flat">
|
||||
<div id="transp_detail">
|
||||
<div class="thumbnail">
|
||||
<div class="thumb">
|
||||
<img src="/assets/images/placeholder.jpg" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /Recent Members -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /dashboard content -->
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function processPendTransp(link_id) {
|
||||
if (confirm("Are you sure you want to process this trasport?")) {
|
||||
// do something
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
$('#transp_detail').html('Processing...');
|
||||
$('#acc' + link_id).prop('disabled', true);
|
||||
$.ajax({
|
||||
url: "/transp/selpending?proc=PROCESS&transp_id=" + link_id
|
||||
}).done(function (data) {
|
||||
$('#transp_detail').html(data);
|
||||
document.offer_individual.rec_email.value = '';
|
||||
$('#acc' + link_id).prop('disabled', false);
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
// -->
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user