Commit 83c4633c authored by msharma's avatar msharma

Tab Order Error Corrected for Cheque Number


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92184 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9d615f5f
...@@ -119,7 +119,7 @@ public class GenerateReceiptIC extends ValidatorEJB implements GenerateReceiptIC ...@@ -119,7 +119,7 @@ public class GenerateReceiptIC extends ValidatorEJB implements GenerateReceiptIC
chequeDate = checkNull(genericUtility.getColumnValue("cheque_date", dom)); chequeDate = checkNull(genericUtility.getColumnValue("cheque_date", dom));
custBlank = checkNull(genericUtility.getColumnValue("cust_bank_ref", dom)); custBlank = checkNull(genericUtility.getColumnValue("cust_bank_ref", dom));
valueXmlString.append("<site_code>").append("<![CDATA[" + loginSite +"]]>").append("</site_code>"); valueXmlString.append("<site_code>").append("<![CDATA[" + loginSite +"]]>").append("</site_code>");
valueXmlString.append("<cheque_no protect='1'>").append("<![CDATA[ ]]>").append("</cheque_no>"); valueXmlString.append("<cheque_no protect='0'>").append("<![CDATA[ ]]>").append("</cheque_no>");
valueXmlString.append("<cust_code__from>").append("<![CDATA[00]]>").append("</cust_code__from>"); valueXmlString.append("<cust_code__from>").append("<![CDATA[00]]>").append("</cust_code__from>");
valueXmlString.append("<cust_code__to>").append("<![CDATA[ZZ]]>").append("</cust_code__to>"); valueXmlString.append("<cust_code__to>").append("<![CDATA[ZZ]]>").append("</cust_code__to>");
valueXmlString.append("<due_date>").append("<![CDATA[" + simpleDateFormat1.format(new Date()) +"]]>").append("</due_date>"); valueXmlString.append("<due_date>").append("<![CDATA[" + simpleDateFormat1.format(new Date()) +"]]>").append("</due_date>");
...@@ -142,10 +142,10 @@ public class GenerateReceiptIC extends ValidatorEJB implements GenerateReceiptIC ...@@ -142,10 +142,10 @@ public class GenerateReceiptIC extends ValidatorEJB implements GenerateReceiptIC
System.out.println("cust code to ="+custCodeTo); System.out.println("cust code to ="+custCodeTo);
if(!custCodeFrom.trim().equalsIgnoreCase(custCodeTo.trim())) if(!custCodeFrom.trim().equalsIgnoreCase(custCodeTo.trim()))
{ {
valueXmlString.append("<cheque_no protect='1'>").append("<![CDATA["+chequeNo+"]]>").append("</cheque_no>"); valueXmlString.append("<cheque_no protect='1'>").append("<![CDATA[]]>").append("</cheque_no>");
valueXmlString.append("<cheque_date protect='1'>").append("<![CDATA["+chequeDate+"]]>").append("</cheque_date>"); valueXmlString.append("<cheque_date protect='1'>").append("<![CDATA[]]>").append("</cheque_date>");
valueXmlString.append("<cheque_amount protect='1'>").append("<![CDATA[]]>").append("</cheque_amount>"); valueXmlString.append("<cheque_amount protect='1'>").append("<![CDATA[]]>").append("</cheque_amount>");
valueXmlString.append("<cust_bank_ref protect='1'>").append("<![CDATA["+custBlank+"]]>").append("</cust_bank_ref>"); valueXmlString.append("<cust_bank_ref protect='1'>").append("<![CDATA[]]>").append("</cust_bank_ref>");
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment