Emp Pay Data
This commit is contained in:
parent
276f4f41db
commit
7ca468b955
@ -1,3 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$DraftCount = '';
|
||||||
|
if(!empty($Status))
|
||||||
|
{
|
||||||
|
foreach ($Status as $St)
|
||||||
|
{
|
||||||
|
$DraftCount = $St->cnt;
|
||||||
|
}
|
||||||
|
//echo $DraftCount;
|
||||||
|
}?>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
@ -21,7 +33,10 @@ speed:500
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 text-right">
|
<div class="col-xs-12 text-right">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<a class="btn btn-primary" href="<?php echo base_url(); ?>RequisitionForm">Raise New Requisition</a>
|
<?php if($DraftCount == 0)
|
||||||
|
{ ?>
|
||||||
|
<a class="btn btn-primary" onclick="Test()" href="<?php echo base_url(); ?>RequisitionForm">Raise New Requisition</a><?php }?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -42,45 +57,27 @@ speed:500
|
|||||||
<th>Requisition No</th>
|
<th>Requisition No</th>
|
||||||
<th>Requisition Date</th>
|
<th>Requisition Date</th>
|
||||||
<th>Status</th>
|
<th>Status</th>
|
||||||
<th>Department</th>
|
<th>CreatedDate</th>
|
||||||
<th>Action</th>
|
<th>Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
<?php
|
||||||
|
if(!empty($ReqList))
|
||||||
|
{
|
||||||
|
foreach($ReqList as $record)
|
||||||
|
{
|
||||||
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td>REQ000001</td>
|
<td><?php echo $record->ReqNo ?></td>
|
||||||
<td>5/5/2017</td>
|
<td><?php echo $record->ReqType ?></td>
|
||||||
<td>active</td>
|
<td><?php echo $record->Status ?></td>
|
||||||
<td>admin</td>
|
<td><?php echo $record->CreatedDate ?></td>
|
||||||
<td><a href="<?php echo base_url(); ?>requisitionform/editrequisitionlisting" ><i class="fa fa-pencil" aria-hidden="true"></i></a> <i class="fa fa-trash" aria-hidden="true"></i></td>
|
<td><i class="fa fa-pencil" aria-hidden="true"></i> <i class="fa fa-trash" aria-hidden="true"></i></td>
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>REQ000002</td>
|
|
||||||
<td>6/5/2017</td>
|
|
||||||
<td>active</td>
|
|
||||||
<td>admin</td>
|
|
||||||
<td><a href="<?php echo base_url(); ?>requisitionform/editrequisitionlisting" ><i class="fa fa-pencil" aria-hidden="true"></i></a><i class="fa fa-trash" aria-hidden="true"></i></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>REQ000003</td>
|
|
||||||
<td>7/5/2017</td>
|
|
||||||
<td>active</td>
|
|
||||||
<td>admin</td>
|
|
||||||
<td><a href="<?php echo base_url(); ?>requisitionform/editrequisitionlisting" ><i class="fa fa-pencil" aria-hidden="true"></i></a> <i class="fa fa-trash" aria-hidden="true"></i></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>REQ000004</td>
|
|
||||||
<td>8/5/2017</td>
|
|
||||||
<td>active</td>
|
|
||||||
<td>admin</td>
|
|
||||||
<td><a href="<?php echo base_url(); ?>requisitionform/editrequisitionlisting" ><i class="fa fa-pencil" aria-hidden="true"></i></a> <i class="fa fa-trash" aria-hidden="true"></i></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>REQ000005</td>
|
|
||||||
<td>9/5/2017</td>
|
|
||||||
<td>active</td>
|
|
||||||
<td>admin</td>
|
|
||||||
<td><a href="<?php echo base_url(); ?>requisitionform/editrequisitionlisting" ><i class="fa fa-pencil" aria-hidden="true"></i></a> <i class="fa fa-trash" aria-hidden="true"></i></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div><!-- /.box-body -->
|
</div><!-- /.box-body -->
|
||||||
@ -90,3 +87,4 @@ speed:500
|
|||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user