issues fixes
This commit is contained in:
parent
91b9b5ffdc
commit
27e4508e78
@ -78,28 +78,12 @@ class inwardgateregister extends BaseController
|
|||||||
$PO = $this->input->post('id');
|
$PO = $this->input->post('id');
|
||||||
$CreatedBy = $this->session->userdata('userId');
|
$CreatedBy = $this->session->userdata('userId');
|
||||||
|
|
||||||
$ordqty ='';
|
|
||||||
$recqty ='';
|
|
||||||
|
|
||||||
$qty = $this->inwardgateregister_model->getpolineqty($PO);
|
|
||||||
|
|
||||||
$ordqty = $qty[0]->Qty;
|
|
||||||
$recqty = $qty[0]->rec;
|
|
||||||
|
|
||||||
if($ordqty == $recqty)
|
|
||||||
{
|
|
||||||
$Newstatus = array('Status'=>IGR_CREATED);
|
|
||||||
$this->inwardgateregister_model-> POLineItemsupdatestatus($PO,$Newstatus);
|
|
||||||
$Newstat = array('Status'=>IGR_CREATED);
|
|
||||||
$this->inwardgateregister_model->pomasterupdatestatus($PO,$Newstat);
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->inwardgateregister_model->UpdatePOMaster($PO,$CreatedBy);
|
$this->inwardgateregister_model->UpdatePOMaster($PO,$CreatedBy);
|
||||||
$data = $this->inwardgateregister_model->viewpurchaseorder($PO);
|
$data = $this->inwardgateregister_model->viewpurchaseorder($PO);
|
||||||
echo json_encode($data);
|
echo json_encode($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* To upload IGR files
|
* To upload IGR files
|
||||||
*/
|
*/
|
||||||
@ -138,8 +122,7 @@ class inwardgateregister extends BaseController
|
|||||||
*/
|
*/
|
||||||
function addNewigr()
|
function addNewigr()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
$PONO = $this->input->post('PONO');
|
$PONO = $this->input->post('PONO');
|
||||||
|
|
||||||
$DeliveryChellanOrInvoiceNo = $this->input->post('InvoiceNo');
|
$DeliveryChellanOrInvoiceNo = $this->input->post('InvoiceNo');
|
||||||
@ -185,12 +168,13 @@ class inwardgateregister extends BaseController
|
|||||||
$igr = array();
|
$igr = array();
|
||||||
|
|
||||||
$igr = array('PONO'=>$PONO,'VehicleNo'=>$VehicleNo,'DeliveryChellanOrInvoiceNo'=>$DeliveryChellanOrInvoiceNo,'DeliveryChellanDate'=>$DeliveryChellanDate,'MaterialRcvdDate'=>$MaterialRcvdDt,'CourierNo'=>$CourierNo,'IGRStatus'=>$IGRStatus,'CreatedBy'=>$CreatedBy,'CreatedDate' =>$createddt,'file'=>$document);
|
$igr = array('PONO'=>$PONO,'VehicleNo'=>$VehicleNo,'DeliveryChellanOrInvoiceNo'=>$DeliveryChellanOrInvoiceNo,'DeliveryChellanDate'=>$DeliveryChellanDate,'MaterialRcvdDate'=>$MaterialRcvdDt,'CourierNo'=>$CourierNo,'IGRStatus'=>$IGRStatus,'CreatedBy'=>$CreatedBy,'CreatedDate' =>$createddt,'file'=>$document);
|
||||||
|
//print_r($igr);
|
||||||
|
//echo"** IGR master **";
|
||||||
|
|
||||||
$igrM = $this->inwardgateregister_model->addigrM($igr);
|
$igrM = $this->inwardgateregister_model->addigrM($igr);
|
||||||
|
//$IGRNO = 'IGRNO0008';
|
||||||
$OGRStatus=IGR_CREATED;
|
$OGRStatus=IGR_CREATED;
|
||||||
$check_OGRPO= $this->inwardgateregister_model->update_OGR($PONO,$OGRStatus);
|
$check_OGRPO= $this->inwardgateregister_model->update_OGR($PONO,$OGRStatus);
|
||||||
|
|
||||||
$IGRNO = '';
|
$IGRNO = '';
|
||||||
if(count($igrM)>0)
|
if(count($igrM)>0)
|
||||||
@ -202,6 +186,7 @@ class inwardgateregister extends BaseController
|
|||||||
|
|
||||||
|
|
||||||
$IGRItemStatus = REQITEM_NEW;
|
$IGRItemStatus = REQITEM_NEW;
|
||||||
|
$TotalPendingQty = '';
|
||||||
|
|
||||||
|
|
||||||
for ($i = 1; $i <= $RowCount; $i++)
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
@ -211,7 +196,11 @@ class inwardgateregister extends BaseController
|
|||||||
$OrderedQuantity = trim($this->input->post('OrderedQuantity'.$i));
|
$OrderedQuantity = trim($this->input->post('OrderedQuantity'.$i));
|
||||||
$ReceivedQty = trim($this->input->post('txtReceivedQuantity'.$i));
|
$ReceivedQty = trim($this->input->post('txtReceivedQuantity'.$i));
|
||||||
$PendingQty = $this->input->post('txtPendingQty'.$i);
|
$PendingQty = $this->input->post('txtPendingQty'.$i);
|
||||||
|
|
||||||
|
//echo $PendingQty;
|
||||||
|
$TotalPendingQty = $TotalPendingQty + $PendingQty;
|
||||||
|
//echo $TotalPendingQty;
|
||||||
|
|
||||||
if(strlen($QuantityAsPerInvoice)>0 && $QuantityAsPerInvoice != '0')
|
if(strlen($QuantityAsPerInvoice)>0 && $QuantityAsPerInvoice != '0')
|
||||||
{
|
{
|
||||||
$Remarks = $this->input->post('txtRemarks'.$i);
|
$Remarks = $this->input->post('txtRemarks'.$i);
|
||||||
@ -244,7 +233,7 @@ class inwardgateregister extends BaseController
|
|||||||
|
|
||||||
$itemvalue='';
|
$itemvalue='';
|
||||||
$SupplierId='';
|
$SupplierId='';
|
||||||
$polineitemvalue = $this->inwardgateregister_model->getitemvalue($PONO,$MaterialCode);
|
$polineitemvalue = $this->inwardgateregister_model->getitemvalue($PONO,$MaterialCode);
|
||||||
|
|
||||||
foreach($polineitemvalue as $it)
|
foreach($polineitemvalue as $it)
|
||||||
{
|
{
|
||||||
@ -273,10 +262,21 @@ class inwardgateregister extends BaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
$this->inwardgateregister_model->UpdatePOMaster($PONO,$CreatedBy);
|
|
||||||
|
$this->inwardgateregister_model->UpdatePOMaster($PONO,$CreatedBy);
|
||||||
|
|
||||||
|
if($TotalPendingQty == 0.00){
|
||||||
|
|
||||||
|
$Newstatus = array('Status'=>IGR_CREATED);
|
||||||
|
|
||||||
|
$this->inwardgateregister_model->POLineItemsupdatestatus($PONO,$Newstatus);
|
||||||
|
$this->inwardgateregister_model->pomasterupdatestatus($PONO,$Newstatus);
|
||||||
|
}
|
||||||
|
else{ /*echo 'error' ;*/ }
|
||||||
|
|
||||||
|
|
||||||
echo "<script>alert('Successfully Created IGR Number:$IGRNO'); window.location.href='viewIGRDetails';</script>";
|
echo "<script>alert('Successfully Created IGR Number:$IGRNO'); window.location.href='viewIGRDetails';</script>";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -955,24 +955,27 @@ function GetServicePurchaseOrderDetailsforPdf($PONO = '')
|
|||||||
|
|
||||||
// This Method to get the Revenue PO Child Details for Edit the Item
|
// This Method to get the Revenue PO Child Details for Edit the Item
|
||||||
function GetRevenuePurchaseOrderDetails($PONO = '')
|
function GetRevenuePurchaseOrderDetails($PONO = '')
|
||||||
{
|
{
|
||||||
|
|
||||||
|
$subQuery ='SELECT distinct LineItem.LineItemNo,Req.ReqNo,Mat.MaterialCode,Mat.MaterialName,
|
||||||
|
Mat.UOM,Quantity,Per,ServiceMaterialDescription,ReceivedQuantity,Rate,
|
||||||
|
Req.Status,(Quantity *Rate) as BasicValue ,
|
||||||
|
(( AfterSGST + AfterCGST + AfterIGST )) as Taxamount ,TotalValue,Tax.*,
|
||||||
|
Req.CostCenterCode,Dept.DepartmentName
|
||||||
|
FROM T_PurchaseOrder_LineItem LineItem
|
||||||
|
join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode
|
||||||
|
join T_Revenue_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo
|
||||||
|
join T_Requestion_Master Req on Req.ReqNo = LineItem.ReqNo
|
||||||
|
left join T_Employee_Details emp on Req.Requestedby = emp.EmpID
|
||||||
|
join T_DepartmentDetails Dept on Req.RequestedDept = Dept.DEPCode
|
||||||
|
where LineItem.PONO =?';
|
||||||
|
|
||||||
$subQuery ='SELECT distinct LineItem.LineItemNo,Req.ReqNo,Mat.MaterialCode,Mat.MaterialName,Mat.UOM,Quantity,Per,ServiceMaterialDescription,ReceivedQuantity,Rate,Req.Status,(Quantity *Rate) as BasicValue , (( AfterSGST + AfterCGST +
|
$query = $this->db->query($subQuery,array($PONO));
|
||||||
AfterIGST )) as Taxamount ,TotalValue,Tax.*,Req.CostCenterCode,Dept.DepartmentName
|
|
||||||
FROM T_PurchaseOrder_LineItem LineItem
|
return $query->result();
|
||||||
join T_MaterialMaster Mat on Mat.MaterialCode = LineItem.MaterialCode
|
|
||||||
join T_Revenue_Tax Tax on Tax.LineItemNo = LineItem.LineItemNo
|
|
||||||
join T_Requestion_Master Req on Req.ReqNo = LineItem.ReqNo
|
}
|
||||||
left join T_Employee_Details emp on Req.Requestedby = emp.EmpID
|
|
||||||
join T_DepartmentDetails Dept on Req.RequestedDept = Dept.DEPCode
|
|
||||||
where LineItem.PONO =?';
|
|
||||||
|
|
||||||
$query = $this->db->query($subQuery,array($PONO));
|
|
||||||
|
|
||||||
return $query->result();
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// This Method to get the Revenue PO Child Details for Edit the Item
|
// This Method to get the Revenue PO Child Details for Edit the Item
|
||||||
function GetRevenuePurchaseOrderDetailsForPDF($PONO = '')
|
function GetRevenuePurchaseOrderDetailsForPDF($PONO = '')
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
<!-- In this purchase order listing , datatable is used for sorting , pagination and etc.. , new design is used for table fro the theme-->
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.pagination {
|
.pagination {
|
||||||
margin:0px !important;
|
margin:0px !important;
|
||||||
@ -11,20 +10,21 @@
|
|||||||
|
|
||||||
<!-- Main content -->
|
<!-- Main content -->
|
||||||
<section class="content">
|
<section class="content">
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12">
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-header">
|
<div class="box-header">
|
||||||
<!-- <center><h3 class="box-title"> Resico Industries - Amendment Purchase Order List </h3></center> -->
|
<!-- <center><h3 class="box-title">Resico Industries - Purchase Order List</h3></center> -->
|
||||||
<center><h3 class="box-title"><?php echo $pageTitle?></h3></center>
|
<center><h3 class="box-title"><?php echo $pageTitle; ?></h3></center>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-xs-12">
|
||||||
<!-- /.box-header -->
|
<!-- /.box-header -->
|
||||||
<div class="box-body" >
|
<div class="box-body">
|
||||||
<table id="example1" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
<table class="table table-bordered table-hover editableTable" id="example1" style="background-color:#fff;font-size:12px" >
|
||||||
<thead>
|
<thead style="background-color:#ddf">
|
||||||
<tr style="background-color:#ad9271">
|
<!-- <tr style="background-color:#ad9271"> -->
|
||||||
<!-- <th>#</th> -->
|
<tr>
|
||||||
<th>PONO#</th>
|
<th>PONO#</th>
|
||||||
<th>PO Type</th>
|
<th>PO Type</th>
|
||||||
<th>PO Date</th>
|
<th>PO Date</th>
|
||||||
<th>Supplier Name</th>
|
<th>Supplier Name</th>
|
||||||
@ -103,18 +103,16 @@
|
|||||||
<!-- /.content -->
|
<!-- /.content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.content-wrapper -->
|
<!-- /.content-wrapper -->
|
||||||
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
<script>
|
||||||
<script>
|
|
||||||
$(function () {
|
$(function () {
|
||||||
$.fn.dataTable.moment( 'DD-MM-YYYY' );
|
|
||||||
$('#example1').DataTable({
|
$('#example1').DataTable({
|
||||||
"paging": true,
|
"paging": true,
|
||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": false,
|
"autoWidth": false
|
||||||
"aaSorting": [[ 2, "desc" ]],
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@ -10,18 +10,20 @@
|
|||||||
|
|
||||||
<!-- Main content -->
|
<!-- Main content -->
|
||||||
<section class="content">
|
<section class="content">
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12">
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-header">
|
<div class="box-header">
|
||||||
<!-- <center><h3 class="box-title">Resico Industries - Purchase Order List</h3></center> -->
|
<!-- <center><h3 class="box-title">Resico Industries - Purchase Order List</h3></center> -->
|
||||||
<center><h3 class="box-title"><?php echo $pageTitle; ?></h3></center>
|
<center><h3 class="box-title"><?php echo $pageTitle; ?></h3></center>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-xs-12">
|
||||||
<!-- /.box-header -->
|
<!-- /.box-header -->
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<table id="example1" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
<table class="table table-bordered table-hover editableTable" id="example1" style="background-color:#fff;font-size:12px" >
|
||||||
<thead>
|
<thead style="background-color:#ddf">
|
||||||
<tr style="background-color:#ad9271">
|
<!-- <tr style="background-color:#ad9271"> -->
|
||||||
|
<tr>
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
<th>PONO#</th>
|
<th>PONO#</th>
|
||||||
<th>PO Type</th>
|
<th>PO Type</th>
|
||||||
|
|||||||
@ -26,8 +26,13 @@
|
|||||||
.btn-success {
|
.btn-success {
|
||||||
background-color: #5d0411;
|
background-color: #5d0411;
|
||||||
border-color: #5d0411;
|
border-color: #5d0411;
|
||||||
}
|
}
|
||||||
|
.btn-sm {background-color: #5d0411 !important;
|
||||||
|
border: 2px solid #5d0411 !important;}
|
||||||
|
/* .btn-sm:visited { background: red; }
|
||||||
|
.btn-sm:focused { background: red; }
|
||||||
|
.btn-sm:hover { background: red; }
|
||||||
|
.btn-sm:active { background: red; } */
|
||||||
</style>
|
</style>
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
<section class="content"><br/>
|
<section class="content"><br/>
|
||||||
|
|||||||
@ -30,6 +30,8 @@
|
|||||||
background-color: #5d0411;
|
background-color: #5d0411;
|
||||||
border-color: #5d0411;
|
border-color: #5d0411;
|
||||||
}
|
}
|
||||||
|
.btn-sm {background-color: #5d0411 !important;
|
||||||
|
border: 2px solid #5d0411 !important;}
|
||||||
th, td { white-space: nowrap; }
|
th, td { white-space: nowrap; }
|
||||||
.dataTable > thead > tr > th[class*="sort"]:after{
|
.dataTable > thead > tr > th[class*="sort"]:after{
|
||||||
content: "" !important;
|
content: "" !important;
|
||||||
|
|||||||
@ -1467,7 +1467,7 @@ function validate()
|
|||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
||||||
$('#Items').DataTable({
|
$('#mytable').DataTable({
|
||||||
|
|
||||||
"paging": false,
|
"paging": false,
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
<section class="content">
|
<section class="content">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-header">
|
<div class="box-header">
|
||||||
<!-- <center><h3 class="box-title">Resico Industries - Store Requisition Approval List</h3></center> -->
|
<!--<center><h3 class="box-title">Resico Industries - Store Requisition Approval List</h3></center>-->
|
||||||
<center><h3 class="box-title"><?php echo $pageTitle; ?></h3></center>
|
<center><h3 class="box-title"><?php echo $pageTitle; ?></h3></center>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
|
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
<!-- Content Header (Page header) -->
|
<!-- Content Header (Page header) -->
|
||||||
<section class="content-header">
|
<section class="content">
|
||||||
<h1>
|
<div class="box">
|
||||||
|
<div class="box-header">
|
||||||
<!-- <center>Resico Industries - Configuration Details</center> -->
|
<!-- <center>Resico Industries - Configuration Details</center> -->
|
||||||
<CENTER><h3 class="box-title"><?php echo $pageTitle?></h3></CENTER>
|
<CENTER><h3 class="box-title"><?php echo $pageTitle?></h3></CENTER>
|
||||||
</h1>
|
</div>
|
||||||
</section>
|
<div class="container-fluid">
|
||||||
<section class="content">
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 text-right">
|
<div class="col-xs-12 text-right">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -55,13 +55,13 @@
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||||
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|||||||
@ -45,7 +45,7 @@ foreach ($PaymentTerms as $TER)
|
|||||||
$totBasicAmt = 0;
|
$totBasicAmt = 0;
|
||||||
$totDiscountAmt = 0.0;
|
$totDiscountAmt = 0.0;
|
||||||
$totPackagingAmt = 0.0;
|
$totPackagingAmt = 0.0;
|
||||||
$totExciseAmt = 0.0;
|
//$totExciseAmt = 0.0;
|
||||||
$totVATAmt = 0.0; //FOR SGST
|
$totVATAmt = 0.0; //FOR SGST
|
||||||
$totCSTAmt = 0.0;//FOR CGST
|
$totCSTAmt = 0.0;//FOR CGST
|
||||||
$totGSTAmt = 0.0;//FOR IGST
|
$totGSTAmt = 0.0;//FOR IGST
|
||||||
@ -989,9 +989,9 @@ function calculateEditTaxValue()
|
|||||||
|
|
||||||
<section class="content">
|
<section class="content">
|
||||||
<div style="border:2px solid #333">
|
<div style="border:2px solid #333">
|
||||||
<!-- <div><center><b><h2>Resico Industries - Amendment Revenue Purchase Order- <?php echo $PONO;?></h2></b></center></div> -->
|
|
||||||
<div><center><b><h2><?php echo $pageTitle. '-'.$PONO; ?></h2></b></center></div>
|
<div><center><b><h2><?php echo $pageTitle. '-'.$PONO; ?></h2></b></center></div>
|
||||||
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
@ -1519,7 +1519,7 @@ function calculateEditTaxValue()
|
|||||||
<!-- Modal content-->
|
<!-- Modal content-->
|
||||||
<form>
|
<form>
|
||||||
<div class="modal-content" style="width:1055px;">
|
<div class="modal-content" style="width:1055px;">
|
||||||
<div class="modal-header" style="background-color: #5d0411;color:#fff;">
|
<div class="modal-header" style="background-color: #5d0411;color:#fff;">
|
||||||
<center><h4>Edit Revenue Purchase Order Line Item </h4></center>
|
<center><h4>Edit Revenue Purchase Order Line Item </h4></center>
|
||||||
</div>
|
</div>
|
||||||
<div align="left">
|
<div align="left">
|
||||||
@ -1926,7 +1926,7 @@ function calculateEditTaxValue()
|
|||||||
|
|
||||||
foreach($POItem as $record)
|
foreach($POItem as $record)
|
||||||
{
|
{
|
||||||
//print_r($POItem);
|
|
||||||
$index = $index + 1;
|
$index = $index + 1;
|
||||||
?>
|
?>
|
||||||
<tr id="<?php echo $index ; ?>">
|
<tr id="<?php echo $index ; ?>">
|
||||||
@ -1968,7 +1968,7 @@ function calculateEditTaxValue()
|
|||||||
<input type="hidden" name="<?php echo 'beforePackVal'.$index ?>" id="<?php echo 'beforePackVal'.$index ?>" value="<?php echo $record->PackagingValue ; ?>" />
|
<input type="hidden" name="<?php echo 'beforePackVal'.$index ?>" id="<?php echo 'beforePackVal'.$index ?>" value="<?php echo $record->PackagingValue ; ?>" />
|
||||||
<input type="hidden" name="<?php echo 'AfterPackVal'.$index ?>" id="<?php echo 'AfterPackVal'.$index ?>" value="<?php echo $record->AfterPackagingValue ; ?>" />
|
<input type="hidden" name="<?php echo 'AfterPackVal'.$index ?>" id="<?php echo 'AfterPackVal'.$index ?>" value="<?php echo $record->AfterPackagingValue ; ?>" />
|
||||||
<input type="hidden" name="<?php echo 'beforeAfterPackVal'.$index ?>" id="<?php echo 'beforeAfterPackVal'.$index ?>" value="<?php echo $record->AfterPackagingValue ; ?>" />
|
<input type="hidden" name="<?php echo 'beforeAfterPackVal'.$index ?>" id="<?php echo 'beforeAfterPackVal'.$index ?>" value="<?php echo $record->AfterPackagingValue ; ?>" />
|
||||||
<input type="hidden" name="<?php echo 'VatOption'.$index ?>" id="<?php echo 'VatOption'.$index ?>" value="<?php echo $record->VatCalulatedOn ; ?>" />
|
<!-- <input type="hidden" name="<?php //echo 'VatOption'.$index ?>" id="<?php //echo 'VatOption'.$index ?>" value="<?php //echo $record->VatCalulatedOn ; ?>" /> -->
|
||||||
<input type="hidden" name="<?php echo 'VatVal'.$index ?>" id="<?php echo 'VatVal'.$index ?>" value="<?php echo $record->SGST ; ?>" /> <!-- SGST-->
|
<input type="hidden" name="<?php echo 'VatVal'.$index ?>" id="<?php echo 'VatVal'.$index ?>" value="<?php echo $record->SGST ; ?>" /> <!-- SGST-->
|
||||||
<input type="hidden" name="<?php echo 'beforeVatVal'.$index ?>" id="<?php echo 'beforeVatVal'.$index ?>" value="<?php echo $record->SGST ; ?>" /><!-- SGST-->
|
<input type="hidden" name="<?php echo 'beforeVatVal'.$index ?>" id="<?php echo 'beforeVatVal'.$index ?>" value="<?php echo $record->SGST ; ?>" /><!-- SGST-->
|
||||||
<input type="hidden" name="<?php echo 'AfterVatVal'.$index ?>" id="<?php echo 'AfterVatVal'.$index ?>" value="<?php echo $record->AfterSGST ; ?>" /><!-- SGST-->
|
<input type="hidden" name="<?php echo 'AfterVatVal'.$index ?>" id="<?php echo 'AfterVatVal'.$index ?>" value="<?php echo $record->AfterSGST ; ?>" /><!-- SGST-->
|
||||||
@ -2011,7 +2011,7 @@ function calculateEditTaxValue()
|
|||||||
$totBasicAmt = $totBasicAmt + $record->BasicValue;
|
$totBasicAmt = $totBasicAmt + $record->BasicValue;
|
||||||
$totDiscountAmt = $totDiscountAmt + $record->AfterDiscount;
|
$totDiscountAmt = $totDiscountAmt + $record->AfterDiscount;
|
||||||
$totPackagingAmt = $totPackagingAmt + $record->AfterPackagingValue;
|
$totPackagingAmt = $totPackagingAmt + $record->AfterPackagingValue;
|
||||||
$totExciseAmt = $totExciseAmt + $record->AfterExciseDuty;
|
//$totExciseAmt = $totExciseAmt + $record->AfterExciseDuty;
|
||||||
$totVATAmt = $totVATAmt + $record->AfterSGST;
|
$totVATAmt = $totVATAmt + $record->AfterSGST;
|
||||||
//$totCSTAmt = $totCSTAmt + $record->AfterCST;
|
//$totCSTAmt = $totCSTAmt + $record->AfterCST;
|
||||||
$totGSTAmt = $totGSTAmt +$record->AfterCGST;
|
$totGSTAmt = $totGSTAmt +$record->AfterCGST;
|
||||||
|
|||||||
@ -466,6 +466,15 @@ function validate()
|
|||||||
value:item.PendingQty
|
value:item.PendingQty
|
||||||
}).appendTo('form');
|
}).appendTo('form');
|
||||||
|
|
||||||
|
// $.ajax({
|
||||||
|
|
||||||
|
// data:{PO:id},
|
||||||
|
// type:"POST",
|
||||||
|
// url:"<?php echo base_url() ?>inwardgateregister/UpdateStatus",
|
||||||
|
|
||||||
|
// success:function(data) {
|
||||||
|
|
||||||
|
// }});
|
||||||
if(item.PendingQty == 0.00)
|
if(item.PendingQty == 0.00)
|
||||||
{
|
{
|
||||||
$('#QuantityAsPerInvoice'+i).attr('readonly', 'true');
|
$('#QuantityAsPerInvoice'+i).attr('readonly', 'true');
|
||||||
@ -474,7 +483,6 @@ function validate()
|
|||||||
}else{
|
}else{
|
||||||
if(JSON.parse(data).length == 1 && item.PendingQty == 0){
|
if(JSON.parse(data).length == 1 && item.PendingQty == 0){
|
||||||
$("#IGRLink").hide();
|
$("#IGRLink").hide();
|
||||||
alert('The Order is completed!!');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
$color='';
|
$color='';
|
||||||
$Adv='';
|
$Adv='';
|
||||||
@ -16,29 +17,29 @@ $Adv='';
|
|||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
</style>
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
<!-- Content Header (Page header) -->
|
<!-- Content Header (Page header) -->
|
||||||
|
|
||||||
<!-- Main content -->
|
<!-- Main content -->
|
||||||
<section class="content">
|
<section class="content">
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12">
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-header">
|
<div class="box-header">
|
||||||
<!-- <center><h3 class="box-title"> Service Purchase Order Report</h3></center> -->
|
<!-- <center><h3 class="box-title">Resico Industries - Purchase Order List</h3></center> -->
|
||||||
<center><h3 class="box-title"><?php echo $pageTitle; ?> Report</h3></center>
|
<center><h3 class="box-title"><?php echo $pageTitle; ?></h3></center>
|
||||||
<span class="highlight">The PONO Shown In Green Colour Are Paid Advance Amount</span>
|
<span class="highlight">The PONO Shown In Green Colour Are Paid Advance Amount</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="row">
|
||||||
<table id="example1" class="table table-bordered table-hover editableTable" style="font-size:11px !important;">
|
<div class="col-xs-12">
|
||||||
<thead style="background-color:#ddf">
|
<!-- /.box-header -->
|
||||||
<tr>
|
<div class="box-body">
|
||||||
<!-- <table id="example1" class="table table-bordered table-hover editableTable" style="font-size:11px !important;">
|
<table id="example1" class="table table-bordered table-hover editableTable" style="background-color:#fff;font-size:11px !important;" >
|
||||||
<thead>
|
<thead style="background-color:#ddf">
|
||||||
<tr style="background-color:#ddf"> -->
|
<!-- <tr style="background-color:#ad9271"> -->
|
||||||
<th>SNO#</th>
|
<tr>
|
||||||
|
<th>SNO#</th>
|
||||||
<th>PONO#</th>
|
<th>PONO#</th>
|
||||||
<th>Advance Amount Paid</th>
|
<th>Advance Amount Paid</th>
|
||||||
<th>SupplierName</th>
|
<th>SupplierName</th>
|
||||||
@ -54,11 +55,10 @@ $Adv='';
|
|||||||
<th>PO Date</th>
|
<th>PO Date</th>
|
||||||
<th>Remarks</th>
|
<th>Remarks</th>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<?php $SNo = 0;
|
||||||
<?php $SNo = 0;
|
|
||||||
|
|
||||||
if(!empty($Billing))
|
if(!empty($Billing))
|
||||||
|
|
||||||
@ -118,8 +118,10 @@ $Adv='';
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tbody>
|
|
||||||
</table>
|
</tbody>
|
||||||
|
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.box-body -->
|
<!-- /.box-body -->
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -54,26 +54,21 @@ span.highlight {
|
|||||||
|
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<section class="content">
|
<section class="content">
|
||||||
|
<div class="box">
|
||||||
|
<div class="box-header">
|
||||||
|
<CENTER><h3 class="box-title"><?php echo $pageTitle?></h3></CENTER>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
|
|
||||||
<div class="box">
|
|
||||||
|
|
||||||
<div class=" container-fluid">
|
<div class=" container-fluid">
|
||||||
|
|
||||||
<div class="box-header">
|
|
||||||
|
|
||||||
<!-- <CENTER><h3 class="box-title">Resico Industries - Requisition Listing</h3></CENTER> -->
|
<!-- <CENTER><h3 class="box-title">Resico Industries - Requisition Listing</h3></CENTER> -->
|
||||||
<CENTER><h3 class="box-title"><?php echo $pageTitle?></h3></CENTER>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php if($DraftCount > 0 ) { ?><p>
|
<?php if($DraftCount > 0 ) { ?><p>
|
||||||
|
|
||||||
@ -199,21 +194,13 @@ span.highlight {
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</section>
|
||||||
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
|
||||||
@ -287,8 +274,9 @@ span.highlight {
|
|||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||||
<script>
|
<script src="https://cdn.datatables.net/plug-ins/1.10.16/sorting/datetime-moment.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
||||||
|
|||||||
@ -62,7 +62,7 @@ span.highlight {
|
|||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header" style="background-color: #5d0411;color:#fff;">
|
<div class="modal-header" style="background-color: #5d0411;color:#fff;">
|
||||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||||
<!-- <center><h4> Store Requisition Number Details </h4></center> -->
|
<!-- <center><h4> Store Requisition Number Details </h4></center>-->
|
||||||
<center><h4><?php echo $PageTitle; ?></h4></center>
|
<center><h4><?php echo $PageTitle; ?></h4></center>
|
||||||
</div>
|
</div>
|
||||||
<div align="left">
|
<div align="left">
|
||||||
|
|||||||
@ -46,7 +46,7 @@
|
|||||||
<div class="col-md-12 table-responsive !important">
|
<div class="col-md-12 table-responsive !important">
|
||||||
<!-- <div style="overflow-x:auto;"> -->
|
<!-- <div style="overflow-x:auto;"> -->
|
||||||
|
|
||||||
<table id="MRIRtable" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
|
<table id="MRIRtable" class="table table-bordered table-hover" style="background-color:#fff;font-size:11px !important;" >
|
||||||
<thead style="background-color:#ddf">
|
<thead style="background-color:#ddf">
|
||||||
<tr>
|
<tr>
|
||||||
<th>S.No</th>
|
<th>S.No</th>
|
||||||
|
|||||||
BIN
assets/dist/img/RI_logo.png
vendored
Executable file
BIN
assets/dist/img/RI_logo.png
vendored
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB |
Loading…
Reference in New Issue
Block a user