Capital po live issue : GWM
This commit is contained in:
parent
cf3aeaa4be
commit
3df917b916
@ -1660,12 +1660,10 @@ Mat.UOM,Quantity,ReceivedQuantity,Rate,Req.Status,Tax.*,
|
||||
Req.CostCenterCode,Dept.DepartmentName FROM t_purchaseorder_lineitem LineItem
|
||||
join t_purchaseorder_master POMast on POMast.PONO = LineItem.PONO
|
||||
join t_materialmaster Mat on Mat.MaterialCode = LineItem.MaterialCode
|
||||
|
||||
join t_import_tax Tax on Tax.LineItemNo = LineItem.LineItemNo
|
||||
left join t_import_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 =?';
|
||||
left join t_departmentdetails Dept on Req.RequestedDept = Dept.DEPCode where LineItem.PONO =?';
|
||||
//print_r($subQuery);
|
||||
|
||||
$query = $this->db->query($subQuery, array($PONO));
|
||||
@ -1720,7 +1718,7 @@ left join t_employee_details emp on Req.Requestedby = emp.EmpID
|
||||
Req.CostCenterCode,Dept.DepartmentName FROM t_purchaseorder_lineitem LineItem
|
||||
join t_purchaseorder_master POMast on POMast.PONO = LineItem.PONO
|
||||
join t_materialmaster Mat on Mat.MaterialCode = LineItem.MaterialCode
|
||||
join t_service_tax ServiceTax on ServiceTax.LineItemNo = LineItem.LineItemNo
|
||||
left join t_service_tax ServiceTax on ServiceTax.LineItemNo = LineItem.LineItemNo
|
||||
join t_requestion_master Req on Req.ReqNo = LineItem.ReqNo
|
||||
join t_employee_details emp on Req.Requestedby = emp.EmpID
|
||||
|
||||
|
||||
@ -3480,7 +3480,7 @@
|
||||
<label>Total Discount Amount <?php echo "($INR)" ?> </label>
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'txtTotalDiscount', 'value' => set_value('txtTotalDiscount', number_format($ExitDiscountedAmt, 2, '.', '')), 'id' => 'txtTotalDiscount', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
|
||||
$data = array('name' => 'txtTotalDiscount', 'value' => set_value('txtTotalDiscount', isset($ExitDiscountedAmt) ? number_format($ExitDiscountedAmt, 2, '.', '') : 0 ), 'id' => 'txtTotalDiscount', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
@ -3623,7 +3623,7 @@
|
||||
<label>Total Freight Amount <?php echo "($INR)" ?></label>
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'txtTotalFreight', 'value' => set_value('txtTotalFreight', number_format($TotalFreightAmt, 2, '.', '')), 'id' => 'txtTotalFreight', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
|
||||
$data = array('name' => 'txtTotalFreight', 'value' => set_value('txtTotalFreight', isset($TotalFreightAmt) ? number_format($TotalFreightAmt, 2, '.', '') : 0 ), 'id' => 'txtTotalFreight', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
@ -3638,7 +3638,7 @@
|
||||
<label id="lbl_international">Total Order Value <?php echo "($INR)" ?> </label>
|
||||
|
||||
<?php
|
||||
$data = array('name' => 'CapitalToatlOrder', 'value' => set_value('CapitalToatlOrder', number_format($totalCapitalOrder, 2, '.', '')), 'id' => 'CapitalToatlOrder', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
|
||||
$data = array('name' => 'CapitalToatlOrder', 'value' => set_value('CapitalToatlOrder', isset($totalCapitalOrder) ? number_format($totalCapitalOrder, 2, '.', '') : 0), 'id' => 'CapitalToatlOrder', 'class' => 'form-control', 'readonly' => 'true', 'style' => 'text-align:right;');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -3828,7 +3828,7 @@
|
||||
var SelectedMaterialList = {
|
||||
Mat: []
|
||||
};
|
||||
var index = <?php echo $index; ?> + 1;
|
||||
var index = <?php isset($index) ? $index : 0; ?> + 1;
|
||||
|
||||
var myArray = <?php echo json_encode($res_arr_values); ?>;
|
||||
$.each(myArray, function(idx, obj) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user