294 lines
7.8 KiB
PHP
294 lines
7.8 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>
|
|
<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>Department Name</label>
|
|
<div>
|
|
<?php
|
|
$options = array("0"=>'Select Department Name');
|
|
//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>Status</label>
|
|
<div>
|
|
<?php
|
|
$options = array("0"=>'Select Status');
|
|
//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-6" style="border:1px solid">
|
|
<div class="col-md-6">
|
|
<label>From Date</label>
|
|
<div class="form-group">
|
|
<?php
|
|
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
|
|
echo form_input($data);
|
|
?>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<label>To Date</label>
|
|
<div class="form-group">
|
|
<?php
|
|
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
|
|
echo form_input($data);
|
|
?>
|
|
</div>
|
|
</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/>
|
|
|
|
|
|
<div class="modal fade" id="myModal" role="dialog">
|
|
<div class="modal-dialog">
|
|
<!-- Modal content-->
|
|
<form>
|
|
<div class="modal-content">
|
|
<div class="modal-header" style="background-color: #3c8dbc;color:#fff;">
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
<center><h4> Requisition Details - REQ No</h4></center>
|
|
</div>
|
|
<div align="left">
|
|
|
|
<div class="col-md-12">
|
|
<div class="col-md-3">
|
|
<label>Request Type</label>
|
|
<div class="form-group">
|
|
<?php
|
|
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
|
|
echo form_input($data);
|
|
?>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-3">
|
|
<label>Request By</label>
|
|
<div class="form-group">
|
|
<?php
|
|
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
|
|
echo form_input($data);
|
|
?>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<label>Department Name</label>
|
|
<div class="form-group">
|
|
<?php
|
|
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
|
|
echo form_input($data);
|
|
?>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<label>Desigination</label>
|
|
<div class="form-group">
|
|
<?php
|
|
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
|
|
echo form_input($data);
|
|
?>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="col-md-12">
|
|
<div class="col-md-3">
|
|
<label>Requisition Date</label>
|
|
<div class="form-group">
|
|
<?php
|
|
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
|
|
echo form_input($data);
|
|
?>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-3">
|
|
<label>Cost Center Name</label>
|
|
<div class="form-group">
|
|
<?php
|
|
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
|
|
echo form_input($data);
|
|
?>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<label>Available Budget Amount</label>
|
|
<div class="form-group">
|
|
<?php
|
|
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
|
|
echo form_input($data);
|
|
?>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<label>Status</label>
|
|
<div class="form-group">
|
|
<?php
|
|
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
|
|
echo form_input($data);
|
|
?>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="col-md-12">
|
|
<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>S No</th>
|
|
<th>Item Code</th>
|
|
<th>Item Description</th>
|
|
<th>UOM</th>
|
|
<th>Quantity</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
|
|
<td> 1 </td>
|
|
<td>R001</td>
|
|
<td>Wasted Sand</td>
|
|
<td>Ton</td>
|
|
<td>100</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
|
|
<td> 2 </td>
|
|
<td>R002</td>
|
|
<td>Resin</td>
|
|
<td>Liter</td>
|
|
<td>200</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<div class="modal-footer">
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-default" value="submit">OK</button>
|
|
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<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>Requisition Date</th>
|
|
<th>Status</th>
|
|
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><input type="checkbox" name="name2" /> </td>
|
|
<td><a data-toggle="modal" data-target="#myModal">1</a></td>
|
|
<td>2/3/2017</td>
|
|
<td>Pending</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td><input type="checkbox" name="name2" /> </td>
|
|
<td><a data-toggle="modal" data-target="#myModal">2</a></td>
|
|
<td>5/4/2017</td>
|
|
<td>Pending</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td><input type="checkbox" name="name2" /> </td>
|
|
<td><a data-toggle="modal" data-target="#myModal">3</a></td>
|
|
<td>9/4/2017</td>
|
|
<td>Pending</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>
|