diff --git a/application/views/porelease_view.php b/application/views/porelease_view.php index fe84dcef..a083b95d 100755 --- a/application/views/porelease_view.php +++ b/application/views/porelease_view.php @@ -148,18 +148,23 @@ if(empty($Status)) var StatusCode=''; var srtMsg=''; - if(curtremarks == '
' && Remark == ''){ + if((curtremarks == '
' || curtremarks == '') && Remark == ''){ Remarks=''; - //alert("To Store both empty" + Remarks) + alert("To Store both empty:-" + Remarks) } - else if(curtremarks == '
') + else if((curtremarks != '' && Remark == '')) + { + Remarks=curtremarks; + alert("To Store current empty:-" + Remarks) + } + else if((Remark != '') && (curtremarks == '' || curtremarks == '
')) { 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'){