po and requisition screen
This commit is contained in:
parent
6cc104999f
commit
62517adfb7
@ -35,6 +35,7 @@ class requisitionlist extends BaseController
|
||||
|
||||
$this->loadViews("requisitionlist", $this->global, NULL);
|
||||
}
|
||||
|
||||
|
||||
function pageNotFound()
|
||||
{
|
||||
|
||||
55
application/controllers/requisitionlistapproval.php
Normal file
55
application/controllers/requisitionlistapproval.php
Normal file
@ -0,0 +1,55 @@
|
||||
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
require APPPATH . '/libraries/BaseController.php';
|
||||
|
||||
/**
|
||||
* Class : purchaseorder (PurchaseorderController)
|
||||
* User Class to control all user related operations.
|
||||
* @author : VenbaMail Mali
|
||||
* @version : 1.1
|
||||
* @since : 15 Feb 2016
|
||||
*/
|
||||
class requisitionlistapproval extends BaseController
|
||||
{
|
||||
/**
|
||||
* This is default constructor of the class
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->load->model('purchaseorder_model');
|
||||
|
||||
$this->load->library('session');
|
||||
$this->load->library('form_validation');
|
||||
|
||||
$this->isLoggedIn();
|
||||
}
|
||||
|
||||
/**
|
||||
* This function used to load the first screen of the user
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$this->global['pageTitle'] = 'Siddharth : Requisition Approval List';
|
||||
|
||||
|
||||
$this->loadViews("requisitionlistapproval", $this->global, NULL);
|
||||
|
||||
}
|
||||
|
||||
function requisitionlistapproval()
|
||||
{
|
||||
$this->global['pageTitle'] = 'Siddharth : Requisition Approval List';
|
||||
|
||||
$this->loadViews("requisitionlistapproval", $this->global, NULL);
|
||||
}
|
||||
|
||||
function pageNotFound()
|
||||
{
|
||||
$this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found';
|
||||
|
||||
$this->loadViews("404", $this->global, NULL, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
@ -10,3 +10,7 @@ ERROR - 2017-04-24 07:31:29 --> Severity: Notice --> Undefined index: PayOn C:\
|
||||
ERROR - 2017-04-24 07:57:35 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||
ERROR - 2017-04-24 07:57:35 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||
ERROR - 2017-04-24 07:57:35 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||
ERROR - 2017-04-24 08:42:59 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||
ERROR - 2017-04-24 08:42:59 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||
ERROR - 2017-04-24 08:42:59 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||
ERROR - 2017-04-24 08:42:59 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 79
|
||||
|
||||
3
application/logs/log-2017-04-26.php
Normal file
3
application/logs/log-2017-04-26.php
Normal file
@ -0,0 +1,3 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||
|
||||
ERROR - 2017-04-26 06:23:53 --> Severity: Notice --> Undefined property: stdClass::$userId C:\xampp\htdocs\siddharth_application\application\views\POlist.php 71
|
||||
27
application/logs/log-2017-04-27.php
Normal file
27
application/logs/log-2017-04-27.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||
|
||||
ERROR - 2017-04-27 08:18:50 --> Severity: Warning --> mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
|
||||
C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-04-27 08:18:50 --> Unable to connect to the database
|
||||
ERROR - 2017-04-27 08:32:06 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-04-27 08:32:06 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-04-27 08:32:07 --> Unable to connect to the database
|
||||
ERROR - 2017-04-27 08:32:21 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-04-27 08:32:21 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-04-27 08:32:21 --> Unable to connect to the database
|
||||
ERROR - 2017-04-27 08:36:41 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-04-27 08:36:41 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-04-27 08:36:41 --> Unable to connect to the database
|
||||
ERROR - 2017-04-27 08:55:16 --> Severity: Warning --> mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
|
||||
C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-04-27 08:55:16 --> Unable to connect to the database
|
||||
ERROR - 2017-04-27 08:55:23 --> Severity: Notice --> Undefined property: stdClass::$userId C:\xampp\htdocs\siddharth_application\application\views\POlist.php 71
|
||||
ERROR - 2017-04-27 09:02:49 --> Severity: Warning --> call_user_func_array() expects parameter 1 to be a valid callback, class 'requisitionlist' does not have a method 'index' C:\xampp\htdocs\siddharth_application\system\core\CodeIgniter.php 360
|
||||
ERROR - 2017-04-27 09:03:35 --> Severity: Warning --> call_user_func_array() expects parameter 1 to be a valid callback, class 'requisitionlist' does not have a method 'index' C:\xampp\htdocs\siddharth_application\system\core\CodeIgniter.php 360
|
||||
ERROR - 2017-04-27 09:04:51 --> Severity: Warning --> call_user_func_array() expects parameter 1 to be a valid callback, class 'requisitionlist' does not have a method 'index' C:\xampp\htdocs\siddharth_application\system\core\CodeIgniter.php 360
|
||||
ERROR - 2017-04-27 09:05:05 --> Severity: Warning --> call_user_func_array() expects parameter 1 to be a valid callback, class 'requisitionlist' does not have a method 'index' C:\xampp\htdocs\siddharth_application\system\core\CodeIgniter.php 360
|
||||
ERROR - 2017-04-27 09:05:45 --> Severity: Warning --> call_user_func_array() expects parameter 1 to be a valid callback, class 'requisitionlist' does not have a method 'index' C:\xampp\htdocs\siddharth_application\system\core\CodeIgniter.php 360
|
||||
ERROR - 2017-04-27 09:06:27 --> Severity: Warning --> call_user_func_array() expects parameter 1 to be a valid callback, class 'requisitionlistapproval' does not have a method 'index' C:\xampp\htdocs\siddharth_application\system\core\CodeIgniter.php 360
|
||||
ERROR - 2017-04-27 09:13:15 --> Severity: Warning --> mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
|
||||
C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
|
||||
ERROR - 2017-04-27 09:13:15 --> Unable to connect to the database
|
||||
@ -1 +1 @@
|
||||
<span style='color: #900'>2,048 KB</span> <span style='color: #090'>323.2479 ms</span><br />
|
||||
<span style='color: #900'>2,048 KB</span> <span style='color: #090'>505.0690 ms</span><br />
|
||||
@ -164,7 +164,7 @@
|
||||
endforeach;
|
||||
}
|
||||
|
||||
echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'class="form-control required"','required="true"');
|
||||
echo form_dropdown('MaterialCode', $options,set_value('MaterialCode'),'id="MaterialCode"' ,'required="true"');
|
||||
|
||||
?>
|
||||
</div>
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
|
||||
<script type="text/javascript" src="<?php echo base_url();?>assets/js/plugins/dataTables/jquery.dataTables.js"></script>
|
||||
|
||||
|
||||
<!-- cdn fot data Table plugins-->
|
||||
<script href="https://cdn.datatables.net/1.10.13/js/jquery.dataTables.min.js" ></script>
|
||||
<script type="text/javascript" src="<?php echo base_url();?>assets/js/jquery.autocomplete.js"></script>
|
||||
@ -80,6 +81,10 @@
|
||||
}
|
||||
|
||||
.box-header{padding:20px ! important}
|
||||
|
||||
select{
|
||||
width: 100%;
|
||||
padding: 2%;}
|
||||
</style>
|
||||
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" crossorigin="anonymous">
|
||||
@ -221,7 +226,7 @@
|
||||
{
|
||||
?>
|
||||
<li class="treeview">
|
||||
<span id="menu" data-toggle="dropdown" ><i class="fa fa-thumb-tack"></i> Requisition<span class="caret"></span></span>
|
||||
<span id="menu" data-toggle="dropdown" ><i class="fa fa-thumb-tack"></i> Requisition Approval<span class="caret"></span></span>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="menu2">
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>requisitionform/requisition">
|
||||
@ -235,6 +240,12 @@
|
||||
<span>Requisition List</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>requisitionlistapproval/requisitionlistapproval">
|
||||
<i class="fa fa-users"></i>
|
||||
<span>Requisition Approval List </span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php
|
||||
@ -284,18 +295,7 @@
|
||||
<span>Purchase Order form</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>purchaseorderform/servicepo">
|
||||
<i class="fa fa-users"></i>
|
||||
<span>Service Purchase Order</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>purchaseorderform/importpo">
|
||||
<i class="fa fa-users"></i>
|
||||
<span>Import Purchase Order</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<?php
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -6,57 +6,57 @@
|
||||
|
||||
<section class="content">
|
||||
|
||||
<div style="border:2px solid #333">
|
||||
<div>
|
||||
<center><b><h2>Requisition Form</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;
|
||||
<div>
|
||||
<?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>
|
||||
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>Requested By</label>
|
||||
<div class="form-control">
|
||||
<?php
|
||||
$options = array("0"=>'Select Request By');
|
||||
//print_r( $options);
|
||||
|
||||
if(!empty($POType))
|
||||
{
|
||||
foreach ($SupplierName as $SID):
|
||||
|
||||
|
||||
$options[$SID->SupplierID] = $SID->SupplierID.' '.' - '.' '.$SID->SupplierName;
|
||||
<div>
|
||||
<?php
|
||||
$options = array("0"=>'Select Request By');
|
||||
//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>
|
||||
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>Department Name</label>
|
||||
@ -89,7 +89,7 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label>Cost Center Name</label>
|
||||
<div class="form-control">
|
||||
<div>
|
||||
<?php
|
||||
$options = array("0"=>'Cost Center Name');
|
||||
//print_r( $options);
|
||||
@ -144,7 +144,7 @@
|
||||
|
||||
<div class="col-md-12">
|
||||
<label>Material Code</label>
|
||||
<div class="form-control">
|
||||
<div >
|
||||
<?php
|
||||
$options = array("0"=>'Material Code');
|
||||
//print_r( $options);
|
||||
@ -176,7 +176,7 @@
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<label>UOM</label>
|
||||
<div class="form-control">
|
||||
<div>
|
||||
<?php
|
||||
$options = array("0"=>'UOM');
|
||||
//print_r( $options);
|
||||
@ -207,7 +207,7 @@
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<label>Priority</label>
|
||||
<div class="form-control">
|
||||
<div>
|
||||
<?php
|
||||
$options = array("0"=>'Low / High / Medium');
|
||||
//print_r( $options);
|
||||
|
||||
@ -1,102 +1,83 @@
|
||||
<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>
|
||||
<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;
|
||||
<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-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"');
|
||||
|
||||
endforeach;
|
||||
}
|
||||
|
||||
echo form_dropdown('SupplierID', $options,set_value('SupplierID'),'id="SupplierID"' ,'class = "form-control required"','required="true"');
|
||||
|
||||
?>
|
||||
|
||||
</div>
|
||||
?>
|
||||
|
||||
</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 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 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>
|
||||
@ -108,6 +89,156 @@
|
||||
<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">
|
||||
|
||||
@ -117,45 +248,33 @@
|
||||
<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>
|
||||
<th>Requisition Date</th>
|
||||
<th>Status</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>
|
||||
<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>2</td>
|
||||
<td>002</td>
|
||||
<td>Resin</td>
|
||||
<td>Litre</td>
|
||||
<td>50</td>
|
||||
<td>High</td>
|
||||
<td>Change</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>3</td>
|
||||
<td>003</td>
|
||||
<td>Resin</td>
|
||||
<td>Litre</td>
|
||||
<td>100</td>
|
||||
<td>High</td>
|
||||
<td>Change</td>
|
||||
<td><a data-toggle="modal" data-target="#myModal">3</a></td>
|
||||
<td>9/4/2017</td>
|
||||
<td>Pending</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
|
||||
260
application/views/requisitionlistapproval.php
Normal file
260
application/views/requisitionlistapproval.php
Normal file
@ -0,0 +1,260 @@
|
||||
<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 Approval List </h2></b></center>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-4">
|
||||
<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-8" 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-4">
|
||||
<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-4">
|
||||
<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-4">
|
||||
<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-4">
|
||||
<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-4">
|
||||
<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-4">
|
||||
<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>
|
||||
<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">
|
||||
|
||||
<label align="left">Remarks</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>
|
||||
|
||||
<button type="button" class="btn btn-default" value="submit">Approve</button>
|
||||
|
||||
<button type="reset" class="btn btn-default" value="reset">Reject</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>
|
||||
Loading…
Reference in New Issue
Block a user