Commit a79393be authored by wansari's avatar wansari

F17BBAS001 updated XSL for setting checkbox true for submission type


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@105948 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4407e1dd
......@@ -190,11 +190,13 @@
<xsl:variable name="soDbID"><xsl:value-of select="@domID"/></xsl:variable>
<button class="accordion accordionSO" type="button" expanded="false">
<div class="dataSummry" style = "margin-top:8px">
<SELECT id='Detail2.{$soDbID}.status' name="Detail2.{$soDbID}.status" align="LEFT" TABINDEX="170" onclick = "event.stopPropagation();" class="input_editable">
<SELECT id='Detail2.{$soDbID}.status' name="Detail2.{$soDbID}.status" align="LEFT" TABINDEX="170" onclick = "event.stopPropagation();" onchange="checkAll('{$soDbID}','{$soDbID}','{$soDbID}')" class="input_editable">
<OPTION value="X">Select</OPTION>
<OPTION value="A">Accept</OPTION>
<OPTION value="M">Modify</OPTION>
<OPTION value="D">Delete</OPTION>
<OPTION value="R">Reject</OPTION>
<OPTION value="P">Pending</OPTION>
</SELECT>
</div>
<div style="margin-left:10px;" class="dataSummry">
......@@ -228,7 +230,7 @@
</div>
</button>
<div class="panel panelSO">
<span id ="spanGSTR1_{$soDbID}" style = "display:inline-block;width:49.90%;overflow-x:scroll" onscroll="scrollGstrData('spanGSTR1_{$soDbID}','spanGSTR2_{$soDbID}')">
<span id ="spanGSTR1_{$soDbID}" style = "display:inline-block;width:49.90%;overflow-x:scroll;border-right:1px solid black" onscroll="scrollGstrData('spanGSTR1_{$soDbID}','spanGSTR2_{$soDbID}')">
<table id ="details{$soDbID}" class="tableClass">
<thead class="table-head">
<tr>
......@@ -266,63 +268,78 @@
<!--<input type="hidden" id="Detail2.{normalize-space($linedbID)}.tran_id" name="Detail2.{normalize-space($linedbID)}.tran_id" value="{$tran_id}"></input>-->
<input type="hidden" id="Detail2.{normalize-space($soDbID)}.tran_id" name="Detail2.{normalize-space($soDbID)}.tran_id" value="{$tran_id}"></input>
<tr class='trClass' id="{$linedbID}" onclick="setCheckboxRow(event,this,{$soDbID},'{$custDbID}','details{$soDbID}');">
<td nowrap="true" style="border-left:0px solid black !important;">
<!-- <Input type='checkbox' value="true" class="selectAll{$soDbID}" name="Detail2.{normalize-space($linedbID)}.selectbox" id="Detail2.{normalize-space($linedbID)}.selectbox" onclick="setCheckbox(this,'{$linedbID}','{$soDbID}','{$custDbID}','details{$soDbID}');" tabindex="-1" /> -->
<Input type='checkbox' class="selectAll{$soDbID}" name="Detail2.{normalize-space($linedbID)}.selectbox" id="Detail2.{normalize-space($linedbID)}.selectbox"
onclick = "setChecked(this,'{$linedbID}')" value="true" tabindex="-1" />
</td>
<td nowrap="true">
<xsl:value-of select="line_no"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.line_no" value="{$line_no}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="status"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.status" value="{$status}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="igst_perc"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.igst_perc" value="{$igst_perc}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="igst_amt"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.igst_amt" value="{$igst_amt}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="cgst_perc"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.cgst_perc" value="{$cgst_perc}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="cgst_amt"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.cgst_amt" value="{$cgst_amt}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="scgt_perc"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.scgt_perc" value="{$scgt_perc}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="scgt_amt"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.scgt_amt" value="{$scgt_amt}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="cess_perc"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.cess_perc" value="{$cess_perc}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="cess_amt"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.cess_amt" value="{$cess_amt}"></input> -->
</td>
</tr>
<xsl:choose>
<xsl:when test="line_no">
<tr class='trClass' id="{$linedbID}" onclick="setCheckboxRow(event,this,{$soDbID},'{$custDbID}','details{$soDbID}');">
<td nowrap="true" style="border-left:0px solid black !important;">
<!-- <Input type='checkbox' value="true" class="selectAll{$soDbID}" name="Detail2.{normalize-space($linedbID)}.selectbox" id="Detail2.{normalize-space($linedbID)}.selectbox" onclick="setCheckbox(this,'{$linedbID}','{$soDbID}','{$custDbID}','details{$soDbID}');" tabindex="-1" /> -->
<Input type='checkbox' class="selectAll{$soDbID}" name="Detail2.{normalize-space($linedbID)}.selectbox" id="Detail2.{normalize-space($linedbID)}.selectbox"
onclick = "setChecked(this,'{$linedbID}')" value="true" tabindex="-1" />
</td>
<td nowrap="true">
<xsl:value-of select="line_no"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.line_no" value="{$line_no}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="status"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.status" value="{$status}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="igst_perc"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.igst_perc" value="{$igst_perc}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="igst_amt"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.igst_amt" value="{$igst_amt}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="cgst_perc"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.cgst_perc" value="{$cgst_perc}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="cgst_amt"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.cgst_amt" value="{$cgst_amt}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="scgt_perc"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.scgt_perc" value="{$scgt_perc}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="scgt_amt"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.scgt_amt" value="{$scgt_amt}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="cess_perc"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.cess_perc" value="{$cess_perc}"></input> -->
</td>
<td nowrap="true">
<xsl:value-of select="cess_amt"/>
<!-- <input type="hidden" name="Detail2.{normalize-space($linedbID)}.cess_amt" value="{$cess_amt}"></input> -->
</td>
</tr>
</xsl:when>
<xsl:otherwise>
<tr>
<td nowrap="true" style="border-left:0px solid black !important;">
<Input type='checkbox' class="selectAll{$soDbID}" name="Detail2.{normalize-space($linedbID)}.selectbox" id="Detail2.{normalize-space($linedbID)}.selectbox"
onclick = "setChecked(this)" value="false" tabindex="-1" disabled = "true" />
</td>
<td colspan = "10">
Purchase data not found for this record
</td>
</tr>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</tbody>
</table>
</span>
<span style="display:inline-block;height:72px;border:1px solid #dadada;"></span>
<!-- <span style="display:inline-block;height:72px;border:1px solid #dadada;"></span> -->
<span id ="spanGSTR2_{$soDbID}" style = "display:inline-block;width:49.90%;overflow-x:scroll" onscroll="scrollGstrData('spanGSTR1_{$soDbID}','spanGSTR2_{$soDbID}')">
<table id ="details{$soDbID}" class="tableClass">
<table id ="details_GST{$soDbID}" class="tableClass">
<thead class="table-head">
<tr>
<th nowrap="true" style="border-left:0px solid black !important;" >
......@@ -405,7 +422,7 @@
onclick = "setChecked(this)" value="false" tabindex="-1" disabled = "true" />
</td>
<td colspan = "10">
No data found for GSTR2
Downloaded data not found for this record
</td>
</tr>
</xsl:otherwise>
......
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