From 73bd2b947b3f92b2bda77c2219c9b88a1454d34b Mon Sep 17 00:00:00 2001 From: gandhimathi Bharathirajan Date: Wed, 12 Jul 2017 15:36:43 +0530 Subject: [PATCH] Amendment issue --- application/views/editRevenueAmendPO.php | 868 +---------------------- 1 file changed, 20 insertions(+), 848 deletions(-) diff --git a/application/views/editRevenueAmendPO.php b/application/views/editRevenueAmendPO.php index 5550f37b..23fda964 100755 --- a/application/views/editRevenueAmendPO.php +++ b/application/views/editRevenueAmendPO.php @@ -7,7 +7,7 @@ $MaxPoDate = ''; $AvlAmount = 0; $DeliverSchedule=''; $DeliverOption=''; - +$RowCount = 0; if(!empty($MaxPODate)) { foreach ($MaxPODate as $date) @@ -185,16 +185,7 @@ $("#Requeston").datepicker({ -var paymentday=; -if (paymentday=="After") -{ -//alert(); - document.getElementById("After").checked = true; -} -else -{ - document.getElementById("Before").checked = true; -} + $('#drpSupplier').change(function() { @@ -1588,66 +1579,8 @@ function calculatePackaging(isEdit) calculateCST($('#isEdit').val()); } - // function ExceedQuantityCheck() - // { - // // RequistQuantity - // var EnterQuantity = $("#Quantity").val()== '' ? "0.00" : parseFloat($("#Quantity").val()); - // var ReqQuantity = parseFloat(RequistQuantity); - // if(EnterQuantity > ReqQuantity) - // { - // alert('Your exceeding the Quantity from the Requisition Quantity:'+ RequistQuantity +'.Please adjust the Quantity to proceed further.'); - // //$('#Quantity').val(RequistQuantity); - // $('#Quantity').focus(); - // return false; - // } - // } - // function ExceedEditQuantityCheck() - // { - // // RequistQuantity - // var EnterQuantity = $("#EditQuantity").val()== '' ? "0.00" : parseFloat($("#EditQuantity").val()); - // var ReqQuantity = parseFloat(RequistQuantity); - // if(EnterQuantity > ReqQuantity) - // { - // alert('Your exceeding the Quantity from the Requisition Quantity:'+ RequistQuantity +'.Please adjust the Quantity to proceed further.'); - // $('#EditQuantity').focus(); - // return false; - // } - // } - // To Reset the Tax calculation - function resetTaxField() - { - $("#ItemName").val(''); - $("#UOM").val(''); - $("#Quantity").val(''); - $("#Rate").val(''); - $("#DiscountType").val("0"); - $("#txtDiscount").val(''); - $('#txtAfterDiscount').val(''); - $("#PackagingType").val("0") - $("#txtPackaging").val(''); - $('#txtAfterPackaging').val(''); - $("#txtExciseDuty").val(''); - $('#txtAfterExciseDuty').val(''); - $("#txtVat").val(''); - $('#txtAfterVat').val(''); - $("#txtCST").val(''); - $('#txtAfterCST').val(''); - $("#txtGST").val(''); - $('#txtAfterGST').val(''); - $("#txtOtherTax").val(''); - $('#txtAfterOtherTax').val(''); - $("#drpFreight").val("0") - $("#txtFreight").val(''); - $('#txtAfterFreight').val(''); - $('#txtInsurance').val(''); - $('#txtTotalOrderValue').val(''); - ExciseCalculation = ''; - PackagingCalculation = ''; - VatCalculation = ''; - CSTCalculation = ''; - } function Editchange(){ //ExceedEditQuantityCheck(); @@ -1912,25 +1845,12 @@ body {
- Payable AT - - 'PayableAT','value' => set_value('PayableAT',$PayableAT),'id'=>'PayableAT', 'class' => 'form-control' ,'required' => 'true'); - echo form_input($data); - ?> +
- Payment Date
- - - "Payment", "id"=>"Before", "value"=>"0", 'checked'=>set_radio('Payment', '0', TRUE))); ?>     - - "Payment", "id"=>"After", "value"=>"1", 'checked'=>set_radio('Payment', '1', FALSE))); ?> - - - +
@@ -2068,402 +1988,7 @@ body { - - +