Commit ed594358 authored by vdhoble's avatar vdhoble

*** empty log message ***


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101172 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 01815b3d
......@@ -70,7 +70,7 @@
</div>
<div id="mainDiv" style="overflow:auto;height : 600px">
<div id="mainDiv" style="overflow:auto;height : 500px">
<div id="tranDiv">
......@@ -354,6 +354,8 @@
<td class="headerTextCol8">
<label style="margin-top:-10px;">Receipt Mode</label>
<xsl:choose>
<xsl:when test="$rcp_mode = 'Q'">
<select tabindex="10" class="headerInputField" style="height: 40px; width:250px; color:#999;" onChange="selectTypeFrSale('A')" name="Detail1.1.rcp_mode" id="Detail1.1.rcp_mode">
<option value="Q" selected="selected">Cheque</option>
<option value="D">Draft</option>
......@@ -362,6 +364,51 @@
<option value="E">Electronic</option>
</select>
</xsl:when>
<xsl:when test="$rcp_mode = 'D'">
<select tabindex="10" class="headerInputField" style="height: 40px; width:250px; color:#999;" onChange="selectTypeFrSale('A')" name="Detail1.1.rcp_mode" id="Detail1.1.rcp_mode">
<option value="Q" >Cheque</option>
<option value="D" selected="selected">Draft</option>
<option value="C">Cash</option>
<option value="P">Pay order</option>
<option value="E">Electronic</option>
</select>
</xsl:when>
<xsl:when test="$rcp_mode = 'C'">
<select tabindex="10" class="headerInputField" style="height: 40px; width:250px; color:#999;" onChange="selectTypeFrSale('A')" name="Detail1.1.rcp_mode" id="Detail1.1.rcp_mode">
<option value="Q" >Cheque</option>
<option value="D">Draft</option>
<option value="C" selected="selected">Cash</option>
<option value="P">Pay order</option>
<option value="E">Electronic</option>
</select>
</xsl:when>
<xsl:when test="$rcp_mode = 'P'">
<select tabindex="10" class="headerInputField" style="height: 40px; width:250px; color:#999;" onChange="selectTypeFrSale('A')" name="Detail1.1.rcp_mode" id="Detail1.1.rcp_mode">
<option value="Q" >Cheque</option>
<option value="D">Draft</option>
<option value="C">Cash</option>
<option value="P" selected="selected">Pay order</option>
<option value="E">Electronic</option>
</select>
</xsl:when>
<xsl:when test="$rcp_mode = 'E'">
<select tabindex="10" class="headerInputField" style="height: 40px; width:250px; color:#999;" onChange="selectTypeFrSale('A')" name="Detail1.1.rcp_mode" id="Detail1.1.rcp_mode">
<option value="Q" >Cheque</option>
<option value="D">Draft</option>
<option value="C">Cash</option>
<option value="P">Pay order</option>
<option value="E" selected="selected">Electronic</option>
</select>
</xsl:when>
</xsl:choose>
</td>
......@@ -448,6 +495,27 @@
<label style="margin-top: -45px; transform:none;">Site Code</label>
</xsl:when>
<xsl:when test="normalize-space($user_level) = '2' ">
<!-- <input type="text"
id="Detail1.{normalize-space($domIDHeader)}.site_code" name="Detail1.{normalize-space($domIDHeader)}.site_code"
value="{$site_code}" ispopup="true" readonly = "readonly"
onkeydown="return onKeyDownFun(this,event)"
isServerCallOnChange="true" onblur="return onBlurFunction(this)"
size="12" class="headerInputField" maxlength="10" onkeyup="upperCase('Detail1.{normalize-space($domIDHeader)}.site_code')"
tabindex="-1" required="true"/>
<label style="margin-top: -45px; transform:none;">Site Code</label> -->
<input type="text"
id="Detail1.{normalize-space($domIDHeader)}.site_code" name="Detail1.{normalize-space($domIDHeader)}.site_code"
value="{$site_code}" size="12" tabindex="-1" style="margin-left:10px; width:250px;"
maxlength="10" readonly="readonly"
required="true" />
<label style="margin-top: -45px; transform:none;">Site Code</label>
</xsl:when>
<xsl:otherwise>
<table><tbody><tr> <td>
......@@ -622,12 +690,12 @@
<input type="text"
id="Detail1.{normalize-space($domIDHeader)}.chq_amt" name="Detail1.{normalize-space($domIDHeader)}.chq_amt"
value="{$chq_amt}" ispopup="true"
isServerCallOnChange="true" onblur="return onBlurFunction(this),setValueToZero(this)"
isServerCallOnChange="true" onblur="return onBlurFunction(this),setValueToZero(this),setCummBal()"
size="12" class="headerInputField" style="text-align:right"
maxlength="11" tabindex="120" required="required" />
<label>Cheque Amount</label></td>
</tr>
<tr>
......@@ -659,9 +727,23 @@
size="10" class="headerInputField" tabindex="140"
style="text-align:right" maxlength="8" required="true" />
<label>Exchange Rate</label></td>
<td class="headerTextCol8"></td>
<!--******************************** START VISHAKHA****added one column for cumulative balance****** -->
<td width="23%" class="headerTextCol6">
<input type="text"
id="Detail1.{normalize-space($domIDHeader)}.cumm_bal" name="Detail1.{normalize-space($domIDHeader)}.cumm_bal"
value="" ispopup="true" required="true"
onkeydown="return onKeyDownFun(this,event)" readonly="readonly"
isServerCallOnChange="true" onblur="return onBlurFunction(this)"
size="12" class="headerInputField" maxlength="40"
tabindex="-1" />
<label style="margin-top: -45px; transform:none;">Cummulative balance</label>
</td>
<!--****************** end by vishakha ***********************************************-->
</tr>
<tr>
<tr>
......@@ -675,17 +757,58 @@
</tr>
</tbody>
</table>
<table>
<tr>
<td><div class="heading"> Adjustment Receivable</div></td> <!-- <td> <div> <table> <xsl:for-each select="//Detail2">
<xsl:variable name="cumm_bal">
<xsl:value-of select="cumm_bal"/>
</xsl:variable>
<xsl:variable name="domIDDetail">
<xsl:value-of select="@domID" />
</xsl:variable>
<tr>
<td>Cummulative Balance</td> <td width="23%" class="headerTextCol6">
<input type="text"
id="cumm_bal" name="cumm_bal"
value="{$cumm_bal}" ispopup="true" required="true"
onkeydown="return onKeyDownFun(this,event)" readonly="readonly"
isServerCallOnChange="true" onblur="return onBlurFunction(this)"
size="12" class="headerInputField" maxlength="40"
tabindex="-1" />
<div class="heading"> Adjustment Receivable</div> <!-- <table><tr><td align="right" colspan="5">
<a><img src="/ibase/webitm/images/Standard/add.png" width="18" height="18" onClick="javascript:add();" /></a>
</td>
</tr>
</table> -->
</td>
</tr></xsl:for-each>
</table> </div></td> -->
</tr>
</table>
<table class="detailsLable4 " border="0" cellspacing="0" cellpadding="0" id="detailTable" style="width:100%">
<tbody>
<tr>
<td width = "10%">Line No</td>
<!-- <td width="4%">Line No Ref</td> -->
<td align="left" width="30%">Reference Series</td>
<td align="left" width="30%">Reference Number</td>
<!-- <td width="23%" align="left">Receipt Date</td> -->
<td width="31%" align="left">Receipt Amount</td>
<td width="5%" align="left">
<a><img src="/ibase/webitm/images/Standard/add.png" width="18" height="18" onClick="javascript:callRow('rcp_amt','A');" /></a>
</td>
<!-- <td width="23%" class="headerTextCol6"><label style="margin-top: -45px; transform:none;">Cumulative Balance</label></td> -->
</tr>
<xsl:for-each select="//Detail2">
<xsl:variable name="domIDDetail">
<xsl:value-of select="@domID" />
......@@ -728,26 +851,8 @@
</xsl:variable>
<xsl:if test="normalize-space($line_no) = 1">
<tr>
<td width = "10%">Line No</td>
<!-- <td width="4%">Line No Ref</td> -->
<td align="left" width="30%">Reference Series</td>
<td align="left" width="30%">Reference Number</td>
<!-- <td width="23%" align="left">Receipt Date</td> -->
<td width="31%" align="left">Receipt Amount</td>
<td width="5%" align="left">
<a><img src="/ibase/webitm/images/Standard/add.png" width="18" height="18" onClick="javascript:callRow('rcp_amt','A');" /></a>
</td>
<td width="23%" class="headerTextCol6"><label style="margin-top: -45px; transform:none;">Cumulative Balance</label></td>
</tr>
</xsl:if>
<tr >
<input type="hidden" value="{$dbIDDetail}"
......@@ -831,8 +936,8 @@
<td align="right">
<input type="text"
id="Detail2.{normalize-space($domIDDetail)}.rcp_amt" tabindex="180"
name="Detail2.{normalize-space($domIDDetail)}.rcp_amt" onblur="return onBlurFunction(this),setValueToZero(this)"
value="{$rcp_amt}" class="headerInputField" required="true" isServerCallOnChange="true"
name="Detail2.{normalize-space($domIDDetail)}.rcp_amt" onblur="return onBlurFunction(this),setValueToZero(this),setCummBal()"
value="{$rcp_amt}" class="headerInputField" required="true" isServerCallOnChange="true" onfocus = "setCummBal()"
style="text-align:right" onkeydown="return onKeyDownFun(this,event)" />
</td>
<td align="left"><!-- javascript:callRow(this,'R'); -->
......@@ -840,21 +945,7 @@
id = "Detail2.{normalize-space($domIDDetail)}.btn" width="18" height="18" onClick="javascript:callRow(this,'R');" />
</td>
<!--******************************** START VISHAKHA****added one column for cumulative balance****** -->
<td width="23%" class="headerTextCol6">
<input type="text"
id="Detail2.{normalize-space($domIDDetail)}.cumm_bal" name="Detail2.{normalize-space($domIDDetail)}.cumm_bal"
value="{$cumm_bal}" ispopup="true" required="true"
onkeydown="return onKeyDownFun(this,event)" readonly="readonly"
isServerCallOnChange="true" onblur="return onBlurFunction(this)"
size="12" class="headerInputField" maxlength="40"
tabindex="-1" />
</td>
<!--****************** end by vishakha ***********************************************-->
</tr>
</xsl:for-each>
......
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