Commit 66fdc1d1 authored by steurwadkar's avatar steurwadkar

F17ABAS001 GST API calling web part commit


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@106475 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f5f03716
......@@ -152,6 +152,7 @@ button.accordion2 {
border-bottom:0px solid #ddd !important;
border-radius:0px;
padding: 4px;
padding-left: 30px;
color: #000;
cursor: pointer;
width: 100%;
......@@ -196,6 +197,7 @@ button.accordion3 {
border-bottom:0px solid #ddd !important;
border-radius:0px;
padding: 4px;
padding-left: 50px;
color: #000;
cursor: pointer;
width: 100%;
......
......@@ -206,12 +206,12 @@
</div>
</xsl:if>
<xsl:if test ="$dbID != '1'">
<xsl:variable name="period_code"><xsl:value-of select="period_code"/></xsl:variable>
<xsl:for-each select="summary_data">
<button class="accordion1" type="button" expanded="false">
<div class="iconDiv">S</div>
<div style="margin-left:40px;">
<xsl:variable name="summaryRetPeriod"><xsl:value-of select="ret_period"/></xsl:variable>
<input type="hidden" id="summaryRetPeriod" value="{$summaryRetPeriod}"/>
<input type="hidden" id="summaryRetPeriod" value="{$period_code}"/>
<div class="invTypDiv">Summary of documents till date saved on GSTN server for <span id="returnMonthLbl"></span></div>
</div>
</button>
......
......@@ -193,6 +193,7 @@
</div>
</xsl:if>
<xsl:if test ="$dbID != '1'">
<xsl:variable name="period_code"><xsl:value-of select="period_code"/></xsl:variable>
<xsl:for-each select="pending_data">
<button class="accordion1" type="button">
<div class="iconDiv">P</div>
......@@ -223,8 +224,7 @@
<button class="accordion1" type="button" expanded="false">
<div class="iconDiv">S</div>
<div style="margin-left:40px;">
<xsl:variable name="summaryRetPeriod"><xsl:value-of select="ret_period"/></xsl:variable>
<input type="hidden" id="summaryRetPeriod" value="{$summaryRetPeriod}"/>
<input type="hidden" id="summaryRetPeriod" value="{$period_code}"/>
<div class="invTypDiv">Summary of documents till date saved on GSTN server for <span id="returnMonthLbl"></span></div>
</div>
</button>
......
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<body onload="getTitlenImg('gstreturn_file');returnPeriodDropdown();">
<script type="text/javascript" src="/ibase/webitm/js/GSTDataSubmitWiz.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/FixedTableHeader.js"></script>
<script language="Javascript" src="/ibase/webitm/js/jquery.datetimepicker.full.js"></script>
<script language="Javascript" src="/ibase/webitm/js/date.js"></script>
<link href="/ibase/webitm/css/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.core.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.widget.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.position.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.menu.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.autocomplete.js"></script>
<link href="/ibase/webitm/css/htmlWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/GSTDataSubmitWiz.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/jquery.datetimepicker.css" rel="stylesheet"/>
<script>
<![CDATA[
$(document).on("keydown", function (e) {
if (e.which === 8 && !$(e.target).is("input, textarea, form")) {
e.preventDefault();
}
else if(e.which ===13){
e.preventDefault();
}
});
]]>
</script>
<form name="gstdataSubmitForm1" id="gstdataSubmitForm1" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<div class="contentHeaderLbl" style="position:fixed;overflow:hidden;width:100%;padding:12px; background-color:white;top:0px;">
&#160;&#160;<img onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px; height: 20px; width: 20px;" id="titleImg" />
&#160;<div id="titleText"></div>
</div><br></br><br></br>
<div id="innerDiv" style="overflow-y:hidden;overflow-x:auto;max-height:80%;width:98%;position:absolute;">
<table id="errorActivityTable" height="10%" class="tableClass" style="margin: 12px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="0" cellspacing="0" cellpadding="0">
<xsl:for-each select="//error">
<xsl:if test="position() = 1">
<tr>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" valign="bottom">
Message :
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" valign="bottom">
Description :
</td>
<td class="tdss_rightAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom" colspan="2">
<a href="#" style="text-decoration:none;" onclick="doHideMsg('errorActivityTable')"><font style="color:#000;text-decoration:none;padding-right:5px;" ><b>X</b></font></a>
</td>
</tr>
</xsl:if>
<xsl:variable name="message"><xsl:value-of select="message"/></xsl:variable>
<xsl:variable name="description"><xsl:value-of select="description"/></xsl:variable>
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domId"/></xsl:variable>
<xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable>
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
<xsl:value-of select="message"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
<xsl:value-of select="description"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//error">
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:if test="position() = 1">
<xsl:if test="$type = 'W'">
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
<input type="checkbox" name="forceSave" value="true" checked="checked" onClick="setChecked(this)"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true"></td>
</tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</table>
</div>
<div id="popHelpContainer"></div>
<div id="overlay"></div>
<div id="mainPageHeaderContatiner">
<div class="mainPage-input-Container">
<xsl:for-each select="//Detail1">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="period_code"><xsl:value-of select="period_code"/></xsl:variable>
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<xsl:variable name="site_descr"><xsl:value-of select="site_descr"/></xsl:variable>
<xsl:variable name="gstin"><xsl:value-of select="gstin"/></xsl:variable>
<xsl:variable name="username"><xsl:value-of select="username"/></xsl:variable>
<xsl:variable name="state_code"><xsl:value-of select="state_code"/></xsl:variable>
<xsl:variable name="state_descr"><xsl:value-of select="state_descr"/></xsl:variable>
<xsl:variable name="otp"><xsl:value-of select="otp"/></xsl:variable>
<xsl:variable name="app_key"><xsl:value-of select="app_key"/></xsl:variable>
<xsl:variable name="returns_type"><xsl:value-of select="returns_type"/></xsl:variable>
<xsl:variable name="gross_turnover"><xsl:value-of select="gross_turnover"/></xsl:variable>
<xsl:variable name="action"><xsl:value-of select="action"/></xsl:variable>
<div class="inputFormDiv">
<div class="eachLineFields">
<div class="eachField">
<div class="labelDiv">GSTIN : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$gstin}" name="Detail1.{normalize-space($dbID)}.gstin" id="Detail1.{normalize-space($dbID)}.gstin" tabIndex="-1" readOnly="true"/></div>
</div>
<div class="eachField">
<div class="labelDiv">User name : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$username}" name="Detail1.{normalize-space($dbID)}.username" id="Detail1.{normalize-space($dbID)}.username" tabIndex="-1" readOnly="true" style="width:224px;"/></div>
</div>
</div>
<div class="eachLineFields" style="width:675px;">
<div class="eachField">
<div class="labelDiv">State code : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$state_code}" name="Detail1.{normalize-space($dbID)}.state_code" id="Detail1.{normalize-space($dbID)}.state_code" tabIndex="-1" readOnly="true" style="width:40px;text-align:right;padding-right:4px;"/></div>
</div>
<div class="eachField">
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$state_descr}" name="Detail1.{normalize-space($dbID)}.state_descr" id="Detail1.{normalize-space($dbID)}.state_descr" tabIndex="-1" readOnly="true" style="width:150px;"/></div>
</div>
</div>
<div class="eachLineFields">
<div class="eachField">
<div class="labelDiv">Month<span style="color:red;">*</span> : </div>
<div class="inputDiv"><select class="input_editable" id="yearMonthInput" name="Detail1.{normalize-space($dbID)}.period_code"></select></div>
</div>
<div class="eachField" style="display:none;">
<div class="labelDiv">Site code<span style="color:red;">*</span> : </div>
<div class="inputDiv"><input type="text" class="input_editable" value="{$site_code}" name="Detail1.{normalize-space($dbID)}.site_code" id="Detail1.{normalize-space($dbID)}.site_code" tabIndex="20" style="width:60px;text-transform:uppercase;" popupFldName="SITE_CODE" onkeyup="getAutoPopupData(this);" onfocus="displayPopUpIcon('popUpIcon2');" onchange="callItemChange(this.id);" /></div>
<div class="popHelpIconDiv"><a href="javascript:getListOfValues('SITE_CODE','Detail1.{normalize-space($dbID)}.site_code','{$site_code}');" id="popUpIcon2" tabIndex="-1"><img src="/ibase/webitm/images/pophelp.png"/></a></div>
</div>
<div class="eachField" style="display:none;">
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$site_descr}" name="Detail1.{normalize-space($dbID)}.site_descr" id="Detail1.{normalize-space($dbID)}.site_descr" tabIndex="-1" readOnly="true" style="width:268px;"/></div>
</div>
</div>
<div class="eachLineFields" style="width:675px;display:none;">
<div class="eachField">
<div class="labelDiv">Returns type<span style="color:red;">*</span> : </div>
<div class="inputDiv">
<input type="text" id='Detail1.{normalize-space($dbID)}.returns_type' NAME="Detail1.{normalize-space($dbID)}.returns_type" value="GSTR3B"/>
</div>
</div>
<div class="eachField">
<div class="labelDiv" style="width:70px;">Action<span style="color:red;">*</span> : </div>
<div class="inputDiv">
<input type="text" id='Detail1.{normalize-space($dbID)}.action' NAME="Detail1.{normalize-space($dbID)}.action" value="FILE"/>
</div>
</div>
</div>
<div class="eachLineFields" style="margin-top:10px;margin-left:60px;">
<div class="eachField">
<div class="inputDiv"><input type="button" class="button" value="Generate OTP" title="Generate OTP" onClick="generateOTP();" tabIndex="-1" style="margin-right:0px;"/></div>
</div>
</div>
<div class="eachLineFields">
<div class="eachField" style="margin-left:12px;display:none;" id="otpInputDiv">
<div class="labelDiv" style="width:50px;float:none;">OTP<span style="color:red;">*</span> : </div>
<div class="inputDiv" style="float:none;"><input type="text" class="input_editable" name="Detail1.{normalize-space($dbID)}.otp" id="Detail1.{normalize-space($dbID)}.otp" tabIndex="60" style="width:80px;" /></div>
<div id="timerDiv" style="display: none;margin-left: 20px;font-size:13px;float:none;"> OTP Expires in <span id="timerVal">10:00</span></div>
</div>
</div>
<div class="eachLineFields" style="display:none;">
<div class="eachField">
<div class="labelDiv">App Key : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$app_key}" name="Detail1.{normalize-space($dbID)}.app_key" id="Detail1.{normalize-space($dbID)}.app_key" tabIndex="-1" style="width:400px;"/></div>
</div>
</div>
</div>
</xsl:for-each>
</div>
<div id="btnDiv">
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="gstreturn_file" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type="submit" style="cursor:hand;margin-left:20px;" value="Next" onclick="setActionVal('next');return validateHeaderForm();" class="button" title='Next' id="next"/>
</div>
</div>
<div id="buttonreplacement">
<img src="/ibase/images/preload.gif" alt="Please wait" ></img>
<span>Please wait......</span>
</div>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<body onload="getTitlenImg('gstreturn_file');setSummaryTotal();">
<script type="text/javascript" src="/ibase/webitm/js/GSTDataSubmitWiz.js"></script>
<script type="text/javascript" src="/ibase/SignDocument/js/SignService.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/FixedTableHeader.js"></script>
<script language="Javascript" src="/ibase/webitm/js/jquery.datetimepicker.full.js"></script>
<script language="Javascript" src="/ibase/webitm/js/date.js"></script>
<link href="/ibase/webitm/css/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.core.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.widget.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.position.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.menu.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.autocomplete.js"></script>
<link href="/ibase/webitm/css/Galaxy/galaxy-theme.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/Standard/default.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/htmlWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/GSTDataSubmitWiz.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/jquery.datetimepicker.css" rel="stylesheet"/>
<script>
<![CDATA[
$(function()
{
var acc = document.getElementsByClassName("accordion1");
var i;
for (i = 0; i < acc.length; i++)
{
acc[i].onclick = function()
{
this.classList.toggle("active");
this.nextElementSibling.classList.toggle("show");
}
}
});
$(function()
{
var acc = document.getElementsByClassName("accordion2");
var i;
for (i = 0; i < acc.length; i++)
{
acc[i].onclick = function()
{
this.classList.toggle("activeAccor");
this.classList.toggle("active");
this.nextElementSibling.classList.toggle("show");
if(this.nextElementSibling.classList == "panel2")
{
this.classList.remove("activeAccor");
}
}
}
});
$(function()
{
var acc = document.getElementsByClassName("accordion3");
var i;
for (i = 0; i < acc.length; i++)
{
acc[i].onclick = function()
{
this.classList.toggle("active");
this.nextElementSibling.classList.toggle("show");
}
}
});
$(function()
{
var panel = document.getElementsByClassName("panel2");
for (var j = 0; j < panel.length; j++)
{
panel[j].onclick = function()
{
var acc = document.getElementsByClassName("accordion2");
for(var i=0; i<acc.length; i++)
{
acc[i].classList.remove("activeAccor");
}
this.previousElementSibling.classList.add("activeAccor");
}
}
});
$(document).on("keydown", function (e) {
if (e.which === 8 && !$(e.target).is("input, textarea, form")) {
e.preventDefault();
}
else if(e.which ===13){
e.preventDefault();
}
});
]]>
</script>
<form name="gstdataSubmitForm2" id="gstdataSubmitForm2" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<div class="contentHeaderLbl" style="position:fixed;overflow:hidden;width:100%;padding:12px; background-color:white;top:0px;">
&#160;&#160;<img onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px; height: 20px; width: 20px;" id="titleImg" />
&#160;<div id="titleText"></div>
</div><br></br><br></br>
<div id="innerDiv" style="overflow-y:hidden;overflow-x:auto;max-height:80%;width:98%;position:absolute;">
<table id="errorActivityTable" height="10%" class="tableClass" style="margin: 12px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="0" cellspacing="0" cellpadding="0">
<xsl:for-each select="//error">
<xsl:if test="position() = 1">
<tr>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" valign="bottom">
Message :
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" valign="bottom">
Description :
</td>
<td class="tdss_rightAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom" colspan="2">
<a href="#" style="text-decoration:none;" onclick="doHideMsg('errorActivityTable')"><font style="color:#000;text-decoration:none;padding-right:5px;" ><b>X</b></font></a>
</td>
</tr>
</xsl:if>
<xsl:variable name="message"><xsl:value-of select="message"/></xsl:variable>
<xsl:variable name="description"><xsl:value-of select="description"/></xsl:variable>
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domId"/></xsl:variable>
<xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable>
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
<xsl:value-of select="message"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
<xsl:value-of select="description"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
</td>
</tr>
<script><![CDATA[]]>formatDetailWithErr();</script>
</xsl:for-each>
<xsl:for-each select="//error">
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:if test="position() = 1">
<xsl:if test="$type = 'W'">
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
<input type="checkbox" name="forceSave" value="true" checked="checked" onClick="setChecked(this)"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true"></td>
</tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</table>
</div>
<div id="popHelpContainer"></div>
<div id="overlay"></div>
<div id="mainPageHeaderContatiner">
<div class="detailPage-input-Container">
<xsl:for-each select="//Detail2">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:if test="$dbID = '1'">
<xsl:variable name="auth_token"><xsl:value-of select="auth_token"/></xsl:variable>
<xsl:variable name="auth_sek"><xsl:value-of select="auth_sek"/></xsl:variable>
<xsl:variable name="summary_data"><xsl:value-of select="summary_data"/></xsl:variable>
<xsl:variable name="signed_data"><xsl:value-of select="signed_data"/></xsl:variable>
<div class="inputFormDiv" style="display:none;">
<div class="eachLineFields">
<div class="eachField">
<div class="inputDiv"><input type="checkbox" value="true" checked="checked" name="Detail2.{normalize-space($dbID)}.selectbox" id="Detail2.{normalize-space($dbID)}.selectbox" tabIndex="-1"/></div>
</div>
<div class="eachField">
<div class="labelDiv">Auth token : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$auth_token}" name="Detail2.{normalize-space($dbID)}.auth_token" id="Detail2.{normalize-space($dbID)}.auth_token" readOnly="true" tabIndex="-1"/></div>
</div>
<div class="eachField">
<div class="labelDiv">Auth sek : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$auth_sek}" name="Detail2.{normalize-space($dbID)}.auth_sek" id="Detail2.{normalize-space($dbID)}.auth_sek" tabIndex="-1" readOnly="true" style="width:224px;"/></div>
</div>
</div>
<div class="eachLineFields">
<div class="eachField">
<div class="labelDiv">Summary Data : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$summary_data}" name="Detail2.{normalize-space($dbID)}.summary_data" id="Detail2.{normalize-space($dbID)}.summary_data" readOnly="true" tabIndex="-1"/></div>
</div>
<div class="eachField">
<div class="labelDiv">Signed Data : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$signed_data}" name="Detail2.{normalize-space($dbID)}.signed_data" id="Detail2.{normalize-space($dbID)}.signed_data" tabIndex="-1" readOnly="true" style="width:224px;"/></div>
</div>
</div>
</div>
</xsl:if>
<xsl:if test ="$dbID != '1'">
<xsl:variable name="period_code"><xsl:value-of select="period_code"/></xsl:variable>
<xsl:for-each select="summary_data">
<button class="accordion1" type="button" expanded="false">
<div class="iconDiv">S</div>
<div style="margin-left:40px;">
<input type="hidden" id="summaryRetPeriod" value="{$period_code}"/>
<div class="invTypDiv">Summary of documents till date saved on GSTN server for <span id="returnMonthLbl"></span></div>
</div>
</button>
<div class="panel1" style="overflow-x:auto;">
<button class="accordion2" type="button" expanded="false">
Details of Outward Supplies and Inward supplies liable to reverse charge
</button>
<div class="panel2">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" align="left">Description</th>
<th align="right">Amount</th>
<th align="right">IGST</th>
<th align="right">CGST</th>
<th align="right">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="sup_details/*">
<tr class='trClass'>
<td nowrap="true" style="border-left:0px solid black !important;">
<xsl:variable name="desc"><xsl:value-of select ="local-name()"/></xsl:variable>
<xsl:if test="$desc='osup_det'">
Outward taxable supplies
</xsl:if>
<xsl:if test="$desc='osup_zero'">
Outward nil rated supplies
</xsl:if>
<xsl:if test="$desc='osup_nil_exmp'">
Outward exempted supplies
</xsl:if>
<xsl:if test="$desc='osup_nongst'">
Outward Non-GST supplies
</xsl:if>
<xsl:if test="$desc='isup_rev'">
Inward supplies liable to reverse charge
</xsl:if>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="txval">
<xsl:value-of select="txval"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="camt">
<xsl:value-of select="camt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="samt">
<xsl:value-of select="samt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion2" type="button" expanded="false">
Details of inter-State supplies made to unregistered persons, composition taxable persons and UIN holders
</button>
<div class="panel2">
<button class="accordion3" type="button" expanded="false">
Supplies made to Unregistered Persons
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;">Place of supply</th>
<th nowrap="true" align="right">Taxable amount</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="inter_sup/unreg_details">
<tr class='trClass'>
<td nowrap="true" style="border-left:0px solid black !important;">
<xsl:value-of select ="pos"/>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="txval">
<xsl:value-of select="txval"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
Supplies made to Composition Taxable Persons
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;">Place of supply</th>
<th nowrap="true" align="right">Taxable amount</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="inter_sup/comp_details">
<tr class='trClass'>
<td nowrap="true" style="border-left:0px solid black !important;">
<xsl:value-of select ="pos"/>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="txval">
<xsl:value-of select="txval"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
Supplies made to UIN holders
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;">Place of supply</th>
<th nowrap="true" align="right">Taxable amount</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="inter_sup/uin_details">
<tr class='trClass'>
<td nowrap="true" style="border-left:0px solid black !important;">
<xsl:value-of select ="pos"/>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="txval">
<xsl:value-of select="txval"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</div>
<button class="accordion2" type="button" expanded="false">
ITC Details
</button>
<div class="panel2">
<button class="accordion3" type="button" expanded="false">
ITC Available
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;">Type</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="itc_elg/itc_avl">
<tr class='trClass'>
<td nowrap="true" style="border-left:0px solid black !important;">
<xsl:value-of select ="ty"/>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="camt">
<xsl:value-of select="camt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="samt">
<xsl:value-of select="samt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
ITC Reversed
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;">Type</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="itc_elg/itc_rev">
<tr class='trClass'>
<td nowrap="true" style="border-left:0px solid black !important;">
<xsl:value-of select ="ty"/>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="camt">
<xsl:value-of select="camt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="samt">
<xsl:value-of select="samt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
Net ITC Available
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="itc_elg/itc_net">
<tr class='trClass'>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="camt">
<xsl:value-of select="camt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="samt">
<xsl:value-of select="samt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
Ineligible ITC
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;">Type</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="itc_elg/itc_inelg">
<tr class='trClass'>
<td><xsl:value-of select="ty"/></td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="camt">
<xsl:value-of select="camt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="samt">
<xsl:value-of select="samt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</div>
<button class="accordion2" type="button" expanded="false">
Values of exempt, nil-rated and non-GST inward supplies
</button>
<div class="panel2">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;">Type</th>
<th nowrap="true" align="right">Inter supplies</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Intra supplies</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="inward_sup/isup_details">
<tr class='trClass'>
<td><xsl:value-of select="ty"/></td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="inter">
<xsl:value-of select="inter"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="intra">
<xsl:value-of select="intra"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion2" type="button" expanded="false">
Tax payment and ITC details
</button>
<div class="panel2">
<button class="accordion3" type="button" expanded="false">
Details of Tax payment
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" rowspan="2">Ledger ID</th>
<th nowrap="true" rowspan="2">Transaction Type</th>
<th nowrap="true" rowspan="2">Description</th>
<th nowrap="true" align="center" colspan="3">IGST</th>
<th nowrap="true" align="center" colspan="3">CGST</th>
<th nowrap="true" align="center" colspan="3">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="center" colspan="3">Cess</th>
</tr>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" align="right">Late fees</th>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" align="right">Late fees</th>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" align="right">Late fees</th>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Late fees</th>
<tr>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="tx_pmt/tx_py">
<tr class='trClass'>
<td><xsl:value-of select="liab_ldg_id"/></td>
<td><xsl:value-of select="trans_typ"/></td>
<td><xsl:value-of select="trans_desc"/></td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="igst/tx">
<xsl:value-of select="igst/tx"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="igst/intr">
<xsl:value-of select="igst/intr"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="igst/fee">
<xsl:value-of select="igst/fee"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cgst/tx">
<xsl:value-of select="cgst/tx"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cgst/intr">
<xsl:value-of select="cgst/intr"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cgst/fee">
<xsl:value-of select="cgst/fee"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="sgst/tx">
<xsl:value-of select="sgst/tx"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="sgst/intr">
<xsl:value-of select="sgst/intr"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="sgst/fee">
<xsl:value-of select="sgst/fee"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cess/tx">
<xsl:value-of select="igst/tx"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cess/intr">
<xsl:value-of select="igst/intr"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="cess/fee">
<xsl:value-of select="cess/fee"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
Details of Cash paid
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" rowspan="2">Ledger ID</th>
<th nowrap="true" rowspan="2">Transaction Type</th>
<th nowrap="true" align="center" colspan="3">IGST</th>
<th nowrap="true" align="center" colspan="3">CGST</th>
<th nowrap="true" align="center" colspan="3">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="center" colspan="3">Cess</th>
</tr>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" align="right">Late fees</th>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" align="right">Late fees</th>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" align="right">Late fees</th>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Late fees</th>
<tr>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="tx_pmt/pdcash">
<tr class='trClass'>
<td><xsl:value-of select="liab_ldg_id"/></td>
<td><xsl:value-of select="trans_typ"/></td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="ipd">
<xsl:value-of select="ipd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="i_intrpd">
<xsl:value-of select="i_intrpd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="i_lfeepd">
<xsl:value-of select="i_lfeepd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cpd">
<xsl:value-of select="cpd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="c_intrpd">
<xsl:value-of select="c_intrpd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="c_lfeepd">
<xsl:value-of select="c_lfeepd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="spd">
<xsl:value-of select="spd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="s_intrpd">
<xsl:value-of select="s_intrpd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="s_lfeepd">
<xsl:value-of select="s_lfeepd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cspd">
<xsl:value-of select="cspd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cs_intrpd">
<xsl:value-of select="cs_intrpd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="cs_lfeepd">
<xsl:value-of select="cs_lfeepd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
Details of ITC paid
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" rowspan="2">Ledger ID</th>
<th nowrap="true" rowspan="2">Transaction Type</th>
<th nowrap="true" align="center" colspan="3">IGST paid using</th>
<th nowrap="true" align="center" colspan="2">CGST paid using</th>
<th nowrap="true" align="center" colspan="2">SGST paid using</th>
<th nowrap="true" align="right" style="border-right:0px solid black !important;" rowspan="2">Cess</th>
</tr>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">SGST</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" align="right">SGST</th>
<tr>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="tx_pmt/pditc">
<tr class='trClass'>
<td><xsl:value-of select="liab_ldg_id"/></td>
<td><xsl:value-of select="trans_typ"/></td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="i_pdi">
<xsl:value-of select="i_pdi"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="i_pdc">
<xsl:value-of select="i_pdc"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="i_pds">
<xsl:value-of select="i_pds"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="c_pdi">
<xsl:value-of select="c_pdi"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="c_pdc">
<xsl:value-of select="c_pdc"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="s_pdi">
<xsl:value-of select="s_pdi"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="s_pds">
<xsl:value-of select="s_pds"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="cs_pdcs">
<xsl:value-of select="cs_pdcs"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</div>
<button class="accordion2" type="button" expanded="false">
Interest and Late fees payable
</button>
<div class="panel2">
<button class="accordion3" type="button" expanded="false">
Interest payable
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="intr_ltfee/intr_details">
<tr class='trClass'>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="camt">
<xsl:value-of select="camt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="samt">
<xsl:value-of select="samt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
Late fees payable
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="intr_ltfee/ltfee_details">
<tr class='trClass'>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="camt">
<xsl:value-of select="camt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="samt">
<xsl:value-of select="samt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</div>
</div>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="//Detail2">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:if test="$dbID = '1'">
<xsl:variable name="pan_no"><xsl:value-of select="pan_no"/></xsl:variable>
<xsl:variable name="aadhar_no"><xsl:value-of select="aadhar_no"/></xsl:variable>
<div class="inputFormDiv">
<div class="eachLineFields">
<div class="eachField">
<div class="labelDiv">Sign method<span style="color:red;">*</span> : </div>
<div class="inputDiv">
<select class="input_editable" name="Detail2.{normalize-space($dbID)}.sign_method" id="Detail2.{normalize-space($dbID)}.sign_method" onchange="showDocTextbox(this)">
<option Value=""></option>
<xsl:for-each select="sign_data/data">
<xsl:variable name="sign_method"><xsl:value-of select="sign_method"/></xsl:variable>
<xsl:if test="$sign_method='D'">
<option value="D">Digital Sign</option>
</xsl:if>
<xsl:if test="$sign_method='E'">
<option value="E">E-Sign</option>
</xsl:if>
</xsl:for-each>
</select>
</div>
</div>
</div>
<div class="eachLineFields">
<div class="eachField" id ="panTextbox" style="display:none;">
<div class="labelDiv">PAN<span style="color:red;">*</span> : </div>
<div class="inputDiv"><input type="text" class="input_editable" value="{$pan_no}" name="Detail2.{normalize-space($dbID)}.pan_no" id="Detail2.{normalize-space($dbID)}.pan_no"/></div>
</div>
<div class="eachField" id="aadhaarTextbox" style="display:none;">
<div class="labelDiv">Aadhaar<span style="color:red;">*</span> : </div>
<div class="inputDiv"><input type="number" class="input_editable" value="{$aadhar_no}" name="Detail2.{normalize-space($dbID)}.aadhar_no" id="Detail2.{normalize-space($dbID)}.aadhar_no"/></div>
</div>
</div>
</div>
</xsl:if>
</xsl:for-each>
</div>
<div id="btnDiv">
<input type="hidden" value="2" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="gstreturn_file" name="OBJ_NAME" />
<input type="hidden" value="finish" name="action" id="action" />
<input type="button" style="cursor:hand;margin-left:20px;" value="Finish" onclick="getSignedData('GSTR3B');" class="button" title='Finish' id="finish"/>
</div>
</div>
<div id="buttonreplacement">
<img src="/ibase/images/preload.gif" alt="Please wait" ></img>
<span>Please wait......</span>
</div>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<body onload="getTitlenImg('gstreturn_save');returnPeriodDropdown();">
<script type="text/javascript" src="/ibase/webitm/js/GSTDataSubmitWiz.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/FixedTableHeader.js"></script>
<script language="Javascript" src="/ibase/webitm/js/jquery.datetimepicker.full.js"></script>
<script language="Javascript" src="/ibase/webitm/js/date.js"></script>
<link href="/ibase/webitm/css/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.core.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.widget.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.position.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.menu.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.autocomplete.js"></script>
<link href="/ibase/webitm/css/htmlWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/GSTDataSubmitWiz.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/jquery.datetimepicker.css" rel="stylesheet"/>
<script>
<![CDATA[
$(document).on("keydown", function (e) {
if (e.which === 8 && !$(e.target).is("input, textarea, form")) {
e.preventDefault();
}
else if(e.which ===13){
e.preventDefault();
}
});
]]>
</script>
<form name="gstdataSubmitForm1" id="gstdataSubmitForm1" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<div class="contentHeaderLbl" style="position:fixed;overflow:hidden;width:100%;padding:12px; background-color:white;top:0px;">
&#160;&#160;<img onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px; height: 20px; width: 20px;" id="titleImg" />
&#160;<div id="titleText"></div>
</div><br></br><br></br>
<div id="innerDiv" style="overflow-y:hidden;overflow-x:auto;max-height:80%;width:98%;position:absolute;">
<table id="errorActivityTable" height="10%" class="tableClass" style="margin: 12px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="0" cellspacing="0" cellpadding="0">
<xsl:for-each select="//error">
<xsl:if test="position() = 1">
<tr>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" valign="bottom">
Message :
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" valign="bottom">
Description :
</td>
<td class="tdss_rightAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom" colspan="2">
<a href="#" style="text-decoration:none;" onclick="doHideMsg('errorActivityTable')"><font style="color:#000;text-decoration:none;padding-right:5px;" ><b>X</b></font></a>
</td>
</tr>
</xsl:if>
<xsl:variable name="message"><xsl:value-of select="message"/></xsl:variable>
<xsl:variable name="description"><xsl:value-of select="description"/></xsl:variable>
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domId"/></xsl:variable>
<xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable>
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
<xsl:value-of select="message"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
<xsl:value-of select="description"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//error">
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:if test="position() = 1">
<xsl:if test="$type = 'W'">
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
<input type="checkbox" name="forceSave" value="true" checked="checked" onClick="setChecked(this)"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true"></td>
</tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</table>
</div>
<div id="popHelpContainer"></div>
<div id="overlay"></div>
<div id="mainPageHeaderContatiner">
<div class="mainPage-input-Container">
<xsl:for-each select="//Detail1">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="period_code"><xsl:value-of select="period_code"/></xsl:variable>
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<xsl:variable name="site_descr"><xsl:value-of select="site_descr"/></xsl:variable>
<xsl:variable name="gstin"><xsl:value-of select="gstin"/></xsl:variable>
<xsl:variable name="username"><xsl:value-of select="username"/></xsl:variable>
<xsl:variable name="state_code"><xsl:value-of select="state_code"/></xsl:variable>
<xsl:variable name="state_descr"><xsl:value-of select="state_descr"/></xsl:variable>
<xsl:variable name="otp"><xsl:value-of select="otp"/></xsl:variable>
<xsl:variable name="app_key"><xsl:value-of select="app_key"/></xsl:variable>
<xsl:variable name="returns_type"><xsl:value-of select="returns_type"/></xsl:variable>
<xsl:variable name="gross_turnover"><xsl:value-of select="gross_turnover"/></xsl:variable>
<xsl:variable name="cur_gross_turnover"><xsl:value-of select="cur_gross_turnover"/></xsl:variable>
<xsl:variable name="action"><xsl:value-of select="action"/></xsl:variable>
<xsl:variable name="auth_token"><xsl:value-of select="auth_token"/></xsl:variable>
<xsl:variable name="sek"><xsl:value-of select="sek"/></xsl:variable>
<div class="inputFormDiv">
<div class="eachLineFields">
<div class="eachField">
<div class="labelDiv">GSTIN : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$gstin}" name="Detail1.{normalize-space($dbID)}.gstin" id="Detail1.{normalize-space($dbID)}.gstin" tabIndex="-1" readOnly="true" /></div>
</div>
<div class="eachField">
<div class="labelDiv">User name : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$username}" name="Detail1.{normalize-space($dbID)}.username" id="Detail1.{normalize-space($dbID)}.username" tabIndex="-1" readOnly="true" style="width:224px;"/></div>
</div>
</div>
<div class="eachLineFields" style="width:675px;">
<div class="eachField">
<div class="labelDiv">State code : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$state_code}" name="Detail1.{normalize-space($dbID)}.state_code" id="Detail1.{normalize-space($dbID)}.state_code" tabIndex="-1" readOnly="true" style="width:40px;text-align:right;padding-right:4px;"/></div>
</div>
<div class="eachField">
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$state_descr}" name="Detail1.{normalize-space($dbID)}.state_descr" id="Detail1.{normalize-space($dbID)}.state_descr" tabIndex="-1" readOnly="true" style="width:150px;"/></div>
</div>
</div>
<div class="eachLineFields">
<div class="eachField">
<div class="labelDiv">Month<span style="color:red;">*</span> : </div>
<div class="inputDiv"><select class="input_editable" id="yearMonthInput" name="Detail1.{normalize-space($dbID)}.period_code"></select></div>
</div>
<div class="eachField" style="display:none;">
<div class="labelDiv">Site code<span style="color:red;">*</span> : </div>
<div class="inputDiv"><input type="text" class="input_editable" value="{$site_code}" name="Detail1.{normalize-space($dbID)}.site_code" id="Detail1.{normalize-space($dbID)}.site_code" tabIndex="20" style="width:60px;text-transform:uppercase;" popupFldName="SITE_CODE" onkeyup="getAutoPopupData(this);" onfocus="displayPopUpIcon('popUpIcon2');" onchange="callItemChange(this.id);" /></div>
<div class="popHelpIconDiv"><a href="javascript:getListOfValues('SITE_CODE','Detail1.{normalize-space($dbID)}.site_code','{$site_code}');" id="popUpIcon2" tabIndex="-1"><img src="/ibase/webitm/images/pophelp.png"/></a></div>
</div>
<div class="eachField" style="display:none;">
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$site_descr}" name="Detail1.{normalize-space($dbID)}.site_descr" id="Detail1.{normalize-space($dbID)}.site_descr" tabIndex="-1" readOnly="true" style="width:268px;"/></div>
</div>
</div>
<div class="eachLineFields" style="width:675px;display:none;">
<div class="eachField">
<div class="labelDiv">Returns type<span style="color:red;">*</span> : </div>
<div class="inputDiv">
<input type="text" id='Detail1.{normalize-space($dbID)}.returns_type' NAME="Detail1.{normalize-space($dbID)}.returns_type" value="GSTR3B"/>
</div>
</div>
<div class="eachField">
<div class="labelDiv" style="width:70px;">Action<span style="color:red;">*</span> : </div>
<div class="inputDiv">
<input type="text" id='Detail1.{normalize-space($dbID)}.action' NAME="Detail1.{normalize-space($dbID)}.action" value="SAVE"/>
</div>
</div>
</div>
<div class="eachLineFields" style="margin-top:10px;margin-left:60px;">
<div class="eachField">
<div class="inputDiv"><input type="button" class="button" value="Generate OTP" title="Generate OTP" onClick="generateOTP();" tabIndex="-1" style="margin-right:0px;"/></div>
</div>
</div>
<div class="eachLineFields">
<div class="eachField" style="margin-left:12px;display:none;" id="otpInputDiv">
<div class="labelDiv" style="width:50px;float:none;">OTP<span style="color:red;">*</span> : </div>
<div class="inputDiv" style="float:none;"><input type="text" class="input_editable" name="Detail1.{normalize-space($dbID)}.otp" id="Detail1.{normalize-space($dbID)}.otp" tabIndex="60" style="width:80px;"/></div>
<div id="timerDiv" style="display: none;margin-left: 20px;font-size:13px;float:none;"> OTP Expires in <span id="timerVal">10:00</span></div>
</div>
</div>
<div class="eachLineFields" style="display:none;">
<div class="eachField">
<div class="labelDiv">App Key : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$app_key}" name="Detail1.{normalize-space($dbID)}.app_key" id="Detail1.{normalize-space($dbID)}.app_key" tabIndex="-1" style="width:400px;"/></div>
</div>
</div>
<div class="eachLineFields" style="display:none;">
<div class="eachField">
<div class="labelDiv">Auth token : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$auth_token}" name="Detail1.{normalize-space($dbID)}.auth_token" id="Detail1.{normalize-space($dbID)}.auth_token" tabIndex="-1"/></div>
</div>
<div class="eachField">
<div class="labelDiv">Session key : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$sek}" name="Detail1.{normalize-space($dbID)}.sek" id="Detail1.{normalize-space($dbID)}.sek" tabIndex="-1"/></div>
</div>
</div>
</div>
</xsl:for-each>
</div>
<div id="btnDiv">
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="gstreturn_save" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type="submit" style="cursor:hand;margin-left:20px;" value="Finish" onclick="setActionVal('finish');return validateHeaderForm();" class="button" title='Finish' id="finish"/>
</div>
</div>
<div id="buttonreplacement">
<img src="/ibase/images/preload.gif" alt="Please wait" ></img>
<span>Please wait......</span>
</div>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<body onload="getTitlenImg('gstreturn_submit');returnPeriodDropdown();">
<script type="text/javascript" src="/ibase/webitm/js/GSTDataSubmitWiz.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/FixedTableHeader.js"></script>
<script language="Javascript" src="/ibase/webitm/js/jquery.datetimepicker.full.js"></script>
<script language="Javascript" src="/ibase/webitm/js/date.js"></script>
<link href="/ibase/webitm/css/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.core.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.widget.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.position.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.menu.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.autocomplete.js"></script>
<link href="/ibase/webitm/css/htmlWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/GSTDataSubmitWiz.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/jquery.datetimepicker.css" rel="stylesheet"/>
<script>
<![CDATA[
$(document).on("keydown", function (e) {
if (e.which === 8 && !$(e.target).is("input, textarea, form")) {
e.preventDefault();
}
else if(e.which ===13){
e.preventDefault();
}
});
]]>
</script>
<form name="gstdataSubmitForm1" id="gstdataSubmitForm1" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<div class="contentHeaderLbl" style="position:fixed;overflow:hidden;width:100%;padding:12px; background-color:white;top:0px;">
&#160;&#160;<img onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px; height: 20px; width: 20px;" id="titleImg" />
&#160;<div id="titleText"></div>
</div><br></br><br></br>
<div id="innerDiv" style="overflow-y:hidden;overflow-x:auto;max-height:80%;width:98%;position:absolute;">
<table id="errorActivityTable" height="10%" class="tableClass" style="margin: 12px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="0" cellspacing="0" cellpadding="0">
<xsl:for-each select="//error">
<xsl:if test="position() = 1">
<tr>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" valign="bottom">
Message :
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" valign="bottom">
Description :
</td>
<td class="tdss_rightAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom" colspan="2">
<a href="#" style="text-decoration:none;" onclick="doHideMsg('errorActivityTable')"><font style="color:#000;text-decoration:none;padding-right:5px;" ><b>X</b></font></a>
</td>
</tr>
</xsl:if>
<xsl:variable name="message"><xsl:value-of select="message"/></xsl:variable>
<xsl:variable name="description"><xsl:value-of select="description"/></xsl:variable>
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domId"/></xsl:variable>
<xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable>
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
<xsl:value-of select="message"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
<xsl:value-of select="description"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//error">
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:if test="position() = 1">
<xsl:if test="$type = 'W'">
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
<input type="checkbox" name="forceSave" value="true" checked="checked" onClick="setChecked(this)"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true"></td>
</tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</table>
</div>
<div id="popHelpContainer"></div>
<div id="overlay"></div>
<div id="mainPageHeaderContatiner">
<div class="mainPage-input-Container">
<xsl:for-each select="//Detail1">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="period_code"><xsl:value-of select="period_code"/></xsl:variable>
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<xsl:variable name="site_descr"><xsl:value-of select="site_descr"/></xsl:variable>
<xsl:variable name="gstin"><xsl:value-of select="gstin"/></xsl:variable>
<xsl:variable name="username"><xsl:value-of select="username"/></xsl:variable>
<xsl:variable name="state_code"><xsl:value-of select="state_code"/></xsl:variable>
<xsl:variable name="state_descr"><xsl:value-of select="state_descr"/></xsl:variable>
<xsl:variable name="otp"><xsl:value-of select="otp"/></xsl:variable>
<xsl:variable name="app_key"><xsl:value-of select="app_key"/></xsl:variable>
<xsl:variable name="gross_turnover"><xsl:value-of select="gross_turnover"/></xsl:variable>
<div class="inputFormDiv">
<div class="eachLineFields">
<div class="eachField">
<div class="labelDiv">GSTIN : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$gstin}" name="Detail1.{normalize-space($dbID)}.gstin" id="Detail1.{normalize-space($dbID)}.gstin" tabIndex="-1" readOnly="true"/></div>
</div>
<div class="eachField">
<div class="labelDiv">User name : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$username}" name="Detail1.{normalize-space($dbID)}.username" id="Detail1.{normalize-space($dbID)}.username" tabIndex="-1" readOnly="true" style="width:224px;"/></div>
</div>
</div>
<div class="eachLineFields" style="width:675px;">
<div class="eachField">
<div class="labelDiv">State code : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$state_code}" name="Detail1.{normalize-space($dbID)}.state_code" id="Detail1.{normalize-space($dbID)}.state_code" tabIndex="-1" readOnly="true" style="width:40px;text-align:right;padding-right:4px;"/></div>
</div>
<div class="eachField">
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$state_descr}" name="Detail1.{normalize-space($dbID)}.state_descr" id="Detail1.{normalize-space($dbID)}.state_descr" tabIndex="-1" readOnly="true" style="width:150px;"/></div>
</div>
</div>
<div class="eachLineFields">
<div class="eachField">
<div class="labelDiv">Month<span style="color:red;">*</span> : </div>
<div class="inputDiv"><select class="input_editable" id="yearMonthInput" name="Detail1.{normalize-space($dbID)}.period_code"></select></div>
</div>
<div class="eachField" style="display:none;">
<div class="labelDiv">Site code<span style="color:red;">*</span> : </div>
<div class="inputDiv"><input type="text" class="input_editable" value="{$site_code}" name="Detail1.{normalize-space($dbID)}.site_code" id="Detail1.{normalize-space($dbID)}.site_code" tabIndex="20" style="width:60px;text-transform:uppercase;" popupFldName="SITE_CODE" onkeyup="getAutoPopupData(this);" onfocus="displayPopUpIcon('popUpIcon2');" onchange="callItemChange(this.id);" /></div>
<div class="popHelpIconDiv"><a href="javascript:getListOfValues('SITE_CODE','Detail1.{normalize-space($dbID)}.site_code','{$site_code}');" id="popUpIcon2" tabIndex="-1"><img src="/ibase/webitm/images/pophelp.png"/></a></div>
</div>
<div class="eachField" style="display:none;">
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$site_descr}" name="Detail1.{normalize-space($dbID)}.site_descr" id="Detail1.{normalize-space($dbID)}.site_descr" tabIndex="-1" readOnly="true" style="width:268px;"/></div>
</div>
</div>
<div class="eachLineFields" style="width:675px;display:none;">
<div class="eachField">
<div class="labelDiv">Returns type<span style="color:red;">*</span> : </div>
<div class="inputDiv">
<input type="text" id='Detail1.{normalize-space($dbID)}.returns_type' NAME="Detail1.{normalize-space($dbID)}.returns_type" value="GSTR3B"/>
</div>
</div>
<div class="eachField">
<div class="labelDiv" style="width:70px;">Action<span style="color:red;">*</span> : </div>
<div class="inputDiv">
<input type="text" id='Detail1.{normalize-space($dbID)}.action' NAME="Detail1.{normalize-space($dbID)}.action" value="SUBMIT"/>
</div>
</div>
</div>
<div class="eachLineFields" style="margin-top:10px;margin-left:60px">
<div class="eachField">
<div class="inputDiv"><input type="button" class="button" value="Generate OTP" title="Generate OTP" onClick="generateOTP();" tabIndex="-1" style="margin-right:0px;"/></div>
</div>
</div>
<div class="eachLineFields">
<div class="eachField" style="margin-left:12px;display:none;" id="otpInputDiv">
<div class="labelDiv" style="width:50px;float:none;">OTP<span style="color:red;">*</span> : </div>
<div class="inputDiv" style="float:none;"><input type="text" class="input_editable" name="Detail1.{normalize-space($dbID)}.otp" id="Detail1.{normalize-space($dbID)}.otp" tabIndex="60" style="width:80px;"/></div>
<div id="timerDiv" style="display: none;margin-left: 20px;font-size:13px;float:none;"> OTP Expires in <span id="timerVal">10:00</span></div>
</div>
</div>
<div class="eachLineFields" style="display:none;">
<div class="eachField">
<div class="labelDiv">App Key : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$app_key}" name="Detail1.{normalize-space($dbID)}.app_key" id="Detail1.{normalize-space($dbID)}.app_key" tabIndex="-1" style="width:400px;"/></div>
</div>
</div>
</div>
</xsl:for-each>
</div>
<div id="btnDiv">
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="gstreturn_submit" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type="submit" style="cursor:hand;margin-left:20px;" value="Next" onclick="setActionVal('next');return validateHeaderForm();" class="button" title='Next' id="next"/>
</div>
</div>
<div id="buttonreplacement">
<img src="/ibase/images/preload.gif" alt="Please wait" ></img>
<span>Please wait......</span>
</div>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<body onload="getTitlenImg('gstreturn_submit');setSummaryTotal();">
<script type="text/javascript" src="/ibase/webitm/js/GSTDataSubmitWiz.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/FixedTableHeader.js"></script>
<script language="Javascript" src="/ibase/webitm/js/jquery.datetimepicker.full.js"></script>
<script language="Javascript" src="/ibase/webitm/js/date.js"></script>
<link href="/ibase/webitm/css/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.core.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.widget.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.position.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.menu.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.autocomplete.js"></script>
<link href="/ibase/webitm/css/Galaxy/galaxy-theme.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/Standard/default.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/htmlWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/GSTDataSubmitWiz.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/jquery.datetimepicker.css" rel="stylesheet"/>
<script>
<![CDATA[
$(function()
{
var acc = document.getElementsByClassName("accordion1");
var i;
for (i = 0; i < acc.length; i++)
{
acc[i].onclick = function()
{
this.classList.toggle("active");
this.nextElementSibling.classList.toggle("show");
}
}
});
$(function()
{
var acc = document.getElementsByClassName("accordion2");
var i;
for (i = 0; i < acc.length; i++)
{
acc[i].onclick = function()
{
this.classList.toggle("activeAccor");
this.classList.toggle("active");
this.nextElementSibling.classList.toggle("show");
if(this.nextElementSibling.classList == "panel2")
{
this.classList.remove("activeAccor");
}
}
}
});
$(function()
{
var acc = document.getElementsByClassName("accordion3");
var i;
for (i = 0; i < acc.length; i++)
{
acc[i].onclick = function()
{
this.classList.toggle("active");
this.nextElementSibling.classList.toggle("show");
}
}
});
$(function()
{
var panel = document.getElementsByClassName("panel2");
for (var j = 0; j < panel.length; j++)
{
panel[j].onclick = function()
{
var acc = document.getElementsByClassName("accordion2");
for(var i=0; i<acc.length; i++)
{
acc[i].classList.remove("activeAccor");
}
this.previousElementSibling.classList.add("activeAccor");
}
}
});
$(document).on("keydown", function (e) {
if (e.which === 8 && !$(e.target).is("input, textarea, form")) {
e.preventDefault();
}
else if(e.which ===13){
e.preventDefault();
}
});
]]>
</script>
<form name="gstdataSubmitForm2" id="gstdataSubmitForm2" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<div class="contentHeaderLbl" style="position:fixed;overflow:hidden;width:100%;padding:12px; background-color:white;top:0px;">
&#160;&#160;<img onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px; height: 20px; width: 20px;" id="titleImg" />
&#160;<div id="titleText"></div>
</div><br></br><br></br>
<div id="innerDiv" style="overflow-y:hidden;overflow-x:auto;max-height:80%;width:98%;position:absolute;">
<table id="errorActivityTable" height="10%" class="tableClass" style="margin: 12px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="0" cellspacing="0" cellpadding="0">
<xsl:for-each select="//error">
<xsl:if test="position() = 1">
<tr>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" valign="bottom">
Message :
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" valign="bottom">
Description :
</td>
<td class="tdss_rightAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom" colspan="2">
<a href="#" style="text-decoration:none;" onclick="doHideMsg('errorActivityTable')"><font style="color:#000;text-decoration:none;padding-right:5px;" ><b>X</b></font></a>
</td>
</tr>
</xsl:if>
<xsl:variable name="message"><xsl:value-of select="message"/></xsl:variable>
<xsl:variable name="description"><xsl:value-of select="description"/></xsl:variable>
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domId"/></xsl:variable>
<xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable>
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
<xsl:value-of select="message"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
<xsl:value-of select="description"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" >
</td>
</tr>
<script><![CDATA[]]>formatDetailWithErr();</script>
</xsl:for-each>
<xsl:for-each select="//error">
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:if test="position() = 1">
<xsl:if test="$type = 'W'">
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
<input type="checkbox" name="forceSave" value="true" checked="checked" onClick="setChecked(this)"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true"></td>
</tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</table>
</div>
<div id="popHelpContainer"></div>
<div id="overlay"></div>
<div id="mainPageHeaderContatiner">
<div class="detailPage-input-Container">
<xsl:for-each select="//Detail2">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:if test="$dbID = '1'">
<xsl:variable name="auth_token"><xsl:value-of select="auth_token"/></xsl:variable>
<xsl:variable name="auth_sek"><xsl:value-of select="auth_sek"/></xsl:variable>
<div class="inputFormDiv" style="display:none;">
<div class="eachLineFields">
<div class="eachField">
<div class="inputDiv"><input type="checkbox" value="true" checked="checked" name="Detail2.{normalize-space($dbID)}.selectbox" id="Detail2.{normalize-space($dbID)}.selectbox" tabIndex="-1"/></div>
</div>
<div class="eachField">
<div class="labelDiv">Auth token : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$auth_token}" name="Detail2.{normalize-space($dbID)}.auth_token" id="Detail2.{normalize-space($dbID)}.auth_token" tabIndex="-1"/></div>
</div>
<div class="eachField">
<div class="labelDiv">Auth sek : </div>
<div class="inputDiv"><input type="text" class="editDisplayClass" value="{$auth_sek}" name="Detail2.{normalize-space($dbID)}.auth_sek" id="Detail2.{normalize-space($dbID)}.auth_sek" tabIndex="-1" readOnly="true" style="width:224px;"/></div>
</div>
</div>
</div>
</xsl:if>
<xsl:if test ="$dbID != '1'">
<xsl:variable name="period_code"><xsl:value-of select="period_code"/></xsl:variable>
<xsl:for-each select="pending_data">
<button class="accordion1" type="button">
<div class="iconDiv">P</div>
Pending data to save on GSTN server till date
</button>
<div class="panel1" id="pendingDataPanel">
<table class="tableClass" id="pendingDataTable">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" align="left">Document number</th>
<th nowrap="true" align="right">Date</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Amount</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="data">
<tr>
<td style="border-left:0px solid black !important;"><xsl:value-of select="doc_no"/></td>
<td align="right"><xsl:value-of select="doc_date"/></td>
<td style="border-right:0px solid black !important;" align="right"><xsl:value-of select="amount"/></td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</xsl:for-each>
<xsl:for-each select="summary_data">
<button class="accordion1" type="button" expanded="false">
<div class="iconDiv">S</div>
<div style="margin-left:40px;">
<input type="hidden" id="summaryRetPeriod" value="{$period_code}"/>
<div class="invTypDiv">Summary of documents till date saved on GSTN server for <span id="returnMonthLbl"></span></div>
</div>
</button>
<div class="panel1" style="overflow-x:auto;">
<button class="accordion2" type="button" expanded="false">
Details of Outward Supplies and Inward supplies liable to reverse charge
</button>
<div class="panel2">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" align="left">Description</th>
<th align="right">Amount</th>
<th align="right">IGST</th>
<th align="right">CGST</th>
<th align="right">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="sup_details/*">
<tr class='trClass'>
<td nowrap="true" style="border-left:0px solid black !important;">
<xsl:variable name="desc"><xsl:value-of select ="local-name()"/></xsl:variable>
<xsl:if test="$desc='osup_det'">
Outward taxable supplies
</xsl:if>
<xsl:if test="$desc='osup_zero'">
Outward nil rated supplies
</xsl:if>
<xsl:if test="$desc='osup_nil_exmp'">
Outward exempted supplies
</xsl:if>
<xsl:if test="$desc='osup_nongst'">
Outward Non-GST supplies
</xsl:if>
<xsl:if test="$desc='isup_rev'">
Inward supplies liable to reverse charge
</xsl:if>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="txval">
<xsl:value-of select="txval"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="camt">
<xsl:value-of select="camt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="samt">
<xsl:value-of select="samt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion2" type="button" expanded="false">
Details of inter-State supplies made to unregistered persons, composition taxable persons and UIN holders
</button>
<div class="panel2">
<button class="accordion3" type="button" expanded="false">
Supplies made to Unregistered Persons
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;">Place of supply</th>
<th nowrap="true" align="right">Taxable amount</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="inter_sup/unreg_details">
<tr class='trClass'>
<td nowrap="true" style="border-left:0px solid black !important;">
<xsl:value-of select ="pos"/>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="txval">
<xsl:value-of select="txval"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
Supplies made to Composition Taxable Persons
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;">Place of supply</th>
<th nowrap="true" align="right">Taxable amount</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="inter_sup/comp_details">
<tr class='trClass'>
<td nowrap="true" style="border-left:0px solid black !important;">
<xsl:value-of select ="pos"/>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="txval">
<xsl:value-of select="txval"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
Supplies made to UIN holders
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;">Place of supply</th>
<th nowrap="true" align="right">Taxable amount</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="inter_sup/uin_details">
<tr class='trClass'>
<td nowrap="true" style="border-left:0px solid black !important;">
<xsl:value-of select ="pos"/>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="txval">
<xsl:value-of select="txval"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</div>
<button class="accordion2" type="button" expanded="false">
ITC Details
</button>
<div class="panel2">
<button class="accordion3" type="button" expanded="false">
ITC Available
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;">Type</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="itc_elg/itc_avl">
<tr class='trClass'>
<td nowrap="true" style="border-left:0px solid black !important;">
<xsl:value-of select ="ty"/>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="camt">
<xsl:value-of select="camt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="samt">
<xsl:value-of select="samt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
ITC Reversed
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;">Type</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="itc_elg/itc_rev">
<tr class='trClass'>
<td nowrap="true" style="border-left:0px solid black !important;">
<xsl:value-of select ="ty"/>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="camt">
<xsl:value-of select="camt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="samt">
<xsl:value-of select="samt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
Net ITC Available
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="itc_elg/itc_net">
<tr class='trClass'>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="camt">
<xsl:value-of select="camt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="samt">
<xsl:value-of select="samt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
Ineligible ITC
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;">Type</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="itc_elg/itc_inelg">
<tr class='trClass'>
<td><xsl:value-of select="ty"/></td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="camt">
<xsl:value-of select="camt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="samt">
<xsl:value-of select="samt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</div>
<button class="accordion2" type="button" expanded="false">
Values of exempt, nil-rated and non-GST inward supplies
</button>
<div class="panel2">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;">Type</th>
<th nowrap="true" align="right">Inter supplies</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Intra supplies</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="inward_sup/isup_details">
<tr class='trClass'>
<td><xsl:value-of select="ty"/></td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="inter">
<xsl:value-of select="inter"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="intra">
<xsl:value-of select="intra"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion2" type="button" expanded="false">
Tax payment and ITC details
</button>
<div class="panel2">
<button class="accordion3" type="button" expanded="false">
Details of Tax payment
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" rowspan="2">Ledger ID</th>
<th nowrap="true" rowspan="2">Transaction Type</th>
<th nowrap="true" rowspan="2">Description</th>
<th nowrap="true" align="center" colspan="3">IGST</th>
<th nowrap="true" align="center" colspan="3">CGST</th>
<th nowrap="true" align="center" colspan="3">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="center" colspan="3">Cess</th>
</tr>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" align="right">Late fees</th>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" align="right">Late fees</th>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" align="right">Late fees</th>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Late fees</th>
<tr>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="tx_pmt/tx_py">
<tr class='trClass'>
<td><xsl:value-of select="liab_ldg_id"/></td>
<td><xsl:value-of select="trans_typ"/></td>
<td><xsl:value-of select="trans_desc"/></td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="igst/tx">
<xsl:value-of select="igst/tx"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="igst/intr">
<xsl:value-of select="igst/intr"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="igst/fee">
<xsl:value-of select="igst/fee"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cgst/tx">
<xsl:value-of select="cgst/tx"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cgst/intr">
<xsl:value-of select="cgst/intr"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cgst/fee">
<xsl:value-of select="cgst/fee"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="sgst/tx">
<xsl:value-of select="sgst/tx"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="sgst/intr">
<xsl:value-of select="sgst/intr"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="sgst/fee">
<xsl:value-of select="sgst/fee"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cess/tx">
<xsl:value-of select="igst/tx"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cess/intr">
<xsl:value-of select="igst/intr"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="cess/fee">
<xsl:value-of select="cess/fee"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
Details of Cash paid
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" rowspan="2">Ledger ID</th>
<th nowrap="true" rowspan="2">Transaction Type</th>
<th nowrap="true" align="center" colspan="3">IGST</th>
<th nowrap="true" align="center" colspan="3">CGST</th>
<th nowrap="true" align="center" colspan="3">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="center" colspan="3">Cess</th>
</tr>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" align="right">Late fees</th>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" align="right">Late fees</th>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" align="right">Late fees</th>
<th nowrap="true" align="right">Tax</th>
<th nowrap="true" align="right">Interest</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Late fees</th>
<tr>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="tx_pmt/pdcash">
<tr class='trClass'>
<td><xsl:value-of select="liab_ldg_id"/></td>
<td><xsl:value-of select="trans_typ"/></td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="ipd">
<xsl:value-of select="ipd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="i_intrpd">
<xsl:value-of select="i_intrpd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="i_lfeepd">
<xsl:value-of select="i_lfeepd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cpd">
<xsl:value-of select="cpd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="c_intrpd">
<xsl:value-of select="c_intrpd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="c_lfeepd">
<xsl:value-of select="c_lfeepd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="spd">
<xsl:value-of select="spd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="s_intrpd">
<xsl:value-of select="s_intrpd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="s_lfeepd">
<xsl:value-of select="s_lfeepd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cspd">
<xsl:value-of select="cspd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="cs_intrpd">
<xsl:value-of select="cs_intrpd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="cs_lfeepd">
<xsl:value-of select="cs_lfeepd"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
Details of ITC paid
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" rowspan="2">Ledger ID</th>
<th nowrap="true" rowspan="2">Transaction Type</th>
<th nowrap="true" align="center" colspan="3">IGST paid using</th>
<th nowrap="true" align="center" colspan="2">CGST paid using</th>
<th nowrap="true" align="center" colspan="2">SGST paid using</th>
<th nowrap="true" align="right" style="border-right:0px solid black !important;" rowspan="2">Cess</th>
</tr>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">SGST</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">IGST</th>
<th nowrap="true" align="right">SGST</th>
<tr>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="tx_pmt/pditc">
<tr class='trClass'>
<td><xsl:value-of select="liab_ldg_id"/></td>
<td><xsl:value-of select="trans_typ"/></td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="i_pdi">
<xsl:value-of select="i_pdi"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="i_pdc">
<xsl:value-of select="i_pdc"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="i_pds">
<xsl:value-of select="i_pds"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="c_pdi">
<xsl:value-of select="c_pdi"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="c_pdc">
<xsl:value-of select="c_pdc"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="s_pdi">
<xsl:value-of select="s_pdi"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="s_pds">
<xsl:value-of select="s_pds"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="cs_pdcs">
<xsl:value-of select="cs_pdcs"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</div>
<button class="accordion2" type="button" expanded="false">
Interest and Late fees payable
</button>
<div class="panel2">
<button class="accordion3" type="button" expanded="false">
Interest payable
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="intr_ltfee/intr_details">
<tr class='trClass'>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="camt">
<xsl:value-of select="camt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="samt">
<xsl:value-of select="samt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
<button class="accordion3" type="button" expanded="false">
Late fees payable
</button>
<div class="panel3">
<table class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" align="right">IGST</th>
<th nowrap="true" align="right">CGST</th>
<th nowrap="true" align="right">SGST</th>
<th nowrap="true" style="border-right:0px solid black !important;" align="right">Cess</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="intr_ltfee/ltfee_details">
<tr class='trClass'>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="iamt">
<xsl:value-of select="iamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="camt">
<xsl:value-of select="camt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign">
<xsl:choose>
<xsl:when test="samt">
<xsl:value-of select="samt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
<td class="td_rightAlign" nowrap="true" style="border-right:0px solid black !important;">
<xsl:choose>
<xsl:when test="csamt">
<xsl:value-of select="csamt"/>
</xsl:when>
<xsl:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</div>
</div>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
</div>
<div id="btnDiv">
<input type="hidden" value="2" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="gstreturn_submit" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type="submit" style="cursor:hand;margin-left:20px;" value="Finish" onclick="setActionVal('finish');return validateDetailForm();" class="button" title='Finish' id="finish"/>
</div>
</div>
<div id="buttonreplacement">
<img src="/ibase/images/preload.gif" alt="Please wait" ></img>
<span>Please wait......</span>
</div>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
......@@ -206,12 +206,12 @@
</div>
</xsl:if>
<xsl:if test ="$dbID != '1'">
<xsl:variable name="period_code"><xsl:value-of select="period_code"/></xsl:variable>
<xsl:for-each select="summary_data">
<button class="accordion1" type="button" expanded="false">
<div class="iconDiv">S</div>
<div style="margin-left:40px;">
<xsl:variable name="summaryRetPeriod"><xsl:value-of select="ret_period"/></xsl:variable>
<input type="hidden" id="summaryRetPeriod" value="{$summaryRetPeriod}"/>
<input type="hidden" id="summaryRetPeriod" value="{$period_code}"/>
<div class="invTypDiv">Summary of documents till date saved on GSTN server for <span id="returnMonthLbl"></span></div>
</div>
</button>
......
......@@ -193,6 +193,7 @@
</div>
</xsl:if>
<xsl:if test ="$dbID != '1'">
<xsl:variable name="period_code"><xsl:value-of select="period_code"/></xsl:variable>
<xsl:for-each select="pending_data">
<button class="accordion1" type="button">
<div class="iconDiv">P</div>
......@@ -223,8 +224,7 @@
<button class="accordion1" type="button" expanded="false">
<div class="iconDiv">S</div>
<div style="margin-left:40px;">
<xsl:variable name="summaryRetPeriod"><xsl:value-of select="ret_period"/></xsl:variable>
<input type="hidden" id="summaryRetPeriod" value="{$summaryRetPeriod}"/>
<input type="hidden" id="summaryRetPeriod" value="{$period_code}"/>
<div class="invTypDiv">Summary of documents till date saved on GSTN server for <span id="returnMonthLbl"></span></div>
</div>
</button>
......
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