CHANGE_PURCHASE_LIST_MINTON
This commit is contained in:
parent
4458f2d786
commit
9420023502
@ -39,35 +39,37 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="content-wrapper">
|
|
||||||
<!-- Content Header (Page header) -->
|
|
||||||
|
|
||||||
<!-- Main content -->
|
|
||||||
<section class="content">
|
<div class="content-page">
|
||||||
|
<div class="content">
|
||||||
|
<!-- Start Content-->
|
||||||
|
<div class="container-fluid">
|
||||||
|
<!-- start page title -->
|
||||||
|
<div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12">
|
<div class="col-12">
|
||||||
<div class="box">
|
<div class="page-title-box page-title-box-alt">
|
||||||
<div class="box-header">
|
<h4 class="page-title">Amendment Purchase Order List</h4>
|
||||||
<center>
|
|
||||||
<h3 class="box-title">Amendment Purchase Order List </h3>
|
|
||||||
</center>
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.box-header -->
|
</div>
|
||||||
<div class="box-body">
|
</div>
|
||||||
<form class="Date-filter-form" id="DateRangeFilter" >
|
<div class="row">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="card">
|
||||||
|
<form class="Date-filter-form" id="DateRangeFilter" style="margin-top: 14px;margin-bottom: -11px;margin-left: 33px;">
|
||||||
<input type="hidden" name="table" value="requisition">
|
<input type="hidden" name="table" value="requisition">
|
||||||
<label for="fromDate">From:</label>
|
<label for="fromDate">From:</label>
|
||||||
<input type="text" id="fromDate" name="fromDate" placeholder="Select From Date" autocomplete="off" required>
|
<input type="text" id="fromDate" name="fromDate" placeholder="Select From Date" autocomplete="off" required>
|
||||||
|
|
||||||
<label for="toDate">To:</label>
|
<label for="toDate">To:</label>
|
||||||
<input type="text" id="toDate" name="toDate" placeholder="Select To Date" autocomplete="off" required>
|
<input type="text" id="toDate" name="toDate" placeholder="Select To Date" autocomplete="off" required>
|
||||||
|
|
||||||
<button type="submit">Search</button>
|
<button type="submit">Search</button>
|
||||||
<i class="fa fa-repeat" aria-hidden="true" class="icon-button" id="resetButton" title="Reset"></i>
|
<i class="fa fa-repeat" aria-hidden="true" class="icon-button" id="resetButton" title="Reset"></i>
|
||||||
<div class="error" id="error"></div>
|
<div class="error" id="error"></div>
|
||||||
</form>
|
</form>
|
||||||
<table id="example1" class="table table-hover editableTable" style="background-color:#fff;font-size:12px;">
|
<div class="card-body">
|
||||||
<thead style="background-color: #ddd;">
|
<table id="amend_po_list" class="table dt-responsive nowrap w-100">
|
||||||
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<!-- <th>#</th> -->
|
<!-- <th>#</th> -->
|
||||||
<th>PO Date</th>
|
<th>PO Date</th>
|
||||||
@ -82,7 +84,8 @@
|
|||||||
<th>Action</th>
|
<th>Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody><?php
|
<tbody>
|
||||||
|
<?php
|
||||||
if (!empty($POData)) {
|
if (!empty($POData)) {
|
||||||
$index = 0;
|
$index = 0;
|
||||||
foreach ($POData as $record) {
|
foreach ($POData as $record) {
|
||||||
@ -117,7 +120,8 @@
|
|||||||
} else {
|
} else {
|
||||||
echo "Status not provided";
|
echo "Status not provided";
|
||||||
}
|
}
|
||||||
?></td>
|
?>
|
||||||
|
</td>
|
||||||
<td><?php $option = 'By Deliver Date';
|
<td><?php $option = 'By Deliver Date';
|
||||||
if ($record->DeliveryOption == 1) {
|
if ($record->DeliveryOption == 1) {
|
||||||
$option = "By Schedule";
|
$option = "By Schedule";
|
||||||
@ -139,7 +143,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<td> <a data-toggle="tooltip" href="<?php echo base_url() . 'EditAmendPO?PONO=' . $record->PONO . '&ReqType=' . $record->ReqType . '&CapitalRange=' . $record->CapitalRange; ?>"><i class="fa fa-pencil" data-toggle="tooltip" title="<?php echo $record->PONO; ?> - Click here to Edit Purchase Order details"></i> </a>
|
<td> <a data-toggle="tooltip" href="<?php echo base_url() . 'EditAmendPO?PONO=' . $record->PONO . '&ReqType=' . $record->ReqType . '&CapitalRange=' . $record->CapitalRange; ?>"><i class="fas fa-pencil-alt" data-toggle="tooltip" title="<?php echo $record->PONO; ?> - Click here to Edit Purchase Order details"></i> </a>
|
||||||
|
|
||||||
|
|
||||||
<a data-toggle="tooltip" href="<?php echo base_url() . 'EditAmendPO?PONO=' . $record->PONO . '&ReqType=' . $record->ReqType . '&CapitalRange=' . $record->CapitalRange; ?>"> <a data-toggle="tooltip" href="<?php echo base_url() . 'purchaseorder/CreatePOPrint?PONO=' . $record->PONO . '&ReqType=' . $record->ReqType; ?>"><i class="fa fa-print" data-toggle="tooltip" title="<?php echo $record->PONO; ?> - Click here to Print the Purchase Order details"></i> </a>
|
<a data-toggle="tooltip" href="<?php echo base_url() . 'EditAmendPO?PONO=' . $record->PONO . '&ReqType=' . $record->ReqType . '&CapitalRange=' . $record->CapitalRange; ?>"> <a data-toggle="tooltip" href="<?php echo base_url() . 'purchaseorder/CreatePOPrint?PONO=' . $record->PONO . '&ReqType=' . $record->ReqType; ?>"><i class="fa fa-print" data-toggle="tooltip" title="<?php echo $record->PONO; ?> - Click here to Print the Purchase Order details"></i> </a>
|
||||||
@ -152,20 +156,16 @@
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
</div> <!-- end card body-->
|
||||||
|
</div> <!-- end card -->
|
||||||
|
</div><!-- end col-->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.box-body -->
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.box -->
|
</div> <!-- container -->
|
||||||
|
</div> <!-- content -->
|
||||||
</div>
|
|
||||||
<!-- /.col -->
|
|
||||||
</div>
|
|
||||||
<!-- /.row -->
|
|
||||||
</section>
|
|
||||||
<!-- /.content -->
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- /.content-wrapper -->
|
<!-- /.content-wrapper -->
|
||||||
<!-- <script>
|
<!-- <script>
|
||||||
$(function() {
|
$(function() {
|
||||||
@ -266,3 +266,24 @@ $(document).ready(function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script>$(document).ready(function() {
|
||||||
|
$('#amend_po_list').DataTable({
|
||||||
|
dom: 'Blfrtip', // Buttons, length menu, filter, table, information, pagination
|
||||||
|
buttons: [
|
||||||
|
'copy', 'csv', 'excel', 'pdf', 'print' // Export buttons
|
||||||
|
],
|
||||||
|
pageLength: 10, // Default rows per page
|
||||||
|
lengthMenu: [ [10, 20, 30, 50, -1], [10, 20, 30, 50, "All"] ], // Rows per page options
|
||||||
|
responsive: true, // Responsive table
|
||||||
|
order: [[0, 'desc']], // Default ordering (column index 0, ascending)
|
||||||
|
language: {
|
||||||
|
paginate: {
|
||||||
|
next: '<i class="fas fa-angle-right"></i>', // Next button icon
|
||||||
|
previous: '<i class="fas fa-angle-left"></i>' // Previous button icon
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
@ -55,21 +55,21 @@
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="content-wrapper">
|
|
||||||
<!-- Content Header (Page header) -->
|
|
||||||
|
|
||||||
<!-- Main content -->
|
|
||||||
<section class="content">
|
<div class="content-page">
|
||||||
|
<div class="content">
|
||||||
|
<!-- Start Content-->
|
||||||
|
<div class="container-fluid">
|
||||||
|
<!-- start page title -->
|
||||||
|
<div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12">
|
<div class="col-12">
|
||||||
<div class="box">
|
<div class="page-title-box page-title-box-alt">
|
||||||
<div class="box-header">
|
<h4 class="page-title">Purchase Order List</h4>
|
||||||
<center>
|
</div>
|
||||||
<h3 class="box-title"> Purchase Order List</h3>
|
</div>
|
||||||
</center>
|
</div> <?php
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-12">
|
|
||||||
<?php
|
|
||||||
helper('form');
|
helper('form');
|
||||||
$error = session()->getFlashdata('error');
|
$error = session()->getFlashdata('error');
|
||||||
if($error){
|
if($error){
|
||||||
@ -82,18 +82,10 @@
|
|||||||
echo show_alert($type, $success);
|
echo show_alert($type, $success);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-12">
|
||||||
<?php // \Config\Services::validation()->listErrors('<div class="alert alert-danger alert-dismissable">', ' <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button></div>');
|
<div class="card">
|
||||||
?> </div>
|
<form class="Date-filter-form" id="DateRangeFilter" style="margin-top: 14px;margin-bottom: -11px;margin-left: 33px;">
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- /.box-header -->
|
|
||||||
<div class="box-body">
|
|
||||||
<form class="Date-filter-form" id="DateRangeFilter" >
|
|
||||||
<input type="hidden" name="table" value="requisition">
|
<input type="hidden" name="table" value="requisition">
|
||||||
<label for="fromDate">From:</label>
|
<label for="fromDate">From:</label>
|
||||||
<input type="text" id="fromDate" name="fromDate" placeholder="Select From Date" autocomplete="off" required>
|
<input type="text" id="fromDate" name="fromDate" placeholder="Select From Date" autocomplete="off" required>
|
||||||
@ -105,8 +97,9 @@
|
|||||||
<i class="fa fa-repeat" aria-hidden="true" class="icon-button" id="resetButton" title="Reset"></i>
|
<i class="fa fa-repeat" aria-hidden="true" class="icon-button" id="resetButton" title="Reset"></i>
|
||||||
<div class="error" id="error"></div>
|
<div class="error" id="error"></div>
|
||||||
</form>
|
</form>
|
||||||
<table id="dataTableHistoriek" class="table table-bordered table-hover editableTable" style="background-color:#fff;font-size:12px;">
|
<div class="card-body">
|
||||||
<thead style="background-color: #ddd;">
|
<table id="po_list" class="table dt-responsive nowrap w-100">
|
||||||
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>PO Date</th>
|
<th>PO Date</th>
|
||||||
<th>PONO#</th>
|
<th>PONO#</th>
|
||||||
@ -120,7 +113,8 @@
|
|||||||
<th>Action</th>
|
<th>Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody><?php
|
<tbody>
|
||||||
|
<?php
|
||||||
if (!empty($POData)) {
|
if (!empty($POData)) {
|
||||||
$index = 0;
|
$index = 0;
|
||||||
foreach ($POData as $record) {
|
foreach ($POData as $record) {
|
||||||
@ -189,19 +183,14 @@
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
</div> <!-- end card body-->
|
||||||
|
</div> <!-- end card -->
|
||||||
|
</div><!-- end col-->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.box-body -->
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.box -->
|
</div> <!-- container -->
|
||||||
|
</div> <!-- content -->
|
||||||
</div>
|
|
||||||
<!-- /.col -->
|
|
||||||
</div>
|
|
||||||
<!-- /.row -->
|
|
||||||
</section>
|
|
||||||
<!-- /.content -->
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.content-wrapper -->
|
<!-- /.content-wrapper -->
|
||||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
@ -350,3 +339,24 @@ $(document).ready(function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script> -->
|
</script> -->
|
||||||
|
|
||||||
|
<script>$(document).ready(function() {
|
||||||
|
$('#po_list').DataTable({
|
||||||
|
dom: 'Blfrtip', // Buttons, length menu, filter, table, information, pagination
|
||||||
|
buttons: [
|
||||||
|
'copy', 'csv', 'excel', 'pdf', 'print' // Export buttons
|
||||||
|
],
|
||||||
|
pageLength: 10, // Default rows per page
|
||||||
|
lengthMenu: [ [10, 20, 30, 50, -1], [10, 20, 30, 50, "All"] ], // Rows per page options
|
||||||
|
responsive: true, // Responsive table
|
||||||
|
order: [[0, 'desc']], // Default ordering (column index 0, ascending)
|
||||||
|
language: {
|
||||||
|
paginate: {
|
||||||
|
next: '<i class="fas fa-angle-right"></i>', // Next button icon
|
||||||
|
previous: '<i class="fas fa-angle-left"></i>' // Previous button icon
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
.dataTables_wrapper {
|
.dataTables_wrapper {
|
||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
margin-top: -3%;
|
/* margin-top: -3%; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-wrapper {
|
.content-wrapper {
|
||||||
@ -37,21 +37,25 @@
|
|||||||
float: inline-end;
|
float: inline-end;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="content-wrapper">
|
|
||||||
|
|
||||||
|
<div class="content-page">
|
||||||
|
<div class="content">
|
||||||
<?php $attributes = array('class' => 'form-label-left CreatePO ', 'name' => 'CreatePO', 'id' => 'CreatePO', 'method' => 'post', 'role' => 'form');
|
<?php $attributes = array('class' => 'form-label-left CreatePO ', 'name' => 'CreatePO', 'id' => 'CreatePO', 'method' => 'post', 'role' => 'form');
|
||||||
echo form_open(base_url() . 'purchaseOrder', $attributes); ?>
|
echo form_open(base_url() . 'purchaseOrder', $attributes); ?>
|
||||||
|
|
||||||
<section class="content">
|
<!-- Start Content-->
|
||||||
|
|
||||||
<div class="box">
|
|
||||||
<div class="box-header">
|
|
||||||
<center>
|
|
||||||
<h3 class="box-title"> Create Purchase Order from Requistion</h3>
|
|
||||||
</center>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div id="content"></div>
|
|
||||||
|
<!-- start page title -->
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="page-title-box page-title-box-alt">
|
||||||
|
<h4 class="page-title">Create Purchase Order from Requistion</h4>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<?php
|
<?php
|
||||||
@ -93,8 +97,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12" style="margin-top: -79px;">
|
||||||
<div class="col-md-3 col-md-offset-9">
|
<!-- <div class="col-md-3 col-md-offset-9"> -->
|
||||||
<p>
|
<p>
|
||||||
<div align="right" style="padding-right:0px">
|
<div align="right" style="padding-right:0px">
|
||||||
<!--<a href="<?php echo base_url(); ?>purchaseorderform/purchaseorder"> -->
|
<!--<a href="<?php echo base_url(); ?>purchaseorderform/purchaseorder"> -->
|
||||||
@ -105,13 +109,15 @@
|
|||||||
<input type="hidden" name="txtReqType" id="txtReqType" />
|
<input type="hidden" name="txtReqType" id="txtReqType" />
|
||||||
</div>
|
</div>
|
||||||
</p>
|
</p>
|
||||||
|
<!-- </div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container-fluid">
|
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-body">
|
||||||
<div class="modal fade" id="RequisitionDtlsModal" role="dialog">
|
<div class="modal fade" id="RequisitionDtlsModal" role="dialog">
|
||||||
<div class="modal-dialog" style="vertical-align: middle;width: fit-content">
|
<div class="modal-dialog" style="vertical-align: middle;width: fit-content">
|
||||||
<!-- Modal content-->
|
<!-- Modal content-->
|
||||||
@ -207,11 +213,8 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<table id="create_po_from_requistion" class="table dt-responsive nowrap w-100">
|
||||||
<table id="REQLIST" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
|
<thead>
|
||||||
<div align="right" style="padding-right:10px">
|
|
||||||
<div class="modal fade" role="dialog">
|
|
||||||
<thead style="background-color: #ddd !important;">
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>Select</th>
|
<th>Select</th>
|
||||||
<th>Requested Date</th>
|
<th>Requested Date</th>
|
||||||
@ -227,9 +230,8 @@
|
|||||||
<th>Designation</th>
|
<th>Designation</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="AppendReqList">
|
<tbody>
|
||||||
<?php
|
<?php if (!empty($ReqList)) { //alert($ReqList);
|
||||||
if (!empty($ReqList)) { //alert($ReqList);
|
|
||||||
$index = 1;
|
$index = 1;
|
||||||
foreach ($ReqList as $record) {
|
foreach ($ReqList as $record) {
|
||||||
?>
|
?>
|
||||||
@ -259,11 +261,6 @@
|
|||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div align="right">
|
|
||||||
<!-- <input type="submit" class="btn btn-success" onclick="return Validate();" value="Create Purchase Order"> -->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="modal fade" id="ImportPOCheck" role="dialog">
|
<div class="modal fade" id="ImportPOCheck" role="dialog">
|
||||||
<div class="modal-dialog modal-dialog-centered">
|
<div class="modal-dialog modal-dialog-centered">
|
||||||
<!-- Modal content-->
|
<!-- Modal content-->
|
||||||
@ -290,10 +287,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div> <!-- end card body-->
|
||||||
|
</div> <!-- end card -->
|
||||||
|
</div><!-- end col-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</div> <!-- container -->
|
||||||
|
</div> <!-- content -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var POType = '';
|
var POType = '';
|
||||||
function SetImportPO() {
|
function SetImportPO() {
|
||||||
@ -423,3 +425,23 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
<script>$(document).ready(function() {
|
||||||
|
$('#create_po_from_requistion').DataTable({
|
||||||
|
dom: 'Blfrtip', // Buttons, length menu, filter, table, information, pagination
|
||||||
|
buttons: [
|
||||||
|
'copy', 'csv', 'excel', 'pdf', 'print' // Export buttons
|
||||||
|
],
|
||||||
|
pageLength: 10, // Default rows per page
|
||||||
|
lengthMenu: [ [10, 20, 30, 50, -1], [10, 20, 30, 50, "All"] ], // Rows per page options
|
||||||
|
responsive: true, // Responsive table
|
||||||
|
order: [[0, 'desc']], // Default ordering (column index 0, ascending)
|
||||||
|
language: {
|
||||||
|
paginate: {
|
||||||
|
next: '<i class="fas fa-angle-right"></i>', // Next button icon
|
||||||
|
previous: '<i class="fas fa-angle-left"></i>' // Previous button icon
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
@ -1,4 +1,4 @@
|
|||||||
<div?php
|
<?php
|
||||||
//print_r($getTotalServicePoCount);
|
//print_r($getTotalServicePoCount);
|
||||||
$Empcnt = '';
|
$Empcnt = '';
|
||||||
//echo $DEPCode;
|
//echo $DEPCode;
|
||||||
|
|||||||
@ -48,7 +48,7 @@
|
|||||||
<div class="auth-logo">
|
<div class="auth-logo">
|
||||||
<a href="index.html" class="logo logo-dark text-center">
|
<a href="index.html" class="logo logo-dark text-center">
|
||||||
<span class="logo-lg">
|
<span class="logo-lg">
|
||||||
<img src="<?php echo base_url('public/new_assets/images/RI_logo.png'); ?> " alt="" height="40">
|
<img src="<?php echo base_url('public/new_assets/images/RI_logo.png'); ?> " alt="" height="60">
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|||||||
@ -89,19 +89,25 @@ if (empty($Status)) {
|
|||||||
color: #0056b3;
|
color: #0056b3;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="content-wrapper">
|
|
||||||
|
|
||||||
|
|
||||||
<section class="content">
|
<div class="content-page">
|
||||||
<div class="box">
|
<div class="content">
|
||||||
<div class="box-header">
|
<!-- Start Content-->
|
||||||
<CENTER>
|
|
||||||
<h3 class="box-title">Purchase Order Approve List </h3>
|
|
||||||
</CENTER>
|
|
||||||
</div>
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
<!-- start page title -->
|
||||||
<form class="Date-filter-form" id="DateRangeFilter">
|
<div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="page-title-box page-title-box-alt">
|
||||||
|
<h4 class="page-title">Purchase Order Approve List</h4>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="card">
|
||||||
|
<form class="Date-filter-form" id="DateRangeFilter" style="margin-top: 14px;margin-bottom: -11px;margin-left: 33px;">
|
||||||
<input type="hidden" name="table" value="requisition">
|
<input type="hidden" name="table" value="requisition">
|
||||||
<label for="fromDate">From:</label>
|
<label for="fromDate">From:</label>
|
||||||
<input type="text" id="fromDate" name="fromDate" placeholder="Select From Date" autocomplete="off" required>
|
<input type="text" id="fromDate" name="fromDate" placeholder="Select From Date" autocomplete="off" required>
|
||||||
@ -113,10 +119,9 @@ if (empty($Status)) {
|
|||||||
<i class="fa fa-repeat" aria-hidden="true" class="icon-button" id="resetButton" title="Reset"></i>
|
<i class="fa fa-repeat" aria-hidden="true" class="icon-button" id="resetButton" title="Reset"></i>
|
||||||
<div class="error" id="error"></div>
|
<div class="error" id="error"></div>
|
||||||
</form>
|
</form>
|
||||||
<table id="Requisition" class="table table-hover" style="background-color:#fff;font-size:12px;">
|
<div class="card-body">
|
||||||
|
<table id="po_release" class="table dt-responsive nowrap w-100">
|
||||||
|
<thead>
|
||||||
<thead style="background-color: #ddd;">
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>PO Date</th>
|
<th>PO Date</th>
|
||||||
<th>Purchase Order Number</th>
|
<th>Purchase Order Number</th>
|
||||||
@ -136,8 +141,7 @@ if (empty($Status)) {
|
|||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="ApprovalList">
|
<tbody>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (!empty($AppList)) {
|
if (!empty($AppList)) {
|
||||||
$index = 0;
|
$index = 0;
|
||||||
@ -228,17 +232,15 @@ if (empty($Status)) {
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
</div> <!-- end card body-->
|
||||||
<br>
|
</div> <!-- end card -->
|
||||||
|
</div><!-- end col-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div> <!-- container -->
|
||||||
</section>
|
</div> <!-- content -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -600,3 +602,24 @@ if (empty($Status)) {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script>$(document).ready(function() {
|
||||||
|
$('#po_release').DataTable({
|
||||||
|
dom: 'Blfrtip', // Buttons, length menu, filter, table, information, pagination
|
||||||
|
buttons: [
|
||||||
|
'copy', 'csv', 'excel', 'pdf', 'print' // Export buttons
|
||||||
|
],
|
||||||
|
pageLength: 10, // Default rows per page
|
||||||
|
lengthMenu: [ [10, 20, 30, 50, -1], [10, 20, 30, 50, "All"] ], // Rows per page options
|
||||||
|
responsive: true, // Responsive table
|
||||||
|
order: [[0, 'desc']], // Default ordering (column index 0, ascending)
|
||||||
|
language: {
|
||||||
|
paginate: {
|
||||||
|
next: '<i class="fas fa-angle-right"></i>', // Next button icon
|
||||||
|
previous: '<i class="fas fa-angle-left"></i>' // Previous button icon
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
@ -76,33 +76,43 @@ span.highlight {
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="content-wrapper">
|
<div class="content-page">
|
||||||
|
<div class="content">
|
||||||
<section class="content">
|
<!-- Start Content-->
|
||||||
|
<div class="container-fluid">
|
||||||
|
|
||||||
|
<!-- start page title -->
|
||||||
|
<div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12">
|
<div class="col-12">
|
||||||
<div class="box">
|
<div class="page-title-box page-title-box-alt">
|
||||||
|
<h4 class="page-title">Requisition Listing</h4>
|
||||||
<div class="box-header">
|
|
||||||
<center><b>
|
|
||||||
<h3 class="box-title">Requisition Listing</h3>
|
|
||||||
</b></center>
|
|
||||||
|
|
||||||
</div><!-- /.box-header -->
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<?php if($DraftCount > 0 ) {?><p style="text-align: center;">
|
<?php if($DraftCount > 0 ) {?><p style="text-align: center;">
|
||||||
<span class="highlight">The Requisition No <b><?php echo $ReqNo;?></b> is in Draft
|
<span class="highlight">The Requisition No <b><?php echo $ReqNo;?></b> is in Draft
|
||||||
status.</span> Please act on the requisition.<span class="highlight">Then only you can raise
|
status.</span> Please act on the requisition.<span class="highlight">Then only you can raise
|
||||||
New Requisition. </span>
|
New Requisition. </span>
|
||||||
</p> <?php } ?>
|
</p> <?php } ?>
|
||||||
|
<div class="row" style="margin-top: -63px;">
|
||||||
|
<div class="col-md-12 text-left">
|
||||||
|
<div class="form-group row">
|
||||||
|
<div class="col-md-3"></div>
|
||||||
|
<div class="col-md-5 text-right"></div>
|
||||||
|
<div class="col-md-4 text-right">
|
||||||
|
<?php if($DraftCount == 0) { ?>
|
||||||
|
<a class="btn btn-success" href="<?php echo base_url(); ?>RequisitionForm">Raise New Requisition</a>
|
||||||
|
<?php } ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12 text-right" style="margin-left:-2%;">
|
<div class="col-12">
|
||||||
<div class="form-group">
|
<div class="card">
|
||||||
|
<form class="Date-filter-form" id="DateRangeFilter" style="margin-top: 14px;margin-bottom: -11px;margin-left: 33px;">
|
||||||
<div class="col-md-8">
|
|
||||||
<form class="Date-filter-form" id="DateRangeFilter" >
|
|
||||||
<input type="hidden" name="table" value="requisition">
|
<input type="hidden" name="table" value="requisition">
|
||||||
<label for="fromDate">From:</label>
|
<label for="fromDate">From:</label>
|
||||||
<input type="text" id="fromDate" name="fromDate" placeholder="Select From Date" autocomplete="off" required>
|
<input type="text" id="fromDate" name="fromDate" placeholder="Select From Date" autocomplete="off" required>
|
||||||
@ -114,21 +124,9 @@ span.highlight {
|
|||||||
<i class="fa fa-repeat" aria-hidden="true" class="icon-button" id="resetButton" title="Reset"></i>
|
<i class="fa fa-repeat" aria-hidden="true" class="icon-button" id="resetButton" title="Reset"></i>
|
||||||
<div class="error" id="error"></div>
|
<div class="error" id="error"></div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
<div class="card-body">
|
||||||
|
<table id="requisition_listing" class="table dt-responsive nowrap w-100">
|
||||||
<div class="col-md-4">
|
<thead>
|
||||||
<?php if($DraftCount == 0) { ?>
|
|
||||||
<a class="btn btn-success" onclick="Test()"
|
|
||||||
href="<?php echo base_url(); ?>RequisitionForm">Raise New Requisition</a>
|
|
||||||
<?php }?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<table id="Requisition" class="table table-bordered table-hover"
|
|
||||||
style="background-color:#fff;font-size:12px;">
|
|
||||||
<thead style="background-color: #ddd;">
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>Requisted Date</th>
|
<th>Requisted Date</th>
|
||||||
<th>Requisition No</th>
|
<th>Requisition No</th>
|
||||||
@ -139,13 +137,9 @@ span.highlight {
|
|||||||
<th>NewLine Item</th>
|
<th>NewLine Item</th>
|
||||||
<th>Status</th>
|
<th>Status</th>
|
||||||
<th>Action</th>
|
<th>Action</th>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if(!empty($TotNoOfLine))
|
if(!empty($TotNoOfLine))
|
||||||
{
|
{
|
||||||
@ -169,10 +163,10 @@ span.highlight {
|
|||||||
|
|
||||||
<td> <a data-toggle="tooltip"
|
<td> <a data-toggle="tooltip"
|
||||||
href="<?php echo base_url().'EditRequisitionForm?ReqNo='.$record->ReqNo.'&ReqType='.$record->ReqType; ?>"><i
|
href="<?php echo base_url().'EditRequisitionForm?ReqNo='.$record->ReqNo.'&ReqType='.$record->ReqType; ?>"><i
|
||||||
class="fa fa-pencil" data-toggle="tooltip"
|
class="fas fa-pencil-alt" data-toggle="tooltip"
|
||||||
title="<?php echo $record->ReqNo; ?> - Click here to view Requisition details"></i> </a>
|
title="<?php echo $record->ReqNo; ?> - Click here to view Requisition details"></i> </a>
|
||||||
<a data-toggle="tooltip" onclick="DeleteRow('<?php echo $record->ReqNo; ?>' )"><span
|
<a data-toggle="tooltip" onclick="DeleteRow('<?php echo $record->ReqNo; ?>' )"><span
|
||||||
class="glyphicon glyphicon-trash"
|
class="fas fa-trash"
|
||||||
title="<?php echo $record->ReqNo; ?> - Click here to Delete Requisition details"></span></a>
|
title="<?php echo $record->ReqNo; ?> - Click here to Delete Requisition details"></span></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -181,13 +175,16 @@ span.highlight {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
</div> <!-- end card body-->
|
||||||
|
</div> <!-- end card -->
|
||||||
|
</div><!-- end col-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> <!-- container -->
|
||||||
</section>
|
</div> <!-- content -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
@ -303,3 +300,24 @@ $(document).ready(function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script>$(document).ready(function() {
|
||||||
|
$('#requisition_listing').DataTable({
|
||||||
|
dom: 'Blfrtip', // Buttons, length menu, filter, table, information, pagination
|
||||||
|
buttons: [
|
||||||
|
'copy', 'csv', 'excel', 'pdf', 'print' // Export buttons
|
||||||
|
],
|
||||||
|
pageLength: 10, // Default rows per page
|
||||||
|
lengthMenu: [ [10, 20, 30, 50, -1], [10, 20, 30, 50, "All"] ], // Rows per page options
|
||||||
|
responsive: true, // Responsive table
|
||||||
|
order: [[0, 'desc']], // Default ordering (column index 0, ascending)
|
||||||
|
language: {
|
||||||
|
paginate: {
|
||||||
|
next: '<i class="fas fa-angle-right"></i>', // Next button icon
|
||||||
|
previous: '<i class="fas fa-angle-left"></i>' // Previous button icon
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
@ -57,7 +57,7 @@
|
|||||||
.dataTables_wrapper .dataTables_length {
|
.dataTables_wrapper .dataTables_length {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
.dataTables_wrapper .dt-buttons,
|
/* .dataTables_wrapper .dt-buttons,
|
||||||
.dataTables_wrapper .dataTables_filter {
|
.dataTables_wrapper .dataTables_filter {
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
@ -65,11 +65,11 @@
|
|||||||
.dataTables_wrapper .dt-buttons {
|
.dataTables_wrapper .dt-buttons {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
} */
|
||||||
.dataTables_wrapper .dataTables_filter {
|
/* .dataTables_wrapper .dataTables_filter {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
} */
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
@ -127,15 +127,26 @@ var data = suggestion.DriverMobileNumber;
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script type="text/javascript" src="<?php echo base_url(); ?>public/assets/Autocomplete/jquery.autocomplete.js"></script>
|
<script type="text/javascript" src="<?php echo base_url(); ?>public/assets/Autocomplete/jquery.autocomplete.js"></script>
|
||||||
<div class="content-wrapper">
|
|
||||||
<section class="content"><br/>
|
|
||||||
<div class="box">
|
|
||||||
|
<div class="content-page">
|
||||||
|
<div class="content">
|
||||||
|
<!-- Start Content-->
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="box-header">
|
<!-- start page title -->
|
||||||
<center><b><h3 class="box-title">View Inward Gate Register </h3></b></center>
|
<div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="page-title-box page-title-box-alt">
|
||||||
|
<h4 class="page-title">View Inward Gate Register </h4>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<form class="Date-filter-form" id="DateRangeFilter" >
|
<div class="col-12">
|
||||||
|
<div class="card">
|
||||||
|
<form class="Date-filter-form" id="DateRangeFilter" style="margin-top: 14px;margin-bottom: -11px;margin-left: 33px;">
|
||||||
<input type="hidden" name="table" value="requisition">
|
<input type="hidden" name="table" value="requisition">
|
||||||
<label for="fromDate">From:</label>
|
<label for="fromDate">From:</label>
|
||||||
<input type="text" id="fromDate" name="fromDate" placeholder="Select From Date" autocomplete="off" required>
|
<input type="text" id="fromDate" name="fromDate" placeholder="Select From Date" autocomplete="off" required>
|
||||||
@ -147,9 +158,9 @@ var data = suggestion.DriverMobileNumber;
|
|||||||
<i class="fa fa-repeat" aria-hidden="true" class="icon-button" id="resetButton" title="Reset"></i>
|
<i class="fa fa-repeat" aria-hidden="true" class="icon-button" id="resetButton" title="Reset"></i>
|
||||||
<div class="error" id="error"></div>
|
<div class="error" id="error"></div>
|
||||||
</form>
|
</form>
|
||||||
<div class="col-md-12">
|
<div class="card-body">
|
||||||
<table id="Inwardgateregistertable" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
|
<table id="view_inward_gate_register" class="table dt-responsive nowrap w-100">
|
||||||
<thead style="background-color: #ddd;">
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Create Date</th>
|
<th>Create Date</th>
|
||||||
<th>Create time</th>
|
<th>Create time</th>
|
||||||
@ -214,11 +225,15 @@ var data = suggestion.DriverMobileNumber;
|
|||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div> <!-- end card body-->
|
||||||
|
</div> <!-- end card -->
|
||||||
|
</div><!-- end col-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> <!-- container -->
|
||||||
</div>
|
</div> <!-- content -->
|
||||||
<!-- box closed here -->
|
</div>
|
||||||
|
<!-- box closed here -->
|
||||||
<!-- Igr modal fade -->
|
<!-- Igr modal fade -->
|
||||||
<div class="modal fade" id="Igrshow" role="dialog">
|
<div class="modal fade" id="Igrshow" role="dialog">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
@ -583,10 +598,7 @@ var data = suggestion.DriverMobileNumber;
|
|||||||
</div><!-- /.modal content -->
|
</div><!-- /.modal content -->
|
||||||
</div><!-- /.modal dialog -->
|
</div><!-- /.modal dialog -->
|
||||||
</div>
|
</div>
|
||||||
<!-- Bill modal fade closed-->
|
|
||||||
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
<script>
|
<script>
|
||||||
$("#Igrshow").on("shown.bs.modal", function(e) {
|
$("#Igrshow").on("shown.bs.modal", function(e) {
|
||||||
var inx = $(e.relatedTarget).data('id');
|
var inx = $(e.relatedTarget).data('id');
|
||||||
@ -647,7 +659,7 @@ var data = suggestion.DriverMobileNumber;
|
|||||||
// success:function(data) {
|
// success:function(data) {
|
||||||
$('#content').loader('hide');
|
$('#content').loader('hide');
|
||||||
var parsedData = JSON.parse(data);
|
var parsedData = JSON.parse(data);
|
||||||
console.log(parsedData);
|
console.log(parsedData);
|
||||||
if (parsedData['details'].length === 0) {
|
if (parsedData['details'].length === 0) {
|
||||||
console.log("No data available");
|
console.log("No data available");
|
||||||
// Reset all relevant fields and table
|
// Reset all relevant fields and table
|
||||||
@ -1863,4 +1875,24 @@ function removeContact(button) {
|
|||||||
$('#day').hide()
|
$('#day').hide()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('#view_inward_gate_register').DataTable({
|
||||||
|
dom: 'Blfrtip', // Buttons, length menu, filter, table, information, pagination
|
||||||
|
buttons: [
|
||||||
|
'copy', 'csv', 'excel', 'pdf', 'print' // Export buttons
|
||||||
|
],
|
||||||
|
pageLength: 10, // Default rows per page
|
||||||
|
lengthMenu: [ [10, 20, 30, 50, -1], [10, 20, 30, 50, "All"] ], // Rows per page options
|
||||||
|
responsive: true, // Responsive table
|
||||||
|
order: [[0, 'desc']], // Default ordering (column index 0, ascending)
|
||||||
|
language: {
|
||||||
|
paginate: {
|
||||||
|
next: '<i class="fas fa-angle-right"></i>', // Next button icon
|
||||||
|
previous: '<i class="fas fa-angle-left"></i>' // Previous button icon
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
Loading…
Reference in New Issue
Block a user