listing issues fix
This commit is contained in:
parent
383c0cf8bc
commit
d07a318b15
0
application/logs/log-2017-07-28.php
Normal file → Executable file
0
application/logs/log-2017-07-28.php
Normal file → Executable file
0
application/logs/log-2017-07-31.php
Normal file → Executable file
0
application/logs/log-2017-07-31.php
Normal file → Executable file
0
application/logs/log-2017-08-01.php
Normal file → Executable file
0
application/logs/log-2017-08-01.php
Normal file → Executable file
0
application/third_party/dompdf/lib/fonts/Times-BoldItalic.afm.php
vendored
Normal file → Executable file
0
application/third_party/dompdf/lib/fonts/Times-BoldItalic.afm.php
vendored
Normal file → Executable file
0
application/third_party/dompdf/lib/fonts/Times-Italic.afm.php
vendored
Normal file → Executable file
0
application/third_party/dompdf/lib/fonts/Times-Italic.afm.php
vendored
Normal file → Executable file
@ -1,52 +1,29 @@
|
||||
|
||||
<?php
|
||||
//print_r($AppList);
|
||||
?>
|
||||
|
||||
<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> SIA - Material Distribution List </h2></b></center>
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<CENTER><h3 class="box-title">Siddharth Industries - Material Distribution List</h3></CENTER>
|
||||
</div>
|
||||
<?php
|
||||
$attributes = array('class' => 'form-label-left Approve ','name' => 'Approve','id' => 'Approve');
|
||||
|
||||
echo form_open($this->config->base_url().'requisitionform/SearchRequistList',$attributes); ?>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<table id="Requisition" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
|
||||
<div align="right" style="padding-right:10px">
|
||||
<div id="content" > </div>
|
||||
|
||||
|
||||
<thead style="background-color:#ddf">
|
||||
<tr>
|
||||
<th>Purchase Order Number</th>
|
||||
<th>Requisition Number</th>
|
||||
<th>Requested By</th>
|
||||
<th>Requested Department</th>
|
||||
$attributes = array('class' => 'form-label-left Approve ','name' => 'Approve','id' => 'Approve');
|
||||
|
||||
echo form_open($this->config->base_url().'requisitionform/SearchRequistList',$attributes); ?>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
<table id="Requisition" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
|
||||
<div align="right" style="padding-right:10px">
|
||||
<div id="content" > </div>
|
||||
<thead style="background-color:#ddf">
|
||||
<tr>
|
||||
<th>Purchase Order Number</th>
|
||||
<th>Requisition Number</th>
|
||||
<th>Requested By</th>
|
||||
<th>Requested Department</th>
|
||||
<th>Requested Date</th>
|
||||
<th>Material Code</th>
|
||||
<th>Material Name</th>
|
||||
@ -57,18 +34,18 @@
|
||||
<th>Accepted Quantity </th>
|
||||
<th>Remarks</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="ApprovalList">
|
||||
|
||||
<?php
|
||||
if(!empty($Distribution))
|
||||
{
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="ApprovalList">
|
||||
|
||||
<?php
|
||||
if(!empty($Distribution))
|
||||
{
|
||||
$index = 0;
|
||||
foreach($Distribution as $record)
|
||||
{
|
||||
foreach($Distribution as $record)
|
||||
{
|
||||
$index = $index +1;
|
||||
?>
|
||||
?>
|
||||
<tr id="<?php echo $index ?>" >
|
||||
<td><?php echo $record->PONO ?></td>
|
||||
<td><?php echo $record->ReqNo ?></td>
|
||||
@ -85,27 +62,22 @@
|
||||
<td><?php echo $record->OrderedQuantity ?></td>
|
||||
|
||||
<td><?php echo $record->AcceptedQty; ?> </td>
|
||||
|
||||
|
||||
|
||||
<?php if($record->ReqStatus != REQ_DELIVERED) { ?>
|
||||
<?php if($record->ReqStatus != REQ_DELIVERED) { ?>
|
||||
<td contenteditable="true"><input type="text" id="Remarks<?php echo $index ?>" name="Remarks<?php echo $index ?>"class="form-control" maxlength="100" value="<?php echo $record->Remarks ?>"></td>
|
||||
<td data-name="sel" contenteditable="true" id="Action<?php echo $index ?>" onchange="saveToDatabase(this,'question','<?php echo $record->ReqNo ; ?>','<?php echo $index ; ?>')">
|
||||
|
||||
|
||||
<select name="status<?php echo $index ?>" id="status<?php echo $index ?>">
|
||||
<option value="<?php echo $record->ReqStatus; ?>"><?php echo $record->StatusName; ?></option>
|
||||
<select name="status<?php echo $index ?>" id="status<?php echo $index ?>">
|
||||
<option value="<?php echo $record->ReqStatus; ?>"><?php echo $record->StatusName; ?></option>
|
||||
<?php
|
||||
if(!empty($status))
|
||||
{
|
||||
foreach ($status as $rl)
|
||||
{
|
||||
if($rl->StatusCode != $record->ReqStatus) { ?>
|
||||
<option value="<?php echo $rl->StatusCode ?>"><?php echo $rl->StatusName ?></option>
|
||||
if(!empty($status))
|
||||
{
|
||||
foreach ($status as $rl)
|
||||
{
|
||||
if($rl->StatusCode != $record->ReqStatus) { ?>
|
||||
<option value="<?php echo $rl->StatusCode ?>"><?php echo $rl->StatusName ?></option>
|
||||
<?php }
|
||||
}
|
||||
}
|
||||
?>
|
||||
}
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
|
||||
</td>
|
||||
@ -115,45 +87,37 @@
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script>
|
||||
var startDate = '';
|
||||
var endDate = '';
|
||||
|
||||
<script>
|
||||
var startDate = '';
|
||||
var endDate = '';
|
||||
|
||||
function Reset()
|
||||
{
|
||||
$('#RequisitionStatus').val("-1");
|
||||
$('#SearchDate').val('');
|
||||
}
|
||||
$("#myModal").on("shown.bs.modal", function(e) {
|
||||
var ReqId = $(e.relatedTarget).data('userid');
|
||||
$("#CostCenter").val('');
|
||||
$("#tbleAppend").empty();
|
||||
$("#ReqType").val('');
|
||||
$("#ReqBy").val('');
|
||||
$("#ReqDate").val('');
|
||||
$("#Desigination").val('');
|
||||
$("#AvlBudgetAmount").val('');
|
||||
$('#AlertImg').attr("style","display:none;");
|
||||
|
||||
$('#content').loader('show');
|
||||
function Reset()
|
||||
{
|
||||
$('#RequisitionStatus').val("-1");
|
||||
$('#SearchDate').val('');
|
||||
}
|
||||
$("#myModal").on("shown.bs.modal", function(e) {
|
||||
var ReqId = $(e.relatedTarget).data('userid');
|
||||
$("#CostCenter").val('');
|
||||
$("#tbleAppend").empty();
|
||||
$("#ReqType").val('');
|
||||
$("#ReqBy").val('');
|
||||
$("#ReqDate").val('');
|
||||
$("#Desigination").val('');
|
||||
$("#AvlBudgetAmount").val('');
|
||||
$('#AlertImg').attr("style","display:none;");
|
||||
|
||||
$('#content').loader('show');
|
||||
$.ajax({
|
||||
data:{id:ReqId},
|
||||
type:"POST",
|
||||
@ -171,39 +135,39 @@ $("#myModal").on("shown.bs.modal", function(e) {
|
||||
$("#AvlBudgetAmount").val(json.AvilBudAmount);
|
||||
|
||||
$("#tbleAppend").append(json.Items);
|
||||
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
function saveToDatabase(editableObj,column,ReqId,Index) {
|
||||
|
||||
var tr= document.getElementById(Index);
|
||||
var Actulqty = 0.0;
|
||||
|
||||
|
||||
var cellval = tr.cells;
|
||||
|
||||
Actulqty = parseFloat(cellval[6].innerHTML);
|
||||
|
||||
|
||||
var id = $('#Remarks'+Index).val();
|
||||
var StatusCode = $('#status'+Index).val();
|
||||
|
||||
|
||||
var Remarks = $('#Remarks'+Index).val();
|
||||
var MaterialCode = cellval[5].innerHTML;
|
||||
var ReqNo = cellval[1].innerHTML;
|
||||
var Sendvalues = [];
|
||||
Sendvalues[0] = StatusCode;
|
||||
Sendvalues[1] = MaterialCode;
|
||||
Sendvalues[2] = ReqNo;
|
||||
Sendvalues[3] = Remarks;
|
||||
//alert(MaterialCode);
|
||||
alert(StatusCode);
|
||||
function saveToDatabase(editableObj,column,ReqId,Index) {
|
||||
|
||||
var tr= document.getElementById(Index);
|
||||
var Actulqty = 0.0;
|
||||
|
||||
|
||||
var cellval = tr.cells;
|
||||
|
||||
Actulqty = parseFloat(cellval[6].innerHTML);
|
||||
|
||||
|
||||
var id = $('#Remarks'+Index).val();
|
||||
var StatusCode = $('#status'+Index).val();
|
||||
|
||||
|
||||
var Remarks = $('#Remarks'+Index).val();
|
||||
var MaterialCode = cellval[5].innerHTML;
|
||||
var ReqNo = cellval[1].innerHTML;
|
||||
var Sendvalues = [];
|
||||
Sendvalues[0] = StatusCode;
|
||||
Sendvalues[1] = MaterialCode;
|
||||
Sendvalues[2] = ReqNo;
|
||||
Sendvalues[3] = Remarks;
|
||||
//alert(MaterialCode);
|
||||
alert(StatusCode);
|
||||
$('#content').loader('show');
|
||||
$.ajax({
|
||||
data:{id:Sendvalues},
|
||||
@ -220,69 +184,64 @@ function saveToDatabase(editableObj,column,ReqId,Index) {
|
||||
{
|
||||
alert("Error");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
$(function() {
|
||||
var d = new Date();
|
||||
|
||||
|
||||
$(function() {
|
||||
var d = new Date();
|
||||
|
||||
var month = d.getMonth();
|
||||
var day = d.getDate();
|
||||
var year = d.getFullYear() ;
|
||||
var SIAStartYear = year - 2015;
|
||||
var mindt = year-70;
|
||||
var maxdt = year-15;
|
||||
$( ".datePicker" ).datepicker(
|
||||
{
|
||||
minDate : new Date(year-SIAStartYear,1,1),
|
||||
var month = d.getMonth();
|
||||
var day = d.getDate();
|
||||
var year = d.getFullYear() ;
|
||||
var SIAStartYear = year - 2015;
|
||||
var mindt = year-70;
|
||||
var maxdt = year-15;
|
||||
$( ".datePicker" ).datepicker(
|
||||
{
|
||||
minDate : new Date(year-SIAStartYear,1,1),
|
||||
maxDate :'now',
|
||||
dateFormat: 'mm/dd/yy',changeMonth: true, changeYear: true,
|
||||
}
|
||||
);
|
||||
//$('#SearchDate').daterangepicker( );
|
||||
//Initialize Select2 Elements
|
||||
$(".select2").select2();
|
||||
//$('#SearchDate').val('');
|
||||
$('#SearchDate').daterangepicker(
|
||||
{
|
||||
locale: {
|
||||
format: 'DD-MM-YYYY'
|
||||
},
|
||||
|
||||
showDropdowns: true
|
||||
},
|
||||
function(start, end, label) {
|
||||
|
||||
startDate = start.format('DD-MM-YYYY');
|
||||
endDate = end.format('DD-MM-YYYY');
|
||||
$('#FromDate').val(startDate);
|
||||
$('#ToDate').val(endDate);
|
||||
|
||||
|
||||
//alert("A new date range was chosen: " + start.format('DD-MM-YYYY') + ' to ' + end.format('DD-MM-YYYY'));
|
||||
});
|
||||
}
|
||||
);
|
||||
//$('#SearchDate').daterangepicker( );
|
||||
//Initialize Select2 Elements
|
||||
$(".select2").select2();
|
||||
//$('#SearchDate').val('');
|
||||
$('#SearchDate').daterangepicker(
|
||||
{
|
||||
locale: {
|
||||
format: 'DD-MM-YYYY'
|
||||
},
|
||||
|
||||
showDropdowns: true
|
||||
},
|
||||
function(start, end, label) {
|
||||
|
||||
startDate = start.format('DD-MM-YYYY');
|
||||
endDate = end.format('DD-MM-YYYY');
|
||||
$('#FromDate').val(startDate);
|
||||
$('#ToDate').val(endDate);
|
||||
|
||||
|
||||
|
||||
});
|
||||
$(function () {
|
||||
|
||||
|
||||
$('#Requisition').DataTable({
|
||||
"paging": true,
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
//alert("A new date range was chosen: " + start.format('DD-MM-YYYY') + ' to ' + end.format('DD-MM-YYYY'));
|
||||
});
|
||||
|
||||
});
|
||||
$(function () {
|
||||
|
||||
|
||||
$('#Requisition').DataTable({
|
||||
"paging": true,
|
||||
"lengthChange": true,
|
||||
"searching": true,
|
||||
"ordering": true,
|
||||
"info": true,
|
||||
"autoWidth": true
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@ -1,13 +1,12 @@
|
||||
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<center>Siddharth industries - Asset Details</center>
|
||||
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<CENTER><h3 class="box-title">Siddharth Industries - Asset Details</h3></CENTER>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 text-right">
|
||||
<div class="form-group">
|
||||
@ -68,6 +67,8 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||
|
||||
0
application/views/capitalpopdf.php
Normal file → Executable file
0
application/views/capitalpopdf.php
Normal file → Executable file
0
application/views/capitalpurchaseorder.php
Normal file → Executable file
0
application/views/capitalpurchaseorder.php
Normal file → Executable file
@ -1,12 +1,12 @@
|
||||
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<center>Siddharth Industries - Cost Details</center>
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<CENTER><h3 class="box-title">Siddharth Industries - Cost Details</h3></CENTER>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 text-right">
|
||||
<div class="form-group">
|
||||
@ -65,6 +65,8 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||
|
||||
0
application/views/editCapitalAmendPO.php
Normal file → Executable file
0
application/views/editCapitalAmendPO.php
Normal file → Executable file
0
application/views/editCapitalPo.php
Normal file → Executable file
0
application/views/editCapitalPo.php
Normal file → Executable file
0
application/views/editimportpo.php
Normal file → Executable file
0
application/views/editimportpo.php
Normal file → Executable file
@ -1,13 +1,12 @@
|
||||
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<CENTER>Siddharth Industries - Employee Details</CENTER>
|
||||
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<CENTER><h3 class="box-title">Siddharth Industries - Employee Details</h3></CENTER>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 text-right">
|
||||
<div class="form-group">
|
||||
@ -56,7 +55,10 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
0
application/views/importpo.php
Normal file → Executable file
0
application/views/importpo.php
Normal file → Executable file
0
application/views/importpopdf.php
Normal file → Executable file
0
application/views/importpopdf.php
Normal file → Executable file
0
application/views/mririmportpopdf.php
Normal file → Executable file
0
application/views/mririmportpopdf.php
Normal file → Executable file
0
application/views/mrirrevenuepopdf.php
Normal file → Executable file
0
application/views/mrirrevenuepopdf.php
Normal file → Executable file
@ -1,12 +1,12 @@
|
||||
|
||||
<div class="content-wrapper">
|
||||
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<center>Siddharth Industries - Material Master Details</CENTER>
|
||||
</h1>
|
||||
</section>
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<CENTER><h3 class="box-title">Siddharth Industries - Material Master Details</h3></CENTER>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 text-right">
|
||||
<div class="form-group">
|
||||
@ -65,6 +65,8 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||
|
||||
0
application/views/revenuepopdf.php
Normal file → Executable file
0
application/views/revenuepopdf.php
Normal file → Executable file
@ -1,13 +1,12 @@
|
||||
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<center>Siddharth Industries -Supplier Details</center>
|
||||
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<CENTER><h3 class="box-title">Siddharth Industries - Supplier Details</h3></CENTER>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 text-right">
|
||||
<div class="form-group">
|
||||
@ -19,7 +18,7 @@
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
|
||||
<table class="table table-bordered table-hover" id="datatable" style="background-color:#fff;font-size:12px;" >
|
||||
<table class="table table-bordered table-hover" id="datatable" style="background-color:#fff;font-size:11px;" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Supplier ID</th>
|
||||
@ -67,6 +66,8 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||
|
||||
@ -1,14 +1,13 @@
|
||||
|
||||
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<center>Siddharth Industries - User Management</center>
|
||||
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<CENTER><h3 class="box-title">Siddharth Industries - User Management</h3></CENTER>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 text-right">
|
||||
<div class="form-group">
|
||||
@ -61,6 +60,8 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user