Commit b1e46c6e authored by kdabholkar's avatar kdabholkar

F17ABAS001 commited for addition of gstRegForm2 xsl and chnages in gst_rgno1 xsl


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@106123 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 99cfbca7
......@@ -8,6 +8,7 @@
<html>
<body onload="formatDate();">
<script type="text/javascript" src="/ibase/webitm/js/gstRegNoWiz1.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/gstRegNoWiz.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>
......@@ -201,11 +202,24 @@
</xsl:for-each>
</div>
<div id="btnDiv">
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<!-- <input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="gst_regno" name="OBJ_NAME" />
<input type="hidden" value="finish" name="action" id="action" />
<input type="submit" style="margin-left:2px;" value="Finish" class="button" title="finish" id="finish" onclick="" />
<input type="submit" style="margin-left:2px;" value="Finish" class="button" title="finish" id="finish" onclick="" />-->
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="gst_regno" name="OBJ_NAME" id="OBJ_NAME"/>
<input type="hidden" value="next" name="action" id="action" />
<input type="submit" style="cursor:hand" value="Next" class="button" title='Next' id="next" onclick="displayWaitImg();" />
</div>
<div id="buttonreplacement">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" ></img>
<span>Please wait......</span>
<div id="overlay"></div>
</div>
</div>
</form>
</body>
......
<?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>
<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"/>
<script type="text/javascript" src="/ibase/webitm/js/gstRegNoWiz1.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/gstRegNoWiz2.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/gstRegNoWiz.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>
<style>
</style>
<form name="gstRegForm2" id="gstRegForm2" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<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);" nowrap="true" valign="bottom">
Message :
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" 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);" nowrap="true">
<xsl:value-of select="message"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="description"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
</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 = "popHelpIcon" style = "display:none">
<a href="javascript:getListOfValues('gstin','Detail1.1.gstin','TA821');" id="popUpIcon2" tabIndex="-1">
<img src="/ibase/webitm/images/pophelp.png" style = "margin-bottom:-5px" />
</a>
</div>
<div id="popHelpContainer"></div>
<div id="overlay"></div>
<div id="mainPageHeaderContatiner">
<div id="mainPage2-input-Container">
<xsl:for-each select="//Detail2">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:if test="$dbID = '0'">
<xsl:variable name="login_site_code"><xsl:value-of select="login_site_code"/></xsl:variable>
<input type="hidden" value="{$login_site_code}" name="Detail2.{normalize-space($dbID)}.login_site_code" id="login_site_code" />
</xsl:if>
</xsl:for-each>
<table id ="details" class="tableClass" cellspacing="0" cellpadding="0" border="0">
<thead class="table-user">
<tr>
<th class="tHeader" nowrap="true" style="display:none;"> </th>
<th class="tHeader" nowrap="true">User Id</th>
<th class="tHeader" nowrap="true">Sign Method</th>
<th class="tHeader" nowrap="true">Document Type</th>
<th class="tHeader" nowrap="true">Service Provider</th>
<th class="tHeader" nowrap="true">Service URI</th>
<th class="tHeader" nowrap="true">Client ID</th>
<th class="tHeader" nowrap="true">Client Secret</th>
<th class="tHeader" nowrap="true"></th>
</tr>
</thead>
<tbody>
<xsl:for-each select="//Detail2">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="user_id"><xsl:value-of select="user_id"/></xsl:variable>
<xsl:variable name="service_provider"><xsl:value-of select="service_provider"/></xsl:variable>
<xsl:variable name="service_uri"><xsl:value-of select="service_uri"/></xsl:variable>
<xsl:variable name="client_id"><xsl:value-of select="client_id"/></xsl:variable>
<xsl:variable name="client_secret"><xsl:value-of select="client_secret"/></xsl:variable>
<xsl:variable name="doc_type"><xsl:value-of select="doc_type"/></xsl:variable>
<xsl:variable name="sign_method"><xsl:value-of select="sign_method"/></xsl:variable>
<xsl:variable name="edit_flag"><xsl:value-of select="edit_flag"/></xsl:variable>
<xsl:if test ="$dbID != '0'">
<tr class='trClass' id="userRow{$dbID}" >
<td nowrap="true" style="border-left:0px solid black !important; display:none;" >
<Input type='checkbox' value="true" name="Detail2.{normalize-space($dbID)}.selectbox" id="Detail2.{normalize-space($dbID)}.selectbox"
checked="checked" tabindex="-1" onclick="setChecked('{$dbID}')"/>
</td>
<td nowrap="true" style="background :rgba(166, 166, 166, 0.1); width:100px;">
<div style="width:100%">
<div style = "float:left;width:100%">
<input type="text" value = "{$user_id}" name="Detail2.{$dbID}.user_id" id="Detail2.{$dbID}.user_id" class="editDisplayClass"
ISCHANGED="false" readOnly = "1" style="width:100%"></input>
</div>
<div>
<!-- <a href="javascript:getListOfValues('user_id','Detail2.{$dbID}.user_id');" id='popUpIcon2' tabIndex='-1'>
<img src='/ibase/webitm/images/pophelp.png'></img>
</a> -->
</div>
</div>
</td>
<td nowrap="true" style="background :rgba(166, 166, 166, 0.1); width:45px;">
<!-- <input type="text" value = "{$sign_method}" name="Detail2.{normalize-space($dbID)}.sign_method" id="Detail2.{normalize-space($dbID)}.sign_method" style="border: none; outline: none;"></input> -->
<!-- <SELECT class="input_editable" onclick="return false;" id="Detail2.{normalize-space($dbID)}.sign_method" name="Detail2.{normalize-space($dbID)}.sign_method" style = "border: none; outline: none;width:100% ; background :transparent" tabindex="-1" >
<OPTION value="D"><xsl:choose><xsl:when test="$sign_method='D'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[D-SC]]></OPTION>
<OPTION value="E"><xsl:choose><xsl:when test="$sign_method='E'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[E-SIGN]]></OPTION>
</SELECT> -->
<div style ="width:88%">
<div style = "float:left;width:88%">
<input type="hidden" value = "{$sign_method}" name="Detail2.{$dbID}.sign_method" id="Detail2.{$dbID}.sign_method" class="editDisplayClass"
ISCHANGED="false" readOnly = "1"></input>
<xsl:if test="$sign_method='E'">
<input type="text" value = "E-SIGN" class="editDisplayClass"
ISCHANGED="false" readOnly = "1" style="width:70%;"></input>
</xsl:if>
<xsl:if test="$sign_method='D'">
<input type="text" value = "DSC" class="editDisplayClass"
ISCHANGED="false" readOnly = "1" style="width:70%;"></input>
</xsl:if>
</div>
</div>
</td>
<td nowrap="true" style="background :rgba(160, 160, 160, 0.1); width:60px;">
<!-- <input type="text" value = "{$doc_type}" name="Detail2.{normalize-space($dbID)}.doc_type" id="Detail2.{normalize-space($dbID)}.doc_type" style="border: none; outline: none;"></input> -->
<!-- <SELECT class="input_editable" onchange="javascript: return false;" id="Detail2.{normalize-space($dbID)}.doc_type" name="Detail2.{normalize-space($dbID)}.doc_type" style = "border: none; outline: none;width:100% ; background :transparent" tabindex="-1" >
<OPTION value="GSTR1"><xsl:choose><xsl:when test="$doc_type='GSTR1'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[GSTR1]]></OPTION>
<OPTION value="GSTR2"><xsl:choose><xsl:when test="$doc_type='GSTR2'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[GSTR2]]></OPTION>
<OPTION value="GSTR3"><xsl:choose><xsl:when test="$doc_type='GSTR3'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[GSTR3]]></OPTION>
<OPTION value="FORM16"><xsl:choose><xsl:when test="$doc_type='FOM16'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[FORM16]]></OPTION>
</SELECT> -->
<div style="width:60%;">
<div style = "float:left;width:60%">
<input type="text" value = "{$doc_type}" name="Detail2.{$dbID}.doc_type" id="Detail2.{$dbID}.doc_type" class="editDisplayClass"
ISCHANGED="false" readOnly = "1" style="width:60px;"></input>
</div>
</div>
</td>
<td nowrap="true" style="width:100px;">
<input type="text" value = "{$service_provider}" name="Detail2.{normalize-space($dbID)}.service_provider" id="Detail2.{normalize-space($dbID)}.service_provider" style="border: none; outline: none; width:100%;" ></input>
</td>
<td nowrap="true" style="width:250px;">
<input type="text" value = "{$service_uri}" name="Detail2.{normalize-space($dbID)}.service_uri" id="Detail2.{normalize-space($dbID)}.service_uri" style="border: none; outline: none; width:103%; font-weight:normal;"></input>
</td>
<td nowrap="true" style="width:270px;">
<input type="text" value = "{$client_id}" name="Detail2.{normalize-space($dbID)}.client_id" id="Detail2.{normalize-space($dbID)}.client_id" style="border: none; outline: none; width:104%;"></input>
</td>
<td nowrap="true" style="width:270px;">
<input type="text" value = "{$client_secret}" name="Detail2.{normalize-space($dbID)}.client_secret" id="Detail2.{normalize-space($dbID)}.client_secret" style="border: none; outline: none; width:104%;"></input>
</td>
<td>
<span title="Delete" style="display: block;" currdomid="1" class="deleteDetailBtn" onclick="javascript:deleteRow({normalize-space($dbID)})" >
<p class="remove" title="Delete">
<img src="/ibase/webitm/images/remove.png" height = '16' width = '16' class="removeImg"></img>
</p>
</span>
</td>
<!-- <input type="hidden" name="Detail2.{normalize-space($dbID)}.user_id" id="Detail2.{normalize-space($dbID)}.user_id" value="{$user_id}"></input>
<input type="hidden" name="Detail2.{normalize-space($dbID)}.sign_method" id="Detail2.{normalize-space($dbID)}.sign_method" value="{$sign_method}"></input>
<input type="hidden" name="Detail2.{normalize-space($dbID)}.service_provider" id="Detail2.{normalize-space($dbID)}.service_provider" value="{$service_provider}"></input>
<input type="hidden" name="Detail2.{normalize-space($dbID)}.service_uri" id="Detail2.{normalize-space($dbID)}.service_uri" value="{$service_uri}"></input>
<input type="hidden" name="Detail2.{normalize-space($dbID)}.client_id" id="Detail2.{normalize-space($dbID)}.client_id" value="{$client_id}"></input>
<input type="hidden" name="Detail2.{normalize-space($dbID)}.client_secret" id="Detail2.{normalize-space($dbID)}.client_secret" value="{$client_secret}"></input>
input type="hidden" name="Detail2.{normalize-space($dbID)}.doc_type" id="Detail2.{normalize-space($dbID)}.doc_type" value="{$doc_type}"></input>-->
<input type="hidden" name="Detail2.{normalize-space($dbID)}.edit_flag" id="Detail2.{normalize-space($dbID)}.edit_flag" value="{$edit_flag}"></input>
</tr>
</xsl:if>
</xsl:for-each>
</tbody>
</table>
</div>
<div id="btnDiv">
<input type="hidden" value="2" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="gst_regno" name="OBJ_NAME" />
<input type="hidden" value="finish" name="action" id="action" />
<input type="submit" style="margin-left:2px;" value="Finish" class="button" title="finish" id="finish" onclick="displayWaitImg();return validateSubmitdata();" />
<!-- <input type="button"; style="margin-right:60px;" value="Add" class="button" title='add' id="add" onclick= "addRow('details')"/> -->
<span title="Add New" class="addNewDetailBtn" id="AddButton" name="AddButton" onclick="addRow('details');addDelButton()" >
<p class="plus">+</p>
</span>
</div>
<div id="buttonreplacement">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" ></img>
<span>Please wait......</span>
<div id="overlay"></div>
</div>
</div>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
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