REMARKS PROBLEM AND REVENUE AMEND ISSUE FIXED
This commit is contained in:
parent
7c3046099a
commit
2aa81eedb0
@ -1512,7 +1512,7 @@ function calculateEditTaxValue()
|
|||||||
<td><?php echo $record->UOM ?></td>
|
<td><?php echo $record->UOM ?></td>
|
||||||
<td align="right"><?php echo $record->Rate ?></td>
|
<td align="right"><?php echo $record->Rate ?></td>
|
||||||
|
|
||||||
<td align="right"><?php echo $record->BasicValue ?></td>
|
<td align="right"><?php echo number_format($record->BasicValue,2,'.',''); ?></td>
|
||||||
|
|
||||||
<td align="right"><?php echo $record->Taxamount ?></td>
|
<td align="right"><?php echo $record->Taxamount ?></td>
|
||||||
<td align="right"><?php echo $record->TotalValue ?></td>
|
<td align="right"><?php echo $record->TotalValue ?></td>
|
||||||
@ -2228,6 +2228,8 @@ tinyMCE.triggerSave();
|
|||||||
var splinstr = $('#txtSpcialInstruction').val();
|
var splinstr = $('#txtSpcialInstruction').val();
|
||||||
$('#SpcialInstruction').val(splinstr);
|
$('#SpcialInstruction').val(splinstr);
|
||||||
$('#txtDeliveryAddress').val(deladd);
|
$('#txtDeliveryAddress').val(deladd);
|
||||||
|
var budget=<?php echo $AvlAmount;?>;
|
||||||
|
var total=$('#txtTotalOrderValueSummary').val();
|
||||||
|
|
||||||
//alert('Before Validate IF condition');
|
//alert('Before Validate IF condition');
|
||||||
if(validate())
|
if(validate())
|
||||||
@ -2245,6 +2247,9 @@ $('#txtDeliveryAddress').val(deladd);
|
|||||||
{
|
{
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
}else if(budget < total){
|
||||||
|
alert('Total order Value is exceeding Budget Limit...!');
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@ -135,16 +135,21 @@ if(empty($Status))
|
|||||||
|
|
||||||
if((curtremarks == '<br>' || curtremarks == '') && Remark == ''){
|
if((curtremarks == '<br>' || curtremarks == '') && Remark == ''){
|
||||||
Remarks='';
|
Remarks='';
|
||||||
//alert("To Store both empty" + Remarks)
|
//alert("To Store both empty:-" + Remarks)
|
||||||
}
|
}
|
||||||
else if(curtremarks == '<br>')
|
else if((curtremarks != '' && Remark == ''))
|
||||||
|
{
|
||||||
|
Remarks=curtremarks;
|
||||||
|
//alert("To Store current empty:-" + Remarks)
|
||||||
|
}
|
||||||
|
else if((Remark != '') && (curtremarks == '' || curtremarks == '<br>'))
|
||||||
{
|
{
|
||||||
Remarks=Remark;
|
Remarks=Remark;
|
||||||
//alert("To Store current empty" + Remarks)
|
//alert("To Store current empty:-" + Remarks)
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
Remarks=Remark+"||"+curtremarks;
|
Remarks=Remark+"||"+curtremarks;
|
||||||
//alert("To Store both" + Remarks)
|
//alert("To Store both:-" + Remarks)
|
||||||
}
|
}
|
||||||
//alert(Remarks);
|
//alert(Remarks);
|
||||||
var StatusCode='';
|
var StatusCode='';
|
||||||
|
|||||||
@ -138,20 +138,28 @@ if(empty($Status))
|
|||||||
var StatusCode='';
|
var StatusCode='';
|
||||||
var srtMsg='';
|
var srtMsg='';
|
||||||
|
|
||||||
if(curtremarks == '<br>' && Remark == ''){
|
if((curtremarks == '<br>' || curtremarks == '') && Remark == ''){
|
||||||
Remarks='';
|
Remarks='';
|
||||||
//alert("To Store both empty" + Remarks)
|
//alert("To Store both empty:-" + Remarks)
|
||||||
}
|
}
|
||||||
else if(curtremarks == '<br>')
|
else if((curtremarks != '' && Remark == ''))
|
||||||
|
{
|
||||||
|
Remarks=curtremarks;
|
||||||
|
//alert("To Store current empty:-" + Remarks)
|
||||||
|
}
|
||||||
|
else if((Remark != '') && (curtremarks == '' || curtremarks == '<br>'))
|
||||||
{
|
{
|
||||||
Remarks=Remark;
|
Remarks=Remark;
|
||||||
//alert("To Store current empty" + Remarks)
|
//alert("To Store current empty:-" + Remarks)
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
Remarks=Remark+"||"+curtremarks;
|
Remarks=Remark+"||"+curtremarks;
|
||||||
//alert("To Store both hahve" + Remarks)
|
//alert("To Store both:-" + Remarks)
|
||||||
}
|
}
|
||||||
//alert(PO+"-"+Status+"-"+StatusCode);
|
//alert(Remarks);
|
||||||
|
var StatusCode='';
|
||||||
|
var srtMsg='';
|
||||||
|
//alert(PO+"-"+Status+"-"+StatusCode+"-"+Remarks);
|
||||||
if(Status != '-1'){
|
if(Status != '-1'){
|
||||||
if(Status == '1'){
|
if(Status == '1'){
|
||||||
var strMsg='Do you want to Release this Purchase Order?'
|
var strMsg='Do you want to Release this Purchase Order?'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user