siddharth_application/application/views/statusofservicepurchaseorder.php
2017-07-19 13:17:32 +05:30

112 lines
3.0 KiB
PHP

<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>