siddharth_application/application/views/serviceporeport.php
gandhimathi Bharathirajan 37c934ae1e Service status update
2017-07-21 16:13:13 +05:30

108 lines
3.1 KiB
PHP

<style>
.pagination {
margin:0px !important;
}
</style>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<center><h3 class="box-title"><b>Service Purchase Order Report </b></h3></center>
</div>
<div class="box-body">
<table id="example1" class="table table-bordered table-hover editableTable" style="font-size:12px;">
<thead>
<tr bgcolor="LightSlateGray ">
<th>SNO#</th>
<th>PONO#</th>
<th>SupplierName</th>
<th>Material Code</th>
<th>Material Name</th>
<th>UOM</th>
<th>Quantity</th>
<th>Order Value</th>
<th>Cost Center Name</th>
<th>Description</th>
<th>PO Raised By</th>
<th>Department</th>
<th>PO Date</th>
<th>Remarks</th>
</tr>
</thead>
<tbody>
<?php $SNo = 0;
if(!empty($Billing))
{
foreach($Billing as $record)
{
$SNo =$SNo + 1;
//print_r($MRIRDetails);
?>
<tr>
<td><?php echo $SNo?></td>
<td><a data-toggle="tooltip" href="<?php echo base_url().'purchaseorder/CreatePOPrint?PONO='.$record->PONO.'&ReqType='.SERVICE ?>" target="new"><?php echo $record->PONO?></a></td>
<td><?php echo $record->SupplierName?></td>
<td><?php echo $record->MaterialCode?></td>
<td><?php echo $record->MaterialName?></td>
<td><?php echo $record->UOM?></td>
<td><?php echo $record->Quantity?></td>
<td><?php echo $record->TotalValue?></td>
<td><?php echo $record->CostCenterName?></td>
<td><?php echo $record->ServiceMaterialDescription?></td>
<td><?php echo $record->FirstName?></td>
<td><?php echo $record->DepartmentName?></td>
<td><?php
$rdate = new dateTime($record->PODate);
$ReqDate = $rdate->format('d-m-Y');
echo $ReqDate ?></td>
<td><?php echo $record->ServiceWorkStatusRemarks ?></td>
</tr>
<?php
}
}
?>
</tbody>
</table>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<script>
$(function () {
$('#example1').DataTable({
"paging": true,
"lengthChange": true,
"searching": true,
"ordering": true,
"info": true,
"autoWidth": false
});
});
</script>