Billing screen and PO status update screen added

This commit is contained in:
gandhimathi Bharathirajan 2017-07-19 13:17:32 +05:30
parent 9ff23bf368
commit 8f395b8c4a
2 changed files with 247 additions and 0 deletions

View File

@ -0,0 +1,135 @@
<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>#</th>
<th>PONO#</th>
<th>Material Code</th>
<th>Material Name</th>
<th>UOM</th>
<th>Order Value</th>
<th>Cost Center Name</th>
<th>Description</th>
<th>Raised By</th>
<th>Department</th>
<th>PO Date</th>
<th>Work Status</th>
<th>Remarks</th>
<!--<th>Action</th>-->
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td><a href="#">P0001</a></td>
<td>A100</td>
<td>Iron</td>
<td>Kg</td>
<td>1000</td>
<td>C001</td>
<td>No</td>
<td>Rajasekar</td>
<td>Finance</td>
<td>18-7-2017</td>
<td ><select name="selectId">
<option value="-1" >Select Option</option>
<option value="1">In Progress</option>
<option value="2">Complete</option>
</select></td>
<td contenteditable="true"><?php
$data = array('name' => '','value' => set_value(''),'id'=>'POType', 'class' => 'form-control');
echo form_input($data);
?></td>
<!--<td><i class="fa fa-eye"></i></td>-->
</tr>
<tr>
<td>2</td>
<td><a href="#">P0002</a></td>
<td>A1001</td>
<td>Iron</td>
<td>Kg</td>
<td>1000</td>
<td>C002</td>
<td>No</td>
<td>Rajasekar</td>
<td>Finance</td>
<td>18-7-2017</td>
<td><select name="selectId">
<option value="-1" >Select Option</option>
<option value="1">In Progress</option>
<option value="2">Complete</option>
</select></td>
<td contenteditable="true"><?php
$data = array('name' => 'POType','value' => set_value('POType'),'id'=>'POType', 'class' => 'form-control');
echo form_input($data);
?></td>
<!--<td><i class="fa fa-eye"></i></td>-->
</tr><tr>
<td>3</td>
<td><a href="#">P0003</a></td>
<td>A1002</td>
<td>Iron</td>
<td>Kg</td>
<td>1000</td>
<td>C003</td>
<td>No</td>
<td>Rajasekar</td>
<td>Finance</td>
<td>18-7-2017</td>
<td><select name="selectId">
<option value="-1" >Select Option</option>
<option value="1">In Progress</option>
<option value="2">Complete</option>
</select></td>
<td contenteditable="true"><?php
$data = array('name' => '','value' => set_value('POType'),'id'=>'POType', 'class' => 'form-control');
echo form_input($data);
?></td>
<!--<td><i class="fa fa-eye"></i></td>-->
</tr>
</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>

View File

@ -0,0 +1,112 @@
<script>
$(document).ready(function(){
$("#PONO").select2();
});
</script>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center>Status Of Service Purchase Order</center>
</h1>
</section>
<section class="content"><br/>
<div class="row" style="padding-bottom:1%">
<div id="content" > </div>
<div class="col-md-12">
<div class="col-md-3">
<?php
/* $attributes = array('class' => 'form-label-left ','name' => 'IGR','id' => ''); */
/* echo form_open($this->config->base_url().'/inwardgateregister/addNewigr/',$attributes); */?>
<label>Select Purchase Order NO </label>
<div>
<?php
$options = array("-1"=>'Purchase Order No');
if(!empty($PO_NO))
{
//print_r($PO_NO);
foreach ($PO_NO as $SI):
$options[$SI->PONO] = $SI->PONO .'-'. $SI->SupplierName ;
$PONO = $SI->PONO;
endforeach;
}
echo form_dropdown('PONO', $options,set_value('PONO'),'id="PONO"' ,'class="form-control select2"' , 'required="true"');
?>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<table id="Inwardgateregistertable" class="table table-bordered table-hover editabletable IGR_Line" style="background-color:#fff;font-size:12px;">
<thead style="background-color:#ddf">
<tr>
<th>S.NO</th>
<th>Item Code</th>
<th>Material</th>
<th>UOM</th>
<th>Ordered Quantity</th>
<th>Accepted Quantity</th>
<th>Status</th>
<th>Remarks</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td><a href="#">P0001</a></td>
<td>Iron</td>
<td>Kg</td>
<td>1000</td>
<td>800</td>
<td><select name="selectId">
<option value="-1">Select Option</option>
<option value="1">In Progress</option>
<option value="2">Complete</option>
</select>
</td>
<td contenteditable="true"><?php
$data = array('name' => '','value' => set_value(''),'id'=>'', 'class' => 'form-control');
echo form_input($data);
?></td>
</tr>
</tbody>
</table>
<input type="hidden" name="txtRowCount" id="txtRowCount" />
</div>
<div class="col-md-1 col-md-offset-10">
<a class="btn btn-primary" onclick="Save();">Submit</a>
</div>
</div>
</section>
</div>