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