Commit 80d49aef authored by asant's avatar asant

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@195426 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3e4fd2e5
......@@ -85,6 +85,7 @@
PROPOSAL
</td>
</tr>
</tbody>
</table>
......@@ -101,19 +102,13 @@
<td style="text-align: left;border: 0px;width:20%;padding-left: 3px; border-bottom: 1px solid #d9d9d9; ">
Proposal Id :
<xsl:value-of select="quot_no" />
<INPUT type="hidden" ID="quot_no"
NAME="quot_no" ISCHANGED="false"
value="{quot_no}" isReq="false" size="8"
class="tInputStyleRight" />
</td>
<td style="text-align: left;border: 0px;width:20%;padding-left: 3px;">
Proposal Date :
<xsl:value-of select="chg_date" />
</td>
</tr>
<tr>
</tr>
</tbody>
</table>
<br></br>
......@@ -122,34 +117,32 @@
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<div>Customer Details - <xsl:value-of select="cust_name" /> - (<xsl:value-of select="cust_code" />)</div>
<INPUT type="hidden" ID="cust_code"
NAME="cust_code" ISCHANGED="false"
value="{cust_code}" isReq="false" size="8"
class="tInputStyleRight" />
<INPUT type="hidden" ID="from_date"
NAME="from_date" ISCHANGED="false"
value="{from_date}" isReq="false" size="8"
class="tInputStyleRight" />
<INPUT type="hidden" ID="to_date"
NAME="to_date" ISCHANGED="false"
value="{to_date}" isReq="false" size="8"
class="tInputStyleRight" />
<table class="tableClass tbletopbrd" cellSpacing="0"
cellPadding="0" width="100%" border="0"
style="border-top: 0px solid #5fdeb2">
<tbody>
<tr>
<td style="text-align: left;border: 0px;width:20%;padding-left: 3px;">
<div>Customer Details : <xsl:value-of select="cust_name" /> - (<xsl:value-of select="cust_code" />)</div>
</td>
</tr>
</tbody>
</table>
<INPUT type="hidden" ID="cust_code"
NAME="cust_code" ISCHANGED="false"
value="{cust_code}" isReq="false" size="8"
class="tInputStyleRight" />
<INPUT type="hidden" ID="from_date"
NAME="from_date" ISCHANGED="false"
value="{from_date}" isReq="false" size="8"
class="tInputStyleRight" />
<INPUT type="hidden" ID="to_date"
NAME="to_date" ISCHANGED="false"
value="{to_date}" isReq="false" size="8"
class="tInputStyleRight" />
<br></br>
</xsl:for-each>
<div>Proposal Details</div>
......@@ -161,6 +154,7 @@
<xsl:for-each select="//Detail1">
<tr border="1">
<td class="editDisplayheaderClass" style="font-weight:bold;">Sr No</td>
<td class="editDisplayheaderClass" style="font-weight:bold;">Product Name</td>
<td class="editDisplayheaderClass" style="font-weight:bold;">Qty/Month</td>
<td class="editDisplayheaderClass" style="font-weight:bold;">Current Basic Customer Price in Rs/kg</td>
......@@ -171,13 +165,13 @@
<td class="editDisplayheaderClass" style="font-weight:bold;">Actual Cost</td>
<td class="editDisplayheaderClass" style="font-weight:bold;">Profit % </td>
<td class="editDisplayheaderClass" style="font-weight:bold;"> </td>
<td class="editDisplayheaderClass" style="display:none;"></td>
</tr>
</xsl:for-each>
<xsl:for-each select="//Detail3">
<xsl:variable name="domID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="item_descr">
<xsl:value-of select="item_descr" />
</xsl:variable>
......@@ -199,9 +193,6 @@
<xsl:variable name="profit_on_goods">
<xsl:value-of select="profit_on_goods" />
</xsl:variable>
<xsl:variable name="item_code">
<xsl:value-of select="item_code" />
</xsl:variable>
<xsl:variable name="final_price">
<xsl:value-of select="final_price" />
</xsl:variable>
......@@ -215,38 +206,47 @@
<xsl:variable name="quot_no">
<xsl:value-of select="quot_no" />
</xsl:variable>
<!-- <xsl:variable name="selected">
<xsl:value-of select="selected" />
</xsl:variable> -->
<xsl:variable name="sr_no">
<xsl:value-of select="sr_no" />
</xsl:variable>
<xsl:variable name="comm_per_unit">
<xsl:value-of select="comm_per_unit" />
</xsl:variable>
<xsl:variable name="basic_dist_price">
<xsl:value-of select="basic_dist_price" />
<xsl:value-of select="profit_on_goods" />
</xsl:variable>
<xsl:variable name="cost_rate">
<xsl:value-of select="cost_rate" />
</xsl:variable>
<xsl:variable name="profit">
<xsl:value-of select="profit" />
</xsl:variable>
<xsl:variable name="item_code">
<xsl:value-of select="item_code" />
</xsl:variable>
<xsl:variable name="final_price">
<xsl:value-of select="final_price" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass">
<!--<INPUT type="text" ID="Detail3.{normalize-space($domID)}.sr_no"
<INPUT type="hidden" ID="Detail3.{normalize-space($domID)}.sr_no"
NAME="Detail3.{normalize-space($domID)}.sr_no" ISCHANGED="false"
onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
value="{sr_no}" isReq="false" size="8" SRVCALLONCHANGE="true"
class="tInputStyleRight" />-->
class="tInputStyleRight" />
<xsl:value-of select="sr_no" />
</td>
<td class="editDisplayColumnClass">
<!--<INPUT type="text" ID="Detail3.{normalize-space($domID)}.item_descr"
<INPUT type="hidden" ID="Detail3.{normalize-space($domID)}.item_descr"
NAME="Detail3.{normalize-space($domID)}.item_descr" ISCHANGED="false"
onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
value="{item_descr}" isReq="false" size="8" SRVCALLONCHANGE="true"
class="tInputStyleRight" />-->
class="tInputStyleRight" />
<xsl:value-of select="item_descr" />
</td>
<td class="editDisplayColumnClass">
......@@ -255,13 +255,14 @@
onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
value="{$qty_per_month}" isReq="false" size="8" SRVCALLONCHANGE="true"
class="tInputStyleRight" />
</td>
<td class="editDisplayColumnClass">
<!--<INPUT type="text" ID="Detail3.{normalize-space($domID)}.rate"
<INPUT type="hidden" ID="Detail3.{normalize-space($domID)}.rate"
NAME="Detail3.{normalize-space($domID)}.rate" ISCHANGED="false"
onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
value="{rate}" isReq="false" size="8" SRVCALLONCHANGE="true"
class="tInputStyleRight" />-->
class="tInputStyleRight" />
<xsl:value-of select="rate" />
</td>
......@@ -279,6 +280,7 @@
onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
value="{$rate__new}" isReq="false" size="8" SRVCALLONCHANGE="true"
class="tInputStyleRight" />
</td>
<td class="editDisplayColumnClass" style="text-align:right;">
<INPUT type="text" ID="Detail3.{normalize-space($domID)}.comm_perc"
......@@ -287,6 +289,7 @@
maxChar(this,120)" value="{$comm_perc}" isReq="false" size="8"
SRVCALLONCHANGE="true" class="tInputStyleRight"/>
</td>
<td class="editDisplayColumnClass">
<INPUT type="text" disabled="true" ID="Detail3.{normalize-space($domID)}.basic_dist_price"
NAME="Detail3.{normalize-space($domID)}.basic_dist_price" ISCHANGED="false"
......@@ -310,6 +313,7 @@
onfocus="gotFocus(this)" onblur="gotBlur(this);maxChar(this,120)"
value="{$perc_profit}" isReq="false" size="8" SRVCALLONCHANGE="true"
class="tInputStyleRight" />
</td>
<td class="editDisplayColumnClass" style="display:none;">
<div id="__item_info__">
......@@ -318,8 +322,6 @@
<INPUT type="hidden" value="{$final_price}" id="__final_price__"/>
</div>
</td>
<td class="editDisplayColumnClass"></td>
</tr>
</xsl:for-each>
</tbody>
......@@ -327,8 +329,7 @@
</div>
<br></br>
</xsl:if>
<!-- <a href = "/ibase/jsp/TotalSummary.jsp?quot_no=$quot_no">Summary</a> -->
<a href="#" class="leftlinks" onclick="openTotalSummary()" id="2" value="2">CLICK HERE</a>
<a href="#" class="leftlinks" onclick="openTotalSummary()" id="2" value="2">Summary</a>
</form>
<form method="POST" action="/ibase/jsp/TotalSummary.jsp" id="__total_summary__" style="display:none;">
<input type='text' name='custCode'/>
......@@ -341,9 +342,7 @@
<input type='submit'/>
</form>
</body>
<!-- <script src="/ibase/E12BROWSER/js/jquery-1.11.1.min.js"></script>
<script src="/ibase/E12BROWSER/js/expandy.min.js"></script> -->
<script>
<script>
<![CDATA[
function openTotalSummary() {
var form = document.querySelector('form[id=__total_summary__]');
......
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