From 5c6fc9031264fc8452a74dee05dc56c36afe1e76 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Tue, 22 Aug 2017 09:57:27 +0000 Subject: [PATCH] porelease_view.php Remarks || symbol issue fixed. --- application/views/porelease_view.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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'){