porelease_view.php Remarks || symbol issue fixed.

This commit is contained in:
gandhimathi 2017-08-22 09:57:27 +00:00
parent 22d4e1ff7a
commit 5c6fc90312

View File

@ -148,18 +148,23 @@ if(empty($Status))
var StatusCode='';
var srtMsg='';
if(curtremarks == '<br>' && Remark == ''){
if((curtremarks == '<br>' || curtremarks == '') && Remark == ''){
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;
//alert("To Store current empty" + Remarks)
alert("To Store current empty:-" + Remarks)
}
else{
Remarks=Remark+"||"+curtremarks;
//alert("To Store both hahve" + Remarks)
alert("To Store both:-" + Remarks)
}
//alert(PO+"-"+Status+"-"+StatusCode);
if(Status != '-1'){