service and revenue add,edit PO flow UI changes

This commit is contained in:
venbatechnologies@gmail.com 2017-09-19 14:34:10 +05:30
parent a167920a60
commit 32eee9a8ff
4 changed files with 161 additions and 161 deletions

View File

@ -717,7 +717,7 @@ $(document).ready(function () {
<div class="col-md-9" style="padding:0px;">
<div class="col-md-4" style="padding: 0px;">
<div class="col-md-12">
<label>Supplier</label>
<label>Supplier<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5;">*</span></label>
<?php
$options = array("0"=>'Select Supplier');
//print_r( $options);
@ -771,7 +771,7 @@ $(document).ready(function () {
</div>
<div class="col-md-4" style="padding:0px;">
<div class="col-md-6" style="padding:0px;">
<b><u>Select Delivery By</u></b><br/>
<b><u>Select Delivery By<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5;">*</span></u></b><br/>
<tr>
<td>
<?php echo form_label('Date', 'Date') . "&nbsp;&nbsp;". form_radio(array('name' => 'DateRange', 'value' => '0', 'checked' => ('0' == $DeliverOption) ? TRUE : FALSE, 'id' => 'Date')); ?>
@ -784,7 +784,7 @@ $(document).ready(function () {
</tr>
</div>
<div class="col-md-6">
<label>Work Status</label>
<label>Work Status<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5;">*</span></label>
<?php
@ -813,7 +813,7 @@ $(document).ready(function () {
?>
</div>
<div class="col-md-12" id="Deliverydtdiv" style="padding-left: 0px;"><br/>
<label>Delivery Date</label>
<label>Delivery Date<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'Deliverydt','value' => set_value('Deliverydt',$Deliverydt),'id'=>'Deliverydt', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;');
@ -822,7 +822,7 @@ $(document).ready(function () {
</div>
</div>
<div class="col-md-12" id="Schedulediv" style="display:none;padding-left: 0px;"><br/>
<label >Schedule By</label>
<label >Schedule By<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5;">*</span></label>
<?php
$data = array('name' => 'Scheduleby','value' => set_value('Scheduleby'),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
echo Form_textarea($data);
@ -989,7 +989,7 @@ $(document).ready(function () {
<div class="col-md-9" style="padding:0px;">
<div class="col-md-4" id="insuranceTxtDiv" style="display:block;">
<label>Insurance<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<label>Insurance No<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'insuranceNo','value' => set_value('insuranceNo',$InsuranceNo),'id'=>'insuranceNo', 'class' => 'form-control' ,'required' => 'true');
@ -1071,7 +1071,7 @@ $(document).ready(function () {
<div class="col-md-12">
<div class="col-md-3">
<label>Req No</label>
<label>Req No<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div>
<?php
$RL = array("0"=>'Select Req No');
@ -1092,7 +1092,7 @@ $(document).ready(function () {
<label>Department Name</label>
<div class="form-group">
<?php
$data = array('name' => 'deptName','value' => set_value('deptName'),'id'=>'deptName', 'class' => 'form-control');
$data = array('name' => 'deptName','value' => set_value('deptName'),'id'=>'deptName', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -1108,7 +1108,7 @@ $(document).ready(function () {
</div>
</div>
<div class="col-md-3">
<label>Avail Budget Amount In INR</label>
<label>Avail Budget Amount <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'AvlBudAmt','value' => set_value('AvlBudAmt'),'id'=>'AvlBudAmt', 'class' => 'form-control num' ,'readonly' => 'true');
@ -1119,7 +1119,7 @@ $(document).ready(function () {
</div>
<div class="col-md-12">
<div class="col-md-3">
<label>Item Code</label>
<label>Item Code<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div>
<?php
$options = array("0"=>'Item Code');
@ -1166,7 +1166,7 @@ $(document).ready(function () {
<div class="col-md-12">
<div class="col-md-3">
<label>Quantity</label>
<label>Quantity<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange()');
@ -1175,7 +1175,7 @@ $(document).ready(function () {
</div>
</div>
<div class="col-md-3">
<label><?php echo "Rate ($INRSYM)";?></label>
<label><?php echo "Rate ($INRSYM)";?><span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'Rate','value' => set_value('Rate'),'id'=>'Rate', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange()' );
@ -1289,7 +1289,7 @@ $(document).ready(function () {
<div class="col-md-12">
<div class="col-md-5 col-md-offset-4" align="right">
<label>Other Allowances In INR</label>
<label>Other Allowances <?php echo "($INRSYM)"?></label>
</div>
<div class="col-md-3">
<div class="form-group">
@ -1314,7 +1314,7 @@ $(document).ready(function () {
</div>
</div>
<div class="col-md-12" style="padding: 0px 30px 10px 30px;">
<label>Service Description </label> <?php
<label>Service Description <span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label> <?php
$data = array('name' => 'txtSpcialInstruction','value' => set_value('txtSpcialInstruction'),'id'=>'txtSpcialInstruction', 'class' => 'form-control' ,'rows' => '3', 'cols' => '40');
echo form_textarea($data);
?>
@ -1349,7 +1349,7 @@ $(document).ready(function () {
<div class="col-md-12">
<div class="col-md-3">
<label>Req No</label>
<label>Req No<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div>
<?php
@ -1380,7 +1380,7 @@ $(document).ready(function () {
</div>
</div>
<div class="col-md-3">
<label>Avail Budget Amount In INR</label>
<label>Avail Budget Amount <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'EditAvlBudAmt','value' => set_value('EditAvlBudAmt'),'id'=>'EditAvlBudAmt', 'class' => 'form-control num' ,'readonly' => 'true');
@ -1391,7 +1391,7 @@ $(document).ready(function () {
</div>
<div class="col-md-12">
<div class="col-md-3">
<label>Item Code</label>
<label>Item Code<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div>
<?php
$options = array("0"=>'Item Code');
@ -1436,7 +1436,7 @@ $(document).ready(function () {
<div class="col-md-12">
<div class="col-md-3">
<label>Quantity</label>
<label>Quantity<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'EditQuantity','value' => set_value('EditQuantity'),'id'=>'EditQuantity', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'EditRatechange()');
@ -1445,7 +1445,7 @@ $(document).ready(function () {
</div>
</div>
<div class="col-md-3">
<label><?php echo "Rate ($INRSYM)";?></label>
<label><?php echo "Rate ($INRSYM)";?><span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'EditRate','value' => set_value('EditRate'),'id'=>'EditRate', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'EditRatechange()' );
@ -1557,7 +1557,7 @@ $(document).ready(function () {
</div>
<div class="col-md-12">
<div class="col-md-5 col-md-offset-4" align="right">
<label>Other Allowances In INR</label>
<label>Other Allowances <?php echo "($INRSYM)"?></label>
</div>
<div class="col-md-3">
<div class="form-group">
@ -1582,7 +1582,7 @@ $(document).ready(function () {
</div>
</div>
<div class="col-md-12" style="padding: 0px 30px 10px 30px;">
<label>Service Description</label> <?php
<label>Service Description<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label> <?php
$data = array('name' => 'EdittxtSpcialInstruction','value' => set_value('EdittxtSpcialInstruction'),'id'=>'EdittxtSpcialInstruction', 'class' => 'form-control' ,'rows' => '3', 'cols' => '40');
echo form_textarea($data);
?> <input type="hidden" name="SpcialInstruction" id="SpcialInstruction" value="">
@ -1622,7 +1622,7 @@ $(document).ready(function () {
<div class="col-md-12">
<div class="col-md-3">
<label>Req No</label>
<label>Req No<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div>
<?php
@ -1653,7 +1653,7 @@ $(document).ready(function () {
</div>
</div>
<div class="col-md-3">
<label>Avail Budget Amount In INR</label>
<label>Avail Budget Amount <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'ViewAvlBudAmt','value' => set_value('ViewAvlBudAmt'),'id'=>'ViewAvlBudAmt', 'class' => 'form-control num' ,'readonly' => 'true');
@ -1664,7 +1664,7 @@ $(document).ready(function () {
</div>
<div class="col-md-12">
<div class="col-md-3">
<label>Item Code</label>
<label>Item Code<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div>
<?php
//$options = array("0"=>'Item Code');
@ -1709,7 +1709,7 @@ $(document).ready(function () {
<div class="col-md-12">
<div class="col-md-3">
<label>Quantity</label>
<label>Quantity<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'ViewQuantity','value' => set_value('ViewQuantity'),'id'=>'ViewQuantity', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','readonly' => 'true');
@ -1718,7 +1718,7 @@ $(document).ready(function () {
</div>
</div>
<div class="col-md-3">
<label><?php echo "Rate ($INRSYM)";?></label>
<label><?php echo "Rate ($INRSYM)";?><span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'ViewRate','value' => set_value('ViewRate'),'id'=>'ViewRate', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);' ,'readonly' => 'true' );
@ -1830,7 +1830,7 @@ $(document).ready(function () {
</div>
<div class="col-md-12">
<div class="col-md-5 col-md-offset-4" align="right">
<label>Other Allowances In INR</label>
<label>Other Allowances <?php echo "($INRSYM)"?></label>
</div>
<div class="col-md-3">
<div class="form-group">
@ -1855,7 +1855,7 @@ $(document).ready(function () {
</div>
</div>
<div class="col-md-12" style="padding: 0px 30px 10px 30px;">
<label>Service Description</label> <?php
<label>Service Description<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label> <?php
$data = array('name' => 'ViewtxtSpcialInstruction','value' => set_value('ViewtxtSpcialInstruction'),'id'=>'ViewtxtSpcialInstruction', 'class' => 'form-control' ,'rows' => '3', 'cols' => '40' ,'readonly' => 'true');
echo form_textarea($data);
?>
@ -1892,10 +1892,10 @@ $(document).ready(function () {
<th>Item Description</th>
<th>Quantity</th>
<th>UOM</th>
<th>Rate In INR</th>
<th>Basic Amount In INR</th>
<th>Tax Amount In INR</th>
<th>Total Order Amount In INR</th>
<th>Rate <?php echo "($INRSYM)"?></th>
<th>Basic Amount <?php echo "($INRSYM)"?></th>
<th>Tax Amount <?php echo "($INRSYM)"?></th>
<th>Total Order Amount <?php echo "($INRSYM)"?></th>
<th>Actual Quantity</th>
<th>Received Quantity</th>
<th>Pending Quantity</th>
@ -2005,14 +2005,14 @@ $(document).ready(function () {
<div class="col-md-12" style="padding: 0px;">
<div class="col-md-2">
<label>Basic Amount In INR </label>
<label>Basic Amount <?php echo "($INRSYM)"?> </label>
<?php
$data = array('name' => 'txtTotBasicAmount','value' => set_value('txtTotBasicAmount',number_format($TotalBasicAmount, 2, '.', '')),'id'=>'txtTotBasicAmount', 'class' => 'form-control num' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
<div class="col-md-2">
<label>CGST In INR</label>
<label>CGST <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotCgst','value' => set_value('txtTotCgst',number_format($TotalCgst, 2, '.', '')),'id'=>'txtTotCgst', 'class' => 'form-control num' ,'readonly' => 'true');
echo form_input($data);
@ -2028,7 +2028,7 @@ $(document).ready(function () {
?>
</div>
<div class="col-md-2">
<label>IGST In INR</label>
<label>IGST <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotIgst','value' => set_value('txtTotIgst',number_format($TotalIgst, 2, '.', '')),'id'=>'txtTotIgst', 'class' => 'form-control num' ,'readonly' => 'true');
echo form_input($data);
@ -2036,7 +2036,7 @@ $(document).ready(function () {
</div>
<div class="col-md-2">
<label >Other Allowances In INR </label>
<label >Other Allowances <?php echo "($INRSYM)"?> </label>
<?php
$data = array('name' => 'ToatalOtherAllowances','value' => set_value('ToatalOtherAllowances',number_format($OtherAmt, 2, '.', '')),'id'=>'ToatalOtherAllowances', 'class' => 'form-control num' ,'readonly' => 'true');
echo form_input($data);
@ -2044,7 +2044,7 @@ $(document).ready(function () {
</div>
<div class="col-md-2">
<label >Total Order Value In INR </label>
<label >Total Order Value <?php echo "($INRSYM)"?> </label>
<?php
$data = array('name' => 'txtTotalOrderValueSummary','value' => set_value('txtTotalOrderValueSummary',number_format($TotalSummary, 2, '.', '')),'id'=>'txtTotalOrderValueSummary', 'class' => 'form-control num' ,'readonly' => 'true');
echo form_input($data);

View File

@ -2097,7 +2097,7 @@ function calculateEditTaxValue()
<div class="col-md-9">
<div class="row">
<div class="col-md-4">
<label>Select Supplier</label>
<label>Select Supplier<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5;">*</span></label>
<?php
$options = array("0"=>'Select Supplier');
//print_r( $options);
@ -2148,7 +2148,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-2" style="padding:0px;">
<b><u>Select Delivery By</u></b><br/>
<b><u>Select Delivery By<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5;">*</span></u></b><br/>
<tr>
<td>
<?php echo form_label('Date', 'Date') . "&nbsp;&nbsp;". form_radio(array('name' => 'DateRange', 'value' => '0', 'checked' => ('0' == $DeliverOption) ? TRUE : FALSE, 'id' => 'Date')); ?> </td>
@ -2181,7 +2181,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-4" id="Deliverydtdiv">
<label>Delivery Date</label>
<label>Delivery Date<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'Deliverydt','value' => set_value('Deliverydt',$Deliverydt),'id'=>'Deliverydt', 'class' => 'form-control num' ,'required' => 'true','onkeypress'=>'return false;');
@ -2191,7 +2191,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-4" id="Schedulediv" style="display:none;">
<label >Schedule By</label>
<label >Schedule By<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5;">*</span></label>
<?php
$data = array('name' => 'Scheduleby','value' => set_value('Scheduleby',$DeliverSchedule),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
echo Form_textarea($data);
@ -2322,7 +2322,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-9" style="padding:0px;">
<div class="col-md-4" id="insurancenodiv" style="display:block;">
<label>Insurance Details<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<label>Insurance No<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'insuranceno','insuranceno' => set_value('insuranceno',$insurenceno),'id'=>'insuranceno', 'class' => 'form-control' ,'required' => 'true');
@ -2518,7 +2518,7 @@ function calculateEditTaxValue()
<div>
<div class="col-md-12" >
<div class="col-md-3">
<label>Req No</label>
<label>Req No<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div >
<?php
$RL = array("0"=>'Select Req No');
@ -2555,7 +2555,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-3">
<label>Avl Bud Amt In INR</label>
<label>Avl Bud Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'AvlBudAmt','value' => set_value('AvlBudAmt'),'id'=>'AvlBudAmt', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2566,7 +2566,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-12">
<div class="col-md-2">
<label>Item Code</label>
<label>Item Code<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div >
<?php
$options = array("0"=>'Item Code');
@ -2598,7 +2598,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-6" style="padding:0px;">
<div class="col-md-3">
<label>Quantity</label>
<label>Quantity<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'change();');
@ -2607,7 +2607,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-3">
<label><?php echo "Rate ($INRSYM)";?></label>
<label><?php echo "Rate ($INRSYM)";?><span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'Rate','value' => set_value('Rate'),'id'=>'Rate', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'change();' );
@ -2667,7 +2667,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>Discounted Amt In INR</label>
<label>Discounted Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'txtAfterDiscount','value' => set_value('txtAfterDiscount'),'id'=>'txtAfterDiscount', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2686,7 +2686,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2" >
<label>CGST Amt In INR</label>
<label>CGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'AfterCgst','value' => set_value('AfterCgst',0),'id'=>'AfterCgst', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2730,7 +2730,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>Packaging Amt In INR</label>
<label>Packaging Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'txtAfterPackaging','value' => set_value('txtAfterPackaging'),'id'=>'txtAfterPackaging', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2749,7 +2749,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>SGST Amt In INR</label>
<label>SGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'AfterSgst','value' => set_value('AfterSgst',0),'id'=>'AfterSgst', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2769,7 +2769,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>IGST Amt In INR</label>
<label>IGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'AfterIgst','value' => set_value('AfterIgst',0),'id'=>'AfterIgst', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2823,7 +2823,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-2">
<label>Freight Amt In INR</label>
<label>Freight Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'txtAfterFreight','value' => set_value('txtAfterFreight'),'id'=>'txtAfterFreight', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2832,7 +2832,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-4">
<label> Insurance In INR (if Any)</label>
<label> Insurance <?php echo "($INRSYM)"?> (if Any)</label>
<div class="form-group">
<?php
$data = array('name' => 'txtInsurance','value' => set_value('txtInsurance'),'id'=>'txtInsurance', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'calculateTotalValue(0);');
@ -2907,7 +2907,7 @@ function calculateEditTaxValue()
<div>
<div class="col-md-12" >
<div class="col-md-3">
<label>Req No</label>
<label>Req No<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div >
<?php
@ -2938,7 +2938,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-3">
<label>Avl Bud Amt In INR</label>
<label>Avl Bud Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'EditAvlBudAmt','value' => set_value('EditAvlBudAmt'),'id'=>'EditAvlBudAmt', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2949,7 +2949,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-12">
<div class="col-md-2">
<label>Item Code</label>
<label>Item Code<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div >
<?php
$options = array("0"=>'Item Code');
@ -2981,7 +2981,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-6" style="padding: 0px;">
<div class="col-md-3">
<label>Quantity</label>
<label>Quantity<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'EditQuantity','value' => set_value('EditQuantity'),'id'=>'EditQuantity', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Editchange();','style'=>'text-align:right;');
@ -2990,7 +2990,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-3">
<label><?php echo "Rate ($INRSYM)";?></label>
<label><?php echo "Rate ($INRSYM)";?><span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'EditRate','value' => set_value('EditRate'),'id'=>'EditRate', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Editchange();','style'=>'text-align:right;' );
@ -3050,7 +3050,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>Discounted Amt In INR </label>
<label>Discounted Amt <?php echo "($INRSYM)"?> </label>
<div class="form-group">
<?php
$data = array('name' => 'txtEditAfterDiscount','value' => set_value('txtEditAfterDiscount'),'id'=>'txtEditAfterDiscount', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3070,7 +3070,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2" >
<label>CGST Amt In INR</label>
<label>CGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'EditAfterCgst','value' => set_value('EditAfterCgst',0),'id'=>'EditAfterCgst', 'class' => 'form-control num' ,'readonly' => 'true');
@ -3113,7 +3113,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>Packaging Amt In INR </label>
<label>Packaging Amt <?php echo "($INRSYM)"?> </label>
<div class="form-group">
<?php
$data = array('name' => 'txtEditAfterPackaging','value' => set_value('txtEditAfterPackaging'),'id'=>'txtEditAfterPackaging', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3132,7 +3132,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>SGST Amt In INR</label>
<label>SGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'EditAfterSgst','value' => set_value('EditAfterSgst',0),'id'=>'EditAfterSgst', 'class' => 'form-control num' ,'readonly' => 'true');
@ -3152,7 +3152,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>IGST Amt In INR</label>
<label>IGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'EditAfterIgst','value' => set_value('EditAfterIgst',0),'id'=>'EditAfterIgst', 'class' => 'form-control num' ,'readonly' => 'true');
@ -3204,7 +3204,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>Freight Amt In INR</label>
<label>Freight Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'txtEditAfterFreight','value' => set_value('txtEditAfterFreight'),'id'=>'txtEditAfterFreight', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3215,7 +3215,7 @@ function calculateEditTaxValue()
<div class="col-md-4">
<label> Insurance Amt In INR (if Any)</label>
<label> Insurance Amt <?php echo "($INRSYM)"?> (if Any)</label>
<div class="form-group">
<?php
$data = array('name' => 'txtEditInsurance','value' => set_value('txtEditInsurance'),'id'=>'txtEditInsurance', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'calculateEditTotalValue(1);','style'=>'text-align:right;');
@ -3283,7 +3283,7 @@ function calculateEditTaxValue()
<div class="col-md-12" >
<div class="col-md-3">
<label>Req No</label>
<label>Req No<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div >
<?php
@ -3314,7 +3314,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-3">
<label>Avl Bud Amt In INR</label>
<label>Avl Bud Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'ViewAvlBudAmt','value' => set_value('ViewAvlBudAmt'),'id'=>'ViewAvlBudAmt', 'class' => 'form-control num' ,'readonly' => 'true');
@ -3325,7 +3325,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-12">
<div class="col-md-2">
<label>Item Code</label>
<label>Item Code<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div>
<?php
@ -3355,7 +3355,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-6" style="padding:0px;">
<div class="col-md-3">
<label>Quantity</label>
<label>Quantity<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'ViewQuantity','value' => set_value('ViewQuantity'),'id'=>'ViewQuantity', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','style'=>'text-align:right;','readonly' => 'true');
@ -3364,7 +3364,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-3">
<label><?php echo "Rate ($INRSYM)";?></label>
<label><?php echo "Rate ($INRSYM)";?><span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'ViewRate','value' => set_value('ViewRate'),'id'=>'ViewRate', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','readonly' => 'true','style'=>'text-align:right;' );
@ -3431,7 +3431,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2" >
<label>CGST Amt In INR</label>
<label>CGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'ViewAfterCGST','value' => set_value('ViewAfterCGST'),'id'=>'ViewAfterCGST', 'class' => 'form-control num' ,'readonly' => 'true');
@ -3482,7 +3482,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>SGST Amt In INR</label>
<label>SGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'ViewAfterSGST','value' => set_value('ViewAfterSGST'),'id'=>'ViewAfterSGST', 'class' => 'form-control num' ,'readonly' => 'true');
@ -3502,7 +3502,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>IGST Amt In INR</label>
<label>IGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'ViewAfterIGST','value' => set_value('ViewAfterIGST'),'id'=>'ViewAfterIGST', 'class' => 'form-control num' ,'readonly' => 'true');
@ -3565,7 +3565,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-4">
<label> Insurance In INR (if Any)</label>
<label> Insurance <?php echo "($INRSYM)"?> (if Any)</label>
<div class="form-group">
<?php
$data = array('name' => 'txtViewInsurance','value' => set_value('txtViewInsurance'),'id'=>'txtViewInsurance', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','style'=>'text-align:right;','readonly' => 'true');
@ -3627,10 +3627,10 @@ function calculateEditTaxValue()
<th>Item Description</th>
<th>Quantity</th>
<th>UOM</th>
<th>RateIn INR</th>
<th>Basic Amount In INR</th>
<th>Tax Amount In INR</th>
<th>Total Order Amount In INR</th>
<th>Rate <?php echo "($INRSYM)"?></th>
<th>Basic Amount <?php echo "($INRSYM)"?></th>
<th>Tax Amount <?php echo "($INRSYM)"?></th>
<th>Total Order Amount <?php echo "($INRSYM)"?></th>
<th>Actual Quantity</th>
<th>Received Quantity</th>
<th>Pending Quantity</th>
@ -3741,7 +3741,7 @@ function calculateEditTaxValue()
<div class="row" style="border:1px solid;">
<div class="col-md-12">
<div class="col-md-3">
<label >Basic Amount In INR</label>
<label >Basic Amount <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotBasicAmount','value' => set_value('txtTotBasicAmount',number_format($totBasicAmt, 2, '.', '')),'id'=>'txtTotBasicAmount', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3751,7 +3751,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-3">
<label >Total Discount Amount In INR </label>
<label >Total Discount Amount <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotalDiscount','value' => set_value('txtTotalDiscount',number_format($totDiscountAmt, 2, '.', '')),'id'=>'txtTotalDiscount', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3760,7 +3760,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-3" id="TotSCST">
<label >Total SGST Amount In INR</label>
<label >Total SGST Amount <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotalSGST','value' => set_value('txtTotalSGST',number_format($totSgst, 2, '.', '')),'id'=>'txtTotalSGST', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3769,7 +3769,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-3" id="TotICST" style="display:none;">
<label >Total IGST Amount In INR </label>
<label >Total IGST Amount <?php echo "($INRSYM)"?> </label>
<?php
$data = array('name' => 'txtTotalIGST','value' => set_value('txtTotalIGST',number_format($totIgst, 2, '.', '')),'id'=>'txtTotalIGST', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3778,7 +3778,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-3">
<label >Total CGST Amount In INR </label>
<label >Total CGST Amount <?php echo "($INRSYM)"?> </label>
<?php
$data = array('name' => 'txtTotalCGST','value' => set_value('txtTotalCGST',number_format($totCgst, 2, '.', '')),'id'=>'txtTotalCGST', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3791,7 +3791,7 @@ function calculateEditTaxValue()
<div class="col-md-3">
<label >Total Packaging Amount In INR</label>
<label >Total Packaging Amount <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotalPackaing','value' => set_value('txtTotalPackaing',number_format($totPackagingAmt, 2, '.', '')),'id'=>'txtTotalPackaing', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3800,7 +3800,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-3">
<label >Total Insurance Amount In INR</label>
<label >Total Insurance Amount <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotalInsurance','value' => set_value('txtTotalInsurance',number_format($totInsuranceAmt, 2, '.', '')),'id'=>'txtTotalInsurance', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3810,7 +3810,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-3">
<label >Total Freight Amount In INR</label>
<label >Total Freight Amount <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotalFreight','value' => set_value('txtTotalFreight',number_format($totFreightAmt, 2, '.', '')),'id'=>'txtTotalFreight', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3819,7 +3819,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-3">
<label>Total Order Amount In INR</label>
<label>Total Order Amount <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotalOrderValueSummary','value' => set_value('txtTotalOrderValueSummary',number_format($totOrderSummaryAmt, 2, '.', '')),'id'=>'txtTotalOrderValueSummary', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
echo form_input($data);

View File

@ -2029,7 +2029,7 @@ function calculateEditTaxValue()
<div class="col-md-9">
<div class="row">
<div class="col-md-4">
<label>Select Supplier</label>
<label>Select Supplier<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5;">*</span></label>
<?php
$options = array("0"=>'Select Supplier');
//print_r( $options);
@ -2075,7 +2075,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-2" style="padding:0px;">
<b><u>Select Delivery By</u></b><br/>
<b><u>Select Delivery By<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5;">*</span></u></b><br/>
<tr>
<td>
<?php echo form_label('Date', 'Date') ."&nbsp;". form_radio(array("name"=>"DateRange", "id"=>"Date", "value"=>"0", "checked"=>"checked")); ?>&nbsp;&nbsp;&nbsp;&nbsp;</td>
@ -2106,7 +2106,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-4" id="Deliverydtdiv">
<label>Delivery Date</label>
<label>Delivery Date<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'Deliverydt','value' => set_value('Deliverydt',$CurrentDate),'id'=>'Deliverydt', 'class' => 'form-control num' ,'required' => 'true','onkeypress'=>'return false;');
@ -2115,7 +2115,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-4" id="Schedulediv" style="display:none;">
<label >Schedule By</label>
<label >Schedule By<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5;">*</span></label>
<?php
$data = array('name' => 'Scheduleby','value' => set_value('Scheduleby'),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
echo Form_textarea($data);
@ -2246,7 +2246,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-9" style="padding:0px;">
<div class="col-md-4" id="insurancenodiv" style="display:block;">
<label>Insurance Details<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<label>Insurance No<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'insuranceno','insuranceno' => set_value('insuranceno'),'id'=>'insuranceno', 'class' => 'form-control' ,'required' => 'true');
@ -2441,7 +2441,7 @@ function calculateEditTaxValue()
<div>
<div class="col-md-12" >
<div class="col-md-3">
<label>Req No</label>
<label>Req No<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div >
<?php
$RL = array("0"=>'Select Req No');
@ -2478,7 +2478,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-3">
<label>Avl Bud Amt In INR</label>
<label>Avl Bud Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'AvlBudAmt','value' => set_value('AvlBudAmt'),'id'=>'AvlBudAmt', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2489,7 +2489,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-12">
<div class="col-md-2">
<label>Item Code</label>
<label>Item Code<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div >
<?php
$options = array("0"=>'Item Code');
@ -2521,7 +2521,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-6" style="padding:0px;">
<div class="col-md-3">
<label>Qty</label>
<label>Qty<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'change()');
@ -2530,7 +2530,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-3">
<label><?php echo "Rate ($INRSYM)";?></label>
<label><?php echo "Rate ($INRSYM)";?><span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<!-- <label>Rate</label> -->
<div class="form-group">
<?php
@ -2592,7 +2592,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>Discounted Amt In INR</label>
<label>Discounted Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'txtAfterDiscount','value' => set_value('txtAfterDiscount',0.00),'id'=>'txtAfterDiscount', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2611,7 +2611,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2" >
<label>CGST Amt In INR</label>
<label>CGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'AfterCgst','value' => set_value('AfterCgst',0.00),'id'=>'AfterCgst', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2655,7 +2655,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>Packaging Amt In INR</label>
<label>Packaging Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'txtAfterPackaging','value' => set_value('txtAfterPackaging',0.00),'id'=>'txtAfterPackaging', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2674,7 +2674,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>SGST Amt In INR</label>
<label>SGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'AfterSgst','value' => set_value('AfterSgst',0.00),'id'=>'AfterSgst', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2694,7 +2694,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>IGST Amt In INR</label>
<label>IGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'AfterIgst','value' => set_value('AfterIgst',0.00),'id'=>'AfterIgst', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2748,7 +2748,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-2">
<label>Freight Amt In INR</label>
<label>Freight Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'txtAfterFreight','value' => set_value('txtAfterFreight',0.00),'id'=>'txtAfterFreight', 'class' => 'form-control num' ,'readonly' => 'true');
@ -2757,7 +2757,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-4">
<label> Insurance In INR (if Any)</label>
<label> Insurance <?php echo "($INRSYM)"?> (if Any)</label>
<div class="form-group">
<?php
$data = array('name' => 'txtInsurance','value' => set_value('txtInsurance',0.00),'id'=>'txtInsurance', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'calculateTotalValue(0);');
@ -2827,7 +2827,7 @@ function calculateEditTaxValue()
<div>
<div class="col-md-12" >
<div class="col-md-3">
<label>Req No</label>
<label>Req No<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div >
<?php
@ -2857,7 +2857,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-3">
<label>Avl Bud Amt In INR</label>
<label>Avl Bud Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'EditAvlBudAmt','value' => set_value('EditAvlBudAmt'),'id'=>'EditAvlBudAmt', 'class' => 'form-control' ,'readonly' => 'true');
@ -2868,7 +2868,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-12">
<div class="col-md-2">
<label>Item Code</label>
<label>Item Code<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div >
<?php
$options = array("0"=>'Item Code');
@ -2900,7 +2900,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-6" style="padding: 0px;">
<div class="col-md-3">
<label>Quantity</label>
<label>Quantity<span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'EditQuantity','value' => set_value('EditQuantity'),'id'=>'EditQuantity', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Editchange()','style'=>'text-align:right;');
@ -2909,7 +2909,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-3">
<label><?php echo "Rate ($INRSYM)"?></label>
<label><?php echo "Rate ($INRSYM)"?><span class="badge" style="color:red;text-align:right;background-color: #fff;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'EditRate','value' => set_value('EditRate'),'id'=>'EditRate', 'class' => 'form-control' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Editchange()','style'=>'text-align:right;' );
@ -2967,7 +2967,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>Discounted Amt In INR </label>
<label>Discounted Amt <?php echo "($INRSYM)"?> </label>
<div class="form-group">
<?php
$data = array('name' => 'txtEditAfterDiscount','value' => set_value('txtEditAfterDiscount'),'id'=>'txtEditAfterDiscount', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
@ -2987,7 +2987,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2" >
<label>CGST Amt In INR</label>
<label>CGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'EditAfterCgst','value' => set_value('EditAfterCgst',0.00),'id'=>'EditAfterCgst', 'class' => 'form-control num' ,'readonly' => 'true');
@ -3030,7 +3030,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>Packaging Amt In INR </label>
<label>Packaging Amt <?php echo "($INRSYM)"?> </label>
<div class="form-group">
<?php
$data = array('name' => 'txtEditAfterPackaging','value' => set_value('txtEditAfterPackaging'),'id'=>'txtEditAfterPackaging', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3049,7 +3049,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>SGST Amt In INR</label>
<label>SGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'EditAfterSgst','value' => set_value('EditAfterSgst',0.00),'id'=>'EditAfterSgst', 'class' => 'form-control num' ,'readonly' => 'true');
@ -3069,7 +3069,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>IGST Amt In INR</label>
<label>IGST Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'EditAfterIgst','value' => set_value('EditAfterIgst',0.00),'id'=>'EditAfterIgst', 'class' => 'form-control num' ,'readonly' => 'true');
@ -3121,7 +3121,7 @@ function calculateEditTaxValue()
</div>
</div>
<div class="col-md-2">
<label>Freight Amt In INR</label>
<label>Freight Amt <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'txtEditAfterFreight','value' => set_value('txtEditAfterFreight'),'id'=>'txtEditAfterFreight', 'class' => 'form-control num' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3132,7 +3132,7 @@ function calculateEditTaxValue()
<div class="col-md-4">
<label> Insurance Amt In INR (if Any)</label>
<label> Insurance Amt <?php echo "($INRSYM)"?> (if Any)</label>
<div class="form-group">
<?php
$data = array('name' => 'txtEditInsurance','value' => set_value('txtEditInsurance'),'id'=>'txtEditInsurance', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'calculateEditTotalValue(1);','style'=>'text-align:right;');
@ -3194,10 +3194,10 @@ function calculateEditTaxValue()
<th>Item Description</th>
<th>Quantity</th>
<th>UOM</th>
<th>Rate In INR</th>
<th>Basic Amount In INR</th>
<th>Tax Amount In INR</th>
<th>Total Order Amount In INR</th>
<th>Rate <?php echo "($INRSYM)"?></th>
<th>Basic Amount <?php echo "($INRSYM)"?></th>
<th>Tax Amount <?php echo "($INRSYM)"?></th>
<th>Total Order Amount <?php echo "($INRSYM)"?></th>
<th>Action</th>
</tr>
</thead>
@ -3218,7 +3218,7 @@ function calculateEditTaxValue()
<div class="row" style="border:1px solid;">
<div class="col-md-12">
<div class="col-md-3">
<label >Basic Amount In INR</label>
<label >Basic Amount <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotBasicAmount','value' => set_value('txtTotBasicAmount'),'id'=>'txtTotBasicAmount', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3228,7 +3228,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-3">
<label >Total Discount Amount In INR </label>
<label >Total Discount Amount <?php echo "($INRSYM)"?> </label>
<?php
$data = array('name' => 'txtTotalDiscount','value' => set_value('txtTotalDiscount'),'id'=>'txtTotalDiscount', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3237,7 +3237,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-3" id="TotSCST">
<label >Total SGST Amount In INR</label>
<label >Total SGST Amount <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotalSGST','value' => set_value('txtTotalSGST'),'id'=>'txtTotalSGST', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3246,7 +3246,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-3" id="TotICST" style="display:none;">
<label >Total IGST Amount In INR </label>
<label >Total IGST Amount <?php echo "($INRSYM)"?> </label>
<?php
$data = array('name' => 'txtTotalIGST','value' => set_value('txtTotalIGST'),'id'=>'txtTotalIGST', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3255,7 +3255,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-3">
<label >Total CGST Amount In INR </label>
<label >Total CGST Amount <?php echo "($INRSYM)"?> </label>
<?php
$data = array('name' => 'txtTotalCGST','value' => set_value('txtTotalCGST'),'id'=>'txtTotalCGST', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3268,7 +3268,7 @@ function calculateEditTaxValue()
<div class="col-md-3">
<label >Total Packaging Amount In INR</label>
<label >Total Packaging Amount <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotalPackaing','value' => set_value('txtTotalPackaing'),'id'=>'txtTotalPackaing', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3277,7 +3277,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-3">
<label >Total Insurance Amount In INR</label>
<label >Total Insurance Amount <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotalInsurance','value' => set_value('txtTotalInsurance'),'id'=>'txtTotalInsurance', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3286,7 +3286,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-3">
<label >Total Freight Amount In INR</label>
<label >Total Freight Amount <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotalFreight','value' => set_value('txtTotalFreight'),'id'=>'txtTotalFreight', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
@ -3295,7 +3295,7 @@ function calculateEditTaxValue()
</div>
<div class="col-md-3">
<label>Total Order Amount In INR</label>
<label>Total Order Amount <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotalOrderValueSummary','value' => set_value('txtTotalOrderValueSummary'),'id'=>'txtTotalOrderValueSummary', 'class' => 'form-control' ,'readonly' => 'true','style'=>'text-align:right;');
echo form_input($data);

View File

@ -641,7 +641,7 @@ function clearEditTaxField()
<div class="col-md-9" style="padding:0px;">
<div class="col-md-4" style="padding: 0px;">
<div class="col-md-12">
<label>Supplier</label>
<label>Supplier<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<?php
$options = array("0"=>'Select Supplier');
@ -695,7 +695,7 @@ function clearEditTaxField()
</div>
<div class="col-md-4" style="padding:0px;">
<div class="col-md-6" style="padding:0px;">
<b><u>Select Delivery By</u></b><br/>
<b><u>Select Delivery By<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></u></b><br/>
<tr>
<td>
<?php echo form_label('Date', 'Date') ."&nbsp;&nbsp;". form_radio(array("name"=>"DateRange", "id"=>"Date", "value"=>"0", 'checked'=>set_radio('DateRange', '0', TRUE))); ?></td>
@ -707,7 +707,7 @@ function clearEditTaxField()
</tr>
</div>
<div class="col-md-6">
<label>Work Status</label>
<label>Work Status<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<?php
$optionsWork = array("0"=>'Select Work Status');
@ -729,7 +729,7 @@ function clearEditTaxField()
?>
</div>
<div class="col-md-12" id="Deliverydtdiv" style="padding-left: 0px;"> <br/>
<label>Delivery Date</label>
<label>Delivery Date<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'Deliverydt','value' => set_value('Deliverydt',$CurrentDate),'id'=>'Deliverydt', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;');
@ -738,7 +738,7 @@ function clearEditTaxField()
</div>
</div>
<div class="col-md-12" id="Schedulediv" style="display:none;padding-left: 0px;"><br/>
<label >Schedule By</label>
<label >Schedule By<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<?php
$data = array('name' => 'Scheduleby','value' => set_value('Scheduleby'),'id'=>'Scheduleby', 'class' => 'form-control' ,'required' => 'true' ,'rows' => '3', 'cols' => '40');
echo Form_textarea($data);
@ -886,7 +886,7 @@ function clearEditTaxField()
<div class="col-md-9" style="padding:0px;">
<div class="col-md-4" id="insuranceTxtDiv" style="display:block;">
<label>Insurance<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<label>Insurance No<span class="badge" style="color:red;text-align:right;background-color: #ecf0f5 ;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'insuranceNo','value' => set_value('insuranceNo'),'id'=>'insuranceNo', 'class' => 'form-control' ,'required' => 'true');
@ -970,7 +970,7 @@ function clearEditTaxField()
<div class="col-md-12">
<div class="col-md-3">
<label>Req No</label>
<label>Req No<span class="badge" style="color:red;text-align:right;background-color: #fff ;">*</span></label>
<div>
<?php
$RL = array("0"=>'Select Req No');
@ -991,7 +991,7 @@ function clearEditTaxField()
<label>Department Name</label>
<div class="form-group">
<?php
$data = array('name' => 'deptName','value' => set_value('deptName'),'id'=>'deptName', 'class' => 'form-control');
$data = array('name' => 'deptName','value' => set_value('deptName'),'id'=>'deptName', 'class' => 'form-control' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
@ -1007,7 +1007,7 @@ function clearEditTaxField()
</div>
</div>
<div class="col-md-3">
<label>Avail Budget Amount In INR</label>
<label>Avail Budget Amount <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'AvlBudAmt','value' => set_value('AvlBudAmt'),'id'=>'AvlBudAmt', 'class' => 'form-control num' ,'readonly' => 'true');
@ -1018,7 +1018,7 @@ function clearEditTaxField()
</div>
<div class="col-md-12">
<div class="col-md-3">
<label>Item Code</label>
<label>Item Code<span class="badge" style="color:red;text-align:right;background-color: #fff ;">*</span></label>
<div>
<?php
$options = array("0"=>'Item Code');
@ -1065,7 +1065,7 @@ function clearEditTaxField()
<div class="col-md-12">
<div class="col-md-3">
<label>Quantity</label>
<label>Quantity<span class="badge" style="color:red;text-align:right;background-color: #fff ;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'Ratechange()');
@ -1074,7 +1074,7 @@ function clearEditTaxField()
</div>
</div>
<div class="col-md-3">
<label><?php echo "Rate ($INRSYM)";?></label>
<label><?php echo "Rate ($INRSYM)";?><span class="badge" style="color:red;text-align:right;background-color: #fff ;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'Rate','value' => set_value('Rate'),'id'=>'Rate', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'Ratechange()' );
@ -1188,7 +1188,7 @@ function clearEditTaxField()
</div>
<div class="col-md-12">
<div class="col-md-5 col-md-offset-4" align="right">
<label>Other Allowances In INR</label>
<label>Other Allowances <?php echo "($INRSYM)"?></label>
</div>
<div class="col-md-3">
<div class="form-group">
@ -1215,7 +1215,7 @@ function clearEditTaxField()
<div class="col-md-12" style="padding: 0px 30px 10px 30px;">
<label>Service Description </label>
<label>Service Description <span class="badge" style="color:red;text-align:right;background-color: #fff ;">*</span></label>
<?php
@ -1252,7 +1252,7 @@ function clearEditTaxField()
<div class="col-md-12">
<div class="col-md-3">
<label>Req No</label>
<label>Req No<span class="badge" style="color:red;text-align:right;background-color: #fff ;">*</span></label>
<div>
<?php
@ -1283,7 +1283,7 @@ function clearEditTaxField()
</div>
</div>
<div class="col-md-3">
<label>Avail Budget Amount In INR</label>
<label>Avail Budget Amount <?php echo "($INRSYM)"?></label>
<div class="form-group">
<?php
$data = array('name' => 'EditAvlBudAmt','value' => set_value('EditAvlBudAmt'),'id'=>'EditAvlBudAmt', 'class' => 'form-control num' ,'readonly' => 'true');
@ -1294,7 +1294,7 @@ function clearEditTaxField()
</div>
<div class="col-md-12">
<div class="col-md-3">
<label>Item Code</label>
<label>Item Code<span class="badge" style="color:red;text-align:right;background-color: #fff ;">*</span></label>
<div>
<?php
$options = array("0"=>'Item Code');
@ -1339,7 +1339,7 @@ function clearEditTaxField()
<div class="col-md-12">
<div class="col-md-3">
<label>Quantity</label>
<label>Quantity<span class="badge" style="color:red;text-align:right;background-color: #fff ;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'EditQuantity','value' => set_value('EditQuantity'),'id'=>'EditQuantity', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);','onchange'=>'EditRatechange()');
@ -1348,7 +1348,7 @@ function clearEditTaxField()
</div>
</div>
<div class="col-md-3">
<label><?php echo "Rate ($INRSYM)";?></label>
<label><?php echo "Rate ($INRSYM)";?><span class="badge" style="color:red;text-align:right;background-color: #fff ;">*</span></label>
<div class="form-group">
<?php
$data = array('name' => 'EditRate','value' => set_value('EditRate'),'id'=>'EditRate', 'class' => 'form-control num' ,'onkeypress'=>'return isNumberKey(event);' ,'onchange'=>'EditRatechange()' );
@ -1461,7 +1461,7 @@ function clearEditTaxField()
</div>
<div class="col-md-12">
<div class="col-md-5 col-md-offset-4" align="right">
<label>Other Allowances In INR</label>
<label>Other Allowances <?php echo "($INRSYM)"?></label>
</div>
<div class="col-md-3">
<div class="form-group">
@ -1487,7 +1487,7 @@ function clearEditTaxField()
</div>
<div class="col-md-12" style="padding: 0px 30px 10px 30px;">
<label>Service Description </label>
<label>Service Description<span class="badge" style="color:red;text-align:right;background-color: #fff ;">*</span> </label>
<?php
$data = array('name' => 'EdittxtSpcialInstruction','value' => set_value('EdittxtSpcialInstruction'),'id'=>'EdittxtSpcialInstruction', 'class' => 'form-control' ,'rows' => '3', 'cols' => '40' );
echo form_textarea($data); ?>
@ -1522,10 +1522,10 @@ function clearEditTaxField()
<th>Item Description</th>
<th>Quantity</th>
<th>UOM</th>
<th>Rate In INR</th>
<th>Basic Amount In INR</th>
<th>Tax Amount In INR</th>
<th>Total Order Amount In INR</th>
<th>Rate <?php echo "($INRSYM)"?></th>
<th>Basic Amount <?php echo "($INRSYM)"?></th>
<th>Tax Amount <?php echo "($INRSYM)"?></th>
<th>Total Order Amount <?php echo "($INRSYM)"?></th>
<th>Action</th>
</tr>
</thead>
@ -1541,14 +1541,14 @@ function clearEditTaxField()
<div class="col-md-12" style="padding: 0px;">
<div class="col-md-2">
<label>Basic Amount In INR</label>
<label>Basic Amount <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotBasicAmount','value' => set_value('txtTotBasicAmount'),'id'=>'txtTotBasicAmount', 'class' => 'form-control num' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
<div class="col-md-2">
<label>CGST In INR</label>
<label>CGST <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotCgst','value' => set_value('txtTotCgst'),'id'=>'txtTotCgst', 'class' => 'form-control num' ,'readonly' => 'true');
echo form_input($data);
@ -1557,14 +1557,14 @@ function clearEditTaxField()
<div class="col-md-2">
<label>SGST In INR </label>
<label>SGST <?php echo "($INRSYM)"?></label>
<?php
$data = array('name' => 'txtTotSgst','value' => set_value('txtTotSgst'),'id'=>'txtTotSgst', 'class' => 'form-control num' ,'readonly' => 'true');
echo form_input($data);
?>
</div>
<div class="col-md-2">
<label>IGST In INR </label>
<label>IGST <?php echo "($INRSYM)"?> </label>
<?php
$data = array('name' => 'txtTotIgst','value' => set_value('txtTotIgst'),'id'=>'txtTotIgst', 'class' => 'form-control num' ,'readonly' => 'true');
echo form_input($data);
@ -1572,7 +1572,7 @@ function clearEditTaxField()
</div>
<div class="col-md-2">
<label>Other Allowances In INR </label>
<label>Other Allowances <?php echo "($INRSYM)"?> </label>
<?php
$data = array('name' => 'TotalOtherAllowances','value' => set_value('TotalOtherAllowances'),'id'=>'TotalOtherAllowances', 'class' => 'form-control num' ,'readonly' => 'true');
echo form_input($data);
@ -1580,7 +1580,7 @@ function clearEditTaxField()
</div>
<div class="col-md-2">
<label>Total Order Value In INR </label>
<label>Total Order Value <?php echo "($INRSYM)"?> </label>
<?php
$data = array('name' => 'txtTotalOrderValueSummary','value' => set_value('txtTotalOrderValueSummary'),'id'=>'txtTotalOrderValueSummary', 'class' => 'form-control num' ,'readonly' => 'true');
echo form_input($data);