Commit 09ca60e0 authored by dpawar's avatar dpawar

added total login site code stock.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94119 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c3aa47e3
......@@ -7,6 +7,7 @@
<%@page import = "ibase.webitm.utility.GenericUtility"%>
<%@page import = "ibase.utility.CommonConstants"%>
<%@page import ="java.net.URLDecoder"%>
<%@page import="ibase.utility.UserInfoBean"%>
<jsp:useBean id="BOMStkBean" scope="session" class="ibase.webitm.ejb.mfg.adv.BOMStockBean"/>
<html>
......@@ -40,7 +41,12 @@
</head>
<body>
<style type="text/css">
.tftable {font-size:12px;color:#333344;width:100%;border-width: 1px;border-color: #E5E4E2;border-collapse: collapse;}
.tftable th {font-size:12px;background-color:#C2DFFF;border-width: 1px;padding: 8px;border-style: solid;border-color: #4863A0;text-align:left;}
.tftable tr {background-color:#F0F8FF;}
.tftable td {font-size:12px;border-width: 1px;padding: 8px;border-style: solid;border-color: #E5E4E2;}
</style>
<a style="position:absolute;top:10;left:0;height:50;width:1200;background:url(/ibase/webitm/images/title_bar_bg_blue.jpg);font-family:Verdana"></a>
<%
GenericUtility genericUtility = GenericUtility.getInstance();
......@@ -107,7 +113,11 @@
<Form name = "form2" action = "BOMStockButton.jsp" method = "POST">
<%
//added by Dadaso pawar 10/01/14 [start]
UserInfoBean userInfo = (UserInfoBean)session.getAttribute("USER_INFO");
System.out.println("User Info bom----->>>>$%$%$ [["+userInfo+"]]");
BOMStkBean.setUserInfo(userInfo);
//added by Dadaso pawar 10/01/14 [End]
String bomCode = (String) request.getParameter("bom_code") == null ? "" : request.getParameter("bom_code");
String batchQtyD = (String) request.getParameter("batch_qty") == null ? "" : request.getParameter("batch_qty");
......@@ -126,8 +136,12 @@
<br/>
<DIV ID="TableBorder" class="tableborderDiv">
<TABLE name="main" border = "1" id="main" CLASS="sort-table" STYLE="class:header_css;POSITION:relative;TOP:20;left:10;width:790" >
<TABLE name="main" border = "3" id="main" CLASS="tftable" STYLE="class:header_css;POSITION:relative;TOP:20;left:10;width:790" >
<tr><input type = "button" VALUE = "Back" onClick = "history.back();" /></tr>
<thead>
<th colspan="11">&nbsp;</th>
<th colspan="3">Login Site [<%=userInfo.getSiteCode() %>]</th>
</thead>
<thead>
<!--TH WIDTH=39><P>Stock</P></TH-->
......@@ -143,6 +157,11 @@
<TH WIDTH=75><P>Required Quantity</P></TH>
<TH WIDTH=66><P>Allocated Quantity</P></TH>
<!--TH WIDTH=56><P>Quantity</P></TH-->
//added by Dadaso pawar 10/01/14
<TH WIDTH=97><P>Stock Usable Quantity</P></TH>
<TH WIDTH=126><P>Stock NonUsable Quantity</P></TH>
<TH WIDTH=66><P>Allocated Quantity</P></TH>
</thead>
......@@ -165,6 +184,10 @@
<td align = "right"><font size="-1"><%=((BOMStkBean.nonStkQty == 0) ? "0.000" :df.format(BOMStkBean.nonStkQty))%></font></td>
<td align = "right"><font size="-1"><%=((BOMStkBean.reqQty == 0) ? "0.000" :df.format(BOMStkBean.reqQty))%></font></td>
<td align = "right"><font size="-1"><%=((BOMStkBean.allockQty == 0) ? "0.000" :df.format(BOMStkBean.allockQty))%></font></td>
//added by Dadaso pawar 10/01/14
<td align = "right"><font size="-1"><%=((BOMStkBean.stkQty == 0) ? "0.000" :df.format(BOMStkBean.stkQtyL))%></font></td>
<td align = "right"><font size="-1"><%=((BOMStkBean.nonStkQty == 0) ? "0.000" :df.format(BOMStkBean.nonStkQtyL))%></font></td>
<td align = "right"><font size="-1"><%=((BOMStkBean.allockQty == 0) ? "0.000" :df.format(BOMStkBean.allockQtyL))%></font></td>
</tr>
<%
......
......@@ -6,6 +6,7 @@
<%@page import = "java.text.DecimalFormat"%>
<%@page import = "ibase.webitm.utility.GenericUtility"%>
<%@page import ="java.net.URLDecoder"%>
<%@page import="ibase.utility.UserInfoBean"%>
<jsp:useBean id="WoStkBean" scope="session" class="ibase.webitm.ejb.mfg.adv.WoStockBean"/>
<html>
......@@ -38,7 +39,12 @@
</head>
<body>
<style type="text/css">
.tftable {font-size:12px;color:#333344;width:100%;border-width: 1px;border-color: #E5E4E2;border-collapse: collapse;}
.tftable th {font-size:12px;background-color:#C2DFFF;border-width: 1px;padding: 8px;border-style: solid;border-color: #4863A0;text-align:left;}
.tftable tr {background-color:#F0F8FF;}
.tftable td {font-size:12px;border-width: 1px;padding: 8px;border-style: solid;border-color: #E5E4E2;}
</style>
<a style="position:absolute;top:10;left:0;height:50;width:1200;background:url(/ibase/webitm/images/title_bar_bg_blue.jpg);font-family:Verdana"></a>
<%
GenericUtility genericUtility = GenericUtility.getInstance();
......@@ -97,6 +103,11 @@
<Form name = "form2" action = "WoStockButton.jsp" method = "POST">
<body>
<%
//added by Dadaso pawar [10/01/14] [Start]
UserInfoBean userInfo = (UserInfoBean)session.getAttribute("USER_INFO");
System.out.println("User Info----->>>>$%$%$ [["+userInfo+"]]");
WoStkBean.setUserInfo(userInfo);
//added by Dadaso pawar [10/01/14] [End]
String workOrder = request.getParameter("work_order");
WoStkBean.setWorkOrder( workOrder.toUpperCase() );
......@@ -106,8 +117,16 @@
%>
<br/>
<DIV ID="TableBorder" class="tableborderDiv">
<TABLE name="main" border = "1" id="main" CLASS="sort-table" STYLE="class:header_css;POSITION:relative;TOP:20;left:10;width:790" >
<TABLE name="main" border = "1" id="main" CLASS="tftable" STYLE="class:header_css;POSITION:relative;TOP:20;left:10;width:790" >
<tr><input type = "button" VALUE = "Back" onClick = "history.back();" /></tr>
<thead>
<th colspan="7">&nbsp;</th>
<th colspan="3">Login Site [<%=userInfo.getSiteCode() %>]</th>
</thead>
<thead>
<TH WIDTH=66><P>Work Order</P></TH>
......@@ -118,6 +137,12 @@
<TH WIDTH=126><P>Stock NonUsable Quantity</P></TH>
<TH WIDTH=66><P>Allocated Quantity</P></TH>
<TH WIDTH=97><P>Stock Usable Quantity</P></TH>
<TH WIDTH=126><P>Stock NonUsable Quantity</P></TH>
<TH WIDTH=66><P>Allocated Quantity</P></TH>
</thead>
<%
......@@ -137,6 +162,11 @@
<td align = "right"><font size="-1"><%=df.format(WoStkBean.stkQty)%></font></td>
<td align = "right"><font size="-1"><%=df.format(WoStkBean.nonStkQty)%></font></td>
<td align = "right"><font size="-1"><%= WoStkBean.allockQty %></font></td>
<!-- added by Dadaso pawar 10/01/14 -->
<td align = "right"><font size="-1"><%= WoStkBean.stkQtyL %></font></td>
<td align = "right"><font size="-1"><%= WoStkBean.nonStkQtyL %></font></td>
<td align = "right"><font size="-1"><%= WoStkBean.allockQtyL %></font></td>
</tr>
<%
}
......
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