Commit 1e344205 authored by steurwadkar's avatar steurwadkar

F17ABAS001 source code commit


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@106755 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9fa12d5e
......@@ -27,7 +27,10 @@ public class CDNURSerializer extends JsonSerializer<CDNUR>
}
else if("2".equalsIgnoreCase(cdnur.recType))
{
json.writeStringField("rtin", cdnur.receiverGSTIN);
if(cdnur.receiverGSTIN != null && cdnur.receiverGSTIN.length() > 0)
{
json.writeStringField("rtin", cdnur.receiverGSTIN);
}
}
json.writeStringField("ntty", cdnur.cdnNoteType);
json.writeStringField("nt_num", cdnur.cdNoteNumber);
......@@ -99,7 +102,7 @@ public class CDNURSerializer extends JsonSerializer<CDNUR>
}
json.writeEndObject();
if(li.itcType != null && (li.igstInputTax > 0.0 || li.cgstInputTax > 0.0 || li.sgstInputTax > 0.0) || li.cessInputTax > 0.0)
if(li.itcType != null)
{
json.writeFieldName("itc");
json.writeStartObject();
......
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