175 lines
5.2 KiB
PHP
175 lines
5.2 KiB
PHP
<style>
|
|
.table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {border: 1px solid #333;}
|
|
</style>
|
|
<div class="content-wrapper">
|
|
|
|
|
|
<section class="content">
|
|
|
|
<div style="border:2px solid #333">
|
|
<center><b><h2>Requisition List</h2></b></center>
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="col-md-3">
|
|
<label>Request Type</label>
|
|
<div class="form-control">
|
|
<?php
|
|
$options = array("0"=>'Select Request Type');
|
|
//print_r( $options);
|
|
|
|
if(!empty($POType))
|
|
{
|
|
foreach ($SupplierName as $SID):
|
|
|
|
|
|
$options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
|
|
|
|
endforeach;
|
|
}
|
|
|
|
echo form_dropdown('SupplierID', $options,set_value('SupplierID'),'id="SupplierID"' ,'class = "form-control required"','required="true"');
|
|
|
|
?>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<label>Request Type</label>
|
|
<div class="form-control">
|
|
<?php
|
|
$options = array("0"=>'Select Request Type');
|
|
//print_r( $options);
|
|
|
|
if(!empty($POType))
|
|
{
|
|
foreach ($SupplierName as $SID):
|
|
|
|
|
|
$options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
|
|
|
|
endforeach;
|
|
}
|
|
|
|
echo form_dropdown('SupplierID', $options,set_value('SupplierID'),'id="SupplierID"' ,'class = "form-control required"','required="true"');
|
|
|
|
?>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="col-md-2">
|
|
<label>Request Type</label>
|
|
<div class="form-control">
|
|
<?php
|
|
$options = array("0"=>'Select Request Type');
|
|
//print_r( $options);
|
|
|
|
if(!empty($POType))
|
|
{
|
|
foreach ($SupplierName as $SID):
|
|
|
|
|
|
$options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
|
|
|
|
endforeach;
|
|
}
|
|
|
|
echo form_dropdown('SupplierID', $options,set_value('SupplierID'),'id="SupplierID"' ,'class = "form-control required"','required="true"');
|
|
|
|
?>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="col-md-2">
|
|
<label>Department Name</label>
|
|
<div class="form-group">
|
|
<?php
|
|
$data = array('name' => 'SupplierAddress','value' => set_value('SupplierAddress'),'id'=>'SupplierAddress', 'class' => 'form-control' ,'required' => 'true');
|
|
echo form_input($data);
|
|
?>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-2">
|
|
<label>Department Name</label>
|
|
<div class="form-group">
|
|
<?php
|
|
$data = array('name' => 'SupplierAddress','value' => set_value('SupplierAddress'),'id'=>'SupplierAddress', 'class' => 'form-control' ,'required' => 'true');
|
|
echo form_input($data);
|
|
?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container-fluid">
|
|
<div align="right">
|
|
|
|
<button type="button" class="btn btn-primary">Search</button>
|
|
<button type="button" class="btn btn-primary">Clear</button>
|
|
</div><br/>
|
|
<table class="table table-bordered" style="border:1px solid #333">
|
|
<div align="right" style="padding-right:10px">
|
|
|
|
<div class="modal fade" role="dialog">
|
|
|
|
<thead style="background-color:#fff">
|
|
<tr>
|
|
<th><input type="checkbox" name="name1" /> </th>
|
|
<th>Requisition Number</th>
|
|
<th>Material Name</th>
|
|
<th>Quantity</th>
|
|
<th>Department</th>
|
|
<th>Requested Date</th>
|
|
<th>Status</th>
|
|
<th>Priority</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><input type="checkbox" name="name2" /> </td>
|
|
<td>1</td>
|
|
<td>001</td>
|
|
<td>Waste Sand</td>
|
|
<td>Ton</td>
|
|
<td>100</td>
|
|
<td>High</td>
|
|
<td>No Change</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="checkbox" name="name2" /> </td>
|
|
<td>2</td>
|
|
<td>002</td>
|
|
<td>Resin</td>
|
|
<td>Litre</td>
|
|
<td>50</td>
|
|
<td>High</td>
|
|
<td>Change</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="checkbox" name="name2" /> </td>
|
|
<td>3</td>
|
|
<td>003</td>
|
|
<td>Resin</td>
|
|
<td>Litre</td>
|
|
<td>100</td>
|
|
<td>High</td>
|
|
<td>Change</td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
<div align="right" style="padding-right:10px">
|
|
<button type="button" class="btn btn-primary">Create PO</button>
|
|
|
|
|
|
</div>
|
|
<br>
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
</div>
|