added new view in requisition listing and few modification
This commit is contained in:
parent
8ccbbfd461
commit
6b73d9a26b
@ -28,6 +28,12 @@ class requisitionlist extends BaseController
|
||||
/**
|
||||
* This function used to load the first screen of the user
|
||||
*/
|
||||
function requisitionlisting()
|
||||
{
|
||||
$this->global['pageTitle'] = 'Siddharth : Requisition Listing';
|
||||
|
||||
$this->loadViews("requisitionlisting", $this->global, NULL);
|
||||
}
|
||||
|
||||
function requisition()
|
||||
{
|
||||
|
||||
@ -142,7 +142,7 @@ $(function() {
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-6" style=" padding-right: 31px;">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="CostName">Approved By:</label><font color="Red">*</font>
|
||||
@ -175,8 +175,8 @@ $(function() {
|
||||
</div>
|
||||
<br>
|
||||
<div col="row">
|
||||
<div class="col-md-offset-8" style="text-align:right">
|
||||
<a data-toggle="modal" href="#addbudgetmodel" class="btn btn-info"><i class="fa fa-plus"></i> Add Budget</a>
|
||||
<div style="text-align:right">
|
||||
<a data-toggle="modal" href="#addbudgetmodel" style="margin-right: 10px;" class="btn btn-info"><i class="fa fa-plus"></i> Add Budget</a>
|
||||
|
||||
|
||||
<!-- Modal -->
|
||||
@ -654,10 +654,7 @@ $('.tempClickEdit').click(function(){
|
||||
|
||||
Selectedval ='';
|
||||
$('#txtSelectedDepartment').val(Selectedval);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var tempSelect = $('#selectDistriList option:selected').val();
|
||||
$('#selectDistriList option:selected').remove().appendTo('#distriList');
|
||||
$("#selectDistriList").attr('selectedIndex', '-1').find("option:selected").removeAttr("selected");
|
||||
@ -727,5 +724,4 @@ function validate()
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
</script>
|
||||
@ -253,6 +253,12 @@
|
||||
<span>Requisition List</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>requisitionlist/requisitionlisting">
|
||||
<i class="fa fa-users"></i>
|
||||
<span>Requisition Listing</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@ -275,6 +275,7 @@
|
||||
<th>Requisition Number</th>
|
||||
<th>Requisition Date</th>
|
||||
<th>Status</th>
|
||||
<th>Commants</th>
|
||||
|
||||
|
||||
</tr>
|
||||
@ -284,22 +285,42 @@
|
||||
<td><input type="checkbox" name="chk1" id="chk1"/> </td>
|
||||
<td><a data-toggle="modal" data-target="#myModal"><u>REQ000001</u></a></td>
|
||||
<td>2/3/2017</td>
|
||||
<td>Pending</td>
|
||||
<td data-name="sel">
|
||||
<select name="status">
|
||||
<option value="1">Pending</option>
|
||||
<option value="2">Approval</option>
|
||||
<option value="3">Reject</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>Need to get quick</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" name="chk2" id="chk2" /> </td>
|
||||
<td><a data-toggle="modal" data-target="#myModal"><u>REQ000001</u></a></td>
|
||||
<td>5/4/2017</td>
|
||||
<td>Pending</td>
|
||||
<td data-name="sel">
|
||||
<select name="status">
|
||||
<option value="1">Pending</option>
|
||||
<option value="2">Approval</option>
|
||||
<option value="3">Reject</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>Need to get quick</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="checkbox" name="chk3" id="chk3"/> </td>
|
||||
<td><a data-toggle="modal" data-target="#myModal"><u>REQ000001</u></a></td>
|
||||
<td>9/4/2017</td>
|
||||
<td>Pending</td>
|
||||
|
||||
<td data-name="sel">
|
||||
<select name="status">
|
||||
<option value="1">Pending</option>
|
||||
<option value="2">Approval</option>
|
||||
<option value="3">Reject</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>Need to get quick</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
|
||||
92
application/views/requisitionlisting.php
Normal file
92
application/views/requisitionlisting.php
Normal file
@ -0,0 +1,92 @@
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
$('table').tableSort( {
|
||||
animation :'slide',
|
||||
speed:500
|
||||
} );
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<CENTER>Siddharth Industries Requisition Listing</CENTER>
|
||||
|
||||
</h1>
|
||||
</section>
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 text-right">
|
||||
<div class="form-group">
|
||||
<a class="btn btn-primary" href="<?php echo base_url(); ?>"> Add Requisition</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<CENTER><h3 class="box-title"></h3></CENTER>
|
||||
<div class="box-tools">
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div><!-- /.box-header -->
|
||||
<div class="box-body table-responsive no-padding" >
|
||||
<table id="datatable" class="table table-hover tableSorter" >
|
||||
|
||||
<tr bgcolor="steelblue">
|
||||
<th>Requisition No</th>
|
||||
<th> Requisition Date</th>
|
||||
<th>Status</th>
|
||||
<th>Department</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REQ000001</td>
|
||||
<td>5/5/2017</td>
|
||||
<td>active</td>
|
||||
<td>admin</td>
|
||||
<td><i class="fa fa-pencil" aria-hidden="true"></i> <i class="fa fa-trash" aria-hidden="true"></i></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REQ000002</td>
|
||||
<td>6/5/2017</td>
|
||||
<td>active</td>
|
||||
<td>admin</td>
|
||||
<td><i class="fa fa-pencil" aria-hidden="true"></i> <i class="fa fa-trash" aria-hidden="true"></i></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REQ000003</td>
|
||||
<td>7/5/2017</td>
|
||||
<td>active</td>
|
||||
<td>admin</td>
|
||||
<td><i class="fa fa-pencil" aria-hidden="true"></i> <i class="fa fa-trash" aria-hidden="true"></i></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REQ000004</td>
|
||||
<td>8/5/2017</td>
|
||||
<td>active</td>
|
||||
<td>admin</td>
|
||||
<td><i class="fa fa-pencil" aria-hidden="true"></i> <i class="fa fa-trash" aria-hidden="true"></i></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>REQ000005</td>
|
||||
<td>9/5/2017</td>
|
||||
<td>active</td>
|
||||
<td>admin</td>
|
||||
<td><i class="fa fa-pencil" aria-hidden="true"></i> <i class="fa fa-trash" aria-hidden="true"></i></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</div><!-- /.box-body -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user