Commit bcad8006 authored by jshaikh's avatar jshaikh

updated with some important information to be displayed

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@171366 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a7fd99ed
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:NonHtml="http://www.progress.com/StylusStudio/NonHtml" exclude-result-prefixes="NonHtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/> <xsl:template match="/">
<xsl:template match="/"> <html>
<html> <head>
<head> <link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<SCRIPT language="Javascript" type="text/javascript" src="/ibase/scheduler/js/date-picker.js"></SCRIPT> <link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<SCRIPT language="Javascript" type="text/javascript" src="/ibase/webitm/js/ValidateDate.js"></SCRIPT> <link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<!-- <SCRIPT language="Javascript" type="text/javascript" src="/ibase/webitm/js/StatelessItemChange.js"></SCRIPT> --> <link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>
<script language="JavaScript" type="text/javascript">
var objCur = "";
var oldVal = "";
var obj1 = ""; <style type="text/css">
var preObj;
function gotFocus(column) .tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
{ /*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
if(preObj != undefined) solid #d9d9d9;}
{ .tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
if(document.getElementById(preObj.name+"__img") != undefined) #d9d9d9; font-size:14px;}
{ .tbletopbrd{border-top:2px solid #5fdeb2;}
if(document.getElementById(preObj.name+"__img").style.visibility=="visible") .date {
document.getElementById(preObj.name+"__img").style.visibility="hidden"; color: #9d9ca2;
} font-size: 11px;
} font-weight: normal;
if(column.SRVCALLONCHANGE=="true") }
{
document.getElementById(column.name+"__img").style.visibility="visible"; </style>
} </head>
objCur=column.name;
oldVal=column.value;
dotNotaion = undefined;
}
/*function gotBlur(obj)
{
preObj = obj;
if((oldVal != obj.value) || (obj.ISCHANGED == "true"))
{
obj.ISCHANGED = "true";
var isSRVCALLONCHANGE = obj.SRVCALLONCHANGE;
if(isSRVCALLONCHANGE == 'undefined' || isSRVCALLONCHANGE == null) {
isSRVCALLONCHANGE = obj.getAttribute("SRVCALLONCHANGE");
}
if( isSRVCALLONCHANGE == "true" )
{
itemChange( obj );
setDataValue( obj );
}
}
}*/
function assignValue(value1)
{
obj1.value=value1;
gotBlur(obj1);
}
function handleMandatory(obj)
{
if(obj.name.indexOf("quantity") != -1)
{
alert("Please Specifiy Quantity.");
return false;
}
obj.focus();
return false;
}
function maxChar(obj,len)
{
if(obj.value.length > len)
{
obj.focus();
alert("Enter up to "+len+" Characters only");
return false;
}
}
function callDisableField()
{
if(signStatus != null)
{
signStatus = signStatus.trim();
}
if(signStatus != "U")
{
disableInputFld();
}
}
function disableInputFld()
{
var elemArr = document.forms[0].elements;
for (var i=0; i&lt;elemArr.length; i++) <body>
{ <INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='indent_req'/>
var curObj = elemArr[i]; <INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
curObj.disabled = "true"; <INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
curObj.POPUPEXISTS = false; <INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
if( curObj.style.TYPE == "datetime" )
{ <xsl:for-each select="//Detail1">
curObj.style.TYPE = ""; <xsl:variable name="dbID">
} <xsl:value-of select="@dbID" />
if ( curObj.readOnly == true ) </xsl:variable>
{ <xsl:variable name="wf_status">
curObj.POPUPEXISTS = false; <xsl:value-of select="wf_status" />
if( curObj.style.TYPE == "datetime" ) </xsl:variable>
{ <xsl:variable name="ind_no">
curObj.style.TYPE = ""; <xsl:value-of select="ind_no" />
} </xsl:variable>
} <xsl:variable name="ind_date">
if ( curObj.elementType == "text" ) <xsl:value-of select="ind_date" />
{ </xsl:variable>
curObj.style.display = ""; <xsl:variable name="ind_type">
} <xsl:value-of select="ind_type" />
} </xsl:variable>
} <xsl:variable name="site_code__ori">
</script> <xsl:value-of select="site_code__ori" />
<LINK type="text/css" rel="stylesheet" href="/ibase/css/workflowsign.css" /> </xsl:variable>
</head> <xsl:variable name="dept_code">
<body> <xsl:value-of select="dept_code" />
</xsl:variable>
<xsl:variable name="emp_code__req">
<xsl:value-of select="emp_code__req" />
</xsl:variable>
<xsl:variable name="proj_code">
<xsl:value-of select="proj_code" />
</xsl:variable>
<xsl:variable name="item_ser">
<xsl:value-of select="item_ser" />
</xsl:variable>
<xsl:variable name="work_order">
<xsl:value-of select="work_order" />
</xsl:variable>
<xsl:variable name="remarks">
<xsl:value-of select="remarks" />
</xsl:variable>
<input type="hidden" value="indent_req" name="OBJ_NAME" id="OBJ_NAME" /> <TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<input type="hidden" value="2" name="PAGE_CONTEXT" id="PAGE_CONTEXT" /> <tr>
<input type="hidden" value="1" name="OBJ_CONTEXT" id="OBJ_CONTEXT" /> <td colspan="3" >
<form name="IndentRequisite"> <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<table cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr>
<tbody> <td class="tLabelDataD3" width="50%" style="text-align:left;" >
<tr> <font size="2">
<td colSpan="4" class="editDisplayColumnClass"> Reference :
<font size="4"> <b><xsl:value-of select="ref_no" /></b>
Indent Requisition
</font> </font>
</td>
</tr> </td>
</tbody> <td NOWRAP="TRUE" class="tLabelDataD3" width="50%" style="text-align:right;">
</table> <font size="2">
Date :
<b><xsl:value-of select="ind_date" /></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" NOWRAP = "TRUE" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
Indent :
<b><xsl:value-of select="ind_no" /></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="2">
<b><xsl:value-of select="ind_date"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Site :
<b><xsl:value-of select="site_descr" />&#160;
(<xsl:value-of select="site_code__ori" />)</b>
</font>
</td>
<td NOWRAP="TRUE" class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series : <b><xsl:value-of select="item_ser" /></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<br/>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1">Required by : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select="employee_emp_fname"/>&#160;
<xsl:value-of select="employee_emp_lname"/>&#160;
(<xsl:value-of select="emp_code__req"/>)
</td>
</tr>
<tr>
<td class="cellttl1">Delivery to : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select="site_code__del"/>
</td>
</tr>
<tr>
<td class="cellttl1">Bill to : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select="site_code__bil"/>
</td>
</tr>
<tr>
<td class="cellttl1">Project : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select="proj_code" />
</td>
</tr>
<tr>
<td class="cellttl1">Department : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select="department_descr" />&#160;
(<xsl:value-of select="dept_code" />)
</td>
</tr>
<!--<tr>
<td class="cellttl1">Minimum batch quantity : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select= "min_batch_qty"/>
</td>
</tr>
<tr>
<td class="cellttl1">Maximum batch quantity : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select= "max_batch_qty"/>
</td>
</tr>-->
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/><br/>
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<xsl:for-each select="//Detail1">
<tr border="1">
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Sr no</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Item</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Unit</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Quantity</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Approximate rate</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Maximum rate</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Last purchase rate</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Required date</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Expected cons date</font>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//Detail2">
<xsl:sort select="item_code" />
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="line_no">
<xsl:value-of select="line_no" />
</xsl:variable>
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/>
</font>
</td>
<xsl:for-each select="//Detail1"> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<!--<xsl:variable name="quantity"><xsl:value-of select="quantity"/></xsl:variable> <font face="Times New Roman" size="2">
<xsl:variable name="quantity__stduom"><xsl:value-of select="quantity__stduom"/></xsl:variable>--> <xsl:for-each select="//Detail2">
<xsl:variable name="dbID"><xsl:value-of select="@dbID"/></xsl:variable> <xsl:value-of select="item_descr" />&#160;
<TABLE BORDER="0" align="center" width="100%"> (<xsl:value-of select="item_code" />)
<TR> </xsl:for-each>
<td width="18%" class="tLabel1">Indent No: </td> </font>
<td width="12%"><div class="tdLeft" style="width: 120px;"><xsl:value-of select="ind_no" /></div></td> </td>
<td colspan="2"></td>
<td width="12%" class="tLabel1">Indent Date: </td> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<td width="18%"><div class="tdLeft" style="width: 120px;"><xsl:value-of select="ind_date" /></div></td> <font face="Times New Roman" size="2">
</TR> <xsl:for-each select="//Detail2">
<TR> <xsl:value-of select="unit" />
<td width="18%" class="tLabel1">Site: </td> </xsl:for-each>
<td width="12%"><div class="tdLeft" style="width: 120px;"><xsl:value-of select="site_code__ori" /></div></td> </font>
<td colspan="4"><div class="tdLeft" style="width: 420px;"><xsl:value-of select="site_code__descr" /></div></td> </td>
</TR> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<TR> <font face="Times New Roman" size="2">
<td width="18%" class="tLabel1">Item Series </td> <xsl:for-each select="//Detail2">
<td width="12%"><div class="tdLeft" style="width: 120px;"><xsl:value-of select="item_ser" /></div></td> <xsl:value-of select="quantity" />
</xsl:for-each>
</TR> </font>
<!--<TR> </td>
<td width="18%" class="tLabel1">Original Quantity: </td> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<td width="12%"><div class="tdRight" style="width: 120px;"><xsl:value-of select="quantity_ori" /></div></td> <font face="Times New Roman" size="2">
<td width="18%" class="tLabel1">Quantity Required: </td> <xsl:for-each select="//Detail2">
<td width="12%"><div class="tdRight" style="width: 120px;"><xsl:value-of select="quantity" /></div></td> <xsl:value-of select="purc_rate" />
<td width="12%" class="tLabel1">Quantity Std: </td> </xsl:for-each>
<td width="18%"><div class="tdRight" style="width: 120px;"><xsl:value-of select="quantity__stduom" /></div></td> </font>
</TR>--> </td>
<TR> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<td width="18%" class="tLabel1">Unit: </td> <font face="Times New Roman" size="2">
<td width="12%"><div class="tdLeft" style="width: 120px;"><xsl:value-of select="site_code__bil" /></div></td> <xsl:for-each select="//Detail2">
<td width="18%" class="tLabel1">Project: </td> <xsl:value-of select="max_rate" />
<td colspan="3" class="tdLeft"><div class="tdLeft" style="width: 120px;"><xsl:value-of select="proj_code" /></div></td> </xsl:for-each>
</TR> </font>
</TABLE> </td>
</xsl:for-each> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
</form> <font face="Times New Roman" size="2">
</body> <xsl:for-each select="//Detail2">
</html> <xsl:value-of select="last_pur_rate" />
</xsl:template> </xsl:for-each>
</xsl:stylesheet> </font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="req_date" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="exp_cons_date" />
</xsl:for-each>
</font>
</td>
</tr>
<!--<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font>
</td>-->
</xsl:for-each>
</tbody>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:NonHtml="http://www.progress.com/StylusStudio/NonHtml" exclude-result-prefixes="NonHtml"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/> <xsl:template match="/">
<xsl:template match="/"> <html>
<html> <head>
<head> <link type="text/css" rel="stylesheet" href="css/workflowsign.css"></link>
<SCRIPT language="Javascript" type="text/javascript" src="/ibase/scheduler/js/date-picker.js"></SCRIPT> <link type="text/css" rel="stylesheet" href="css/expandy.css"></link>
<SCRIPT language="Javascript" type="text/javascript" src="/ibase/webitm/js/ValidateDate.js"></SCRIPT> <link type="text/css" rel="stylesheet" href="css/fonts.css"/>
<!-- <SCRIPT language="Javascript" type="text/javascript" src="/ibase/webitm/js/StatelessItemChange.js"></SCRIPT> --> <link type="text/css" rel="stylesheet" href="css/hr_portal1.css"></link>
<script language="JavaScript" type="text/javascript">
var objCur = "";
var oldVal = "";
var obj1 = ""; <style type="text/css">
var preObj;
function gotFocus(column) .tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
{ /*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
if(preObj != undefined) solid #d9d9d9;}
{ .tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
if(document.getElementById(preObj.name+"__img") != undefined) #d9d9d9; font-size:14px;}
{ .tbletopbrd{border-top:2px solid #5fdeb2;}
if(document.getElementById(preObj.name+"__img").style.visibility=="visible") .date {
document.getElementById(preObj.name+"__img").style.visibility="hidden"; color: #9d9ca2;
} font-size: 11px;
} font-weight: normal;
if(column.SRVCALLONCHANGE=="true") }
{
document.getElementById(column.name+"__img").style.visibility="visible"; </style>
} </head>
objCur=column.name;
oldVal=column.value;
dotNotaion = undefined;
}
/*function gotBlur(obj)
{
preObj = obj;
if((oldVal != obj.value) || (obj.ISCHANGED == "true"))
{
obj.ISCHANGED = "true";
var isSRVCALLONCHANGE = obj.SRVCALLONCHANGE;
if(isSRVCALLONCHANGE == 'undefined' || isSRVCALLONCHANGE == null) {
isSRVCALLONCHANGE = obj.getAttribute("SRVCALLONCHANGE");
}
if( isSRVCALLONCHANGE == "true" )
{
itemChange( obj );
setDataValue( obj );
}
}
}*/
function assignValue(value1)
{
obj1.value=value1;
gotBlur(obj1);
}
function handleMandatory(obj)
{
if(obj.name.indexOf("quantity") != -1)
{
alert("Please Specifiy Quantity.");
return false;
}
obj.focus();
return false;
}
function maxChar(obj,len)
{
if(obj.value.length > len)
{
obj.focus();
alert("Enter up to "+len+" Characters only");
return false;
}
}
function callDisableField()
{
if(signStatus != null)
{
signStatus = signStatus.trim();
}
if(signStatus != "U")
{
disableInputFld();
}
}
function disableInputFld()
{
var elemArr = document.forms[0].elements;
for (var i=0; i&lt;elemArr.length; i++) <body>
{ <INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='indent_req'/>
var curObj = elemArr[i]; <INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
curObj.disabled = "true"; <INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
curObj.POPUPEXISTS = false; <INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
if( curObj.style.TYPE == "datetime" )
{ <xsl:for-each select="//Detail1">
curObj.style.TYPE = ""; <xsl:variable name="dbID">
} <xsl:value-of select="@dbID" />
if ( curObj.readOnly == true ) </xsl:variable>
{ <xsl:variable name="wf_status">
curObj.POPUPEXISTS = false; <xsl:value-of select="wf_status" />
if( curObj.style.TYPE == "datetime" ) </xsl:variable>
{ <xsl:variable name="ind_no">
curObj.style.TYPE = ""; <xsl:value-of select="ind_no" />
} </xsl:variable>
} <xsl:variable name="ind_date">
if ( curObj.elementType == "text" ) <xsl:value-of select="ind_date" />
{ </xsl:variable>
curObj.style.display = ""; <xsl:variable name="ind_type">
} <xsl:value-of select="ind_type" />
} </xsl:variable>
} <xsl:variable name="site_code__ori">
</script> <xsl:value-of select="site_code__ori" />
<LINK type="text/css" rel="stylesheet" href="/ibase/css/workflowsign.css" /> </xsl:variable>
</head> <xsl:variable name="dept_code">
<body> <xsl:value-of select="dept_code" />
</xsl:variable>
<xsl:variable name="emp_code__req">
<xsl:value-of select="emp_code__req" />
</xsl:variable>
<xsl:variable name="proj_code">
<xsl:value-of select="proj_code" />
</xsl:variable>
<xsl:variable name="item_ser">
<xsl:value-of select="item_ser" />
</xsl:variable>
<xsl:variable name="work_order">
<xsl:value-of select="work_order" />
</xsl:variable>
<xsl:variable name="remarks">
<xsl:value-of select="remarks" />
</xsl:variable>
<input type="hidden" value="indent_req" name="OBJ_NAME" id="OBJ_NAME" /> <TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<input type="hidden" value="2" name="PAGE_CONTEXT" id="PAGE_CONTEXT" /> <tr>
<input type="hidden" value="1" name="OBJ_CONTEXT" id="OBJ_CONTEXT" /> <td colspan="3" >
<form name="IndentRequisite"> <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<table cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr>
<tbody> <td class="tLabelDataD3" width="50%" style="text-align:left;" >
<tr> <font size="2">
<td colSpan="4" class="editDisplayColumnClass"> Reference :
<font size="4"> <b><xsl:value-of select="ref_no" /></b>
Indent Requisition
</font> </font>
</td>
</tr> </td>
</tbody> <td NOWRAP="TRUE" class="tLabelDataD3" width="50%" style="text-align:right;">
</table> <font size="2">
Date :
<b><xsl:value-of select="ind_date" /></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" NOWRAP = "TRUE" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
Indent :
<b><xsl:value-of select="ind_no" /></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="2">
<b><xsl:value-of select="ind_date"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Site :
<b><xsl:value-of select="site_descr" />&#160;
(<xsl:value-of select="site_code__ori" />)</b>
</font>
</td>
<td NOWRAP="TRUE" class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series : <b><xsl:value-of select="item_ser" /></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<br/>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1">Required by : </td>
<td class="tLabelDataD1" style="text-align:left">
<xsl:value-of select="employee_emp_fname"/>&#160;
<xsl:value-of select="employee_emp_lname"/>&#160;
(<xsl:value-of select="emp_code__req"/>)
</td>
</tr>
<tr>
<td class="cellttl1">Delivery to : </td>
<td class="tLabelDataD1" style="text-align:left">
<xsl:value-of select="site_code__del"/>
</td>
</tr>
<tr>
<td class="cellttl1">Bill to : </td>
<td class="tLabelDataD1" style="text-align:left">
<xsl:value-of select="site_code__bil"/>
</td>
</tr>
<tr>
<td class="cellttl1">Project : </td>
<td class="tLabelDataD1" style="text-align:left">
<xsl:value-of select="proj_code" />
</td>
</tr>
<tr>
<td class="cellttl1">Department : </td>
<td class="tLabelDataD1" style="text-align:left">
<xsl:value-of select="department_descr" />&#160;
(<xsl:value-of select="dept_code" />)
</td>
</tr>
<!--<tr>
<td class="cellttl1">Minimum batch quantity : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select= "min_batch_qty"/>
</td>
</tr>
<tr>
<td class="cellttl1">Maximum batch quantity : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select= "max_batch_qty"/>
</td>
</tr>-->
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/><br/>
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<xsl:for-each select="//Detail1">
<tr border="1">
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Sr no</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Item</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Unit</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Quantity</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Approximate rate</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Maximum rate</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Last purchase rate</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Required date</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Expected cons date</font>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//Detail2">
<xsl:sort select="item_code" />
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="line_no">
<xsl:value-of select="line_no" />
</xsl:variable>
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/>
</font>
</td>
<xsl:for-each select="//Detail1"> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<!--<xsl:variable name="quantity"><xsl:value-of select="quantity"/></xsl:variable> <font face="Times New Roman" size="2">
<xsl:variable name="quantity__stduom"><xsl:value-of select="quantity__stduom"/></xsl:variable>--> <xsl:for-each select="//Detail2">
<xsl:variable name="dbID"><xsl:value-of select="@dbID"/></xsl:variable> <xsl:value-of select="item_descr" />&#160;
<TABLE BORDER="0" align="center" width="100%"> (<xsl:value-of select="item_code" />)
<TR> </xsl:for-each>
<td width="18%" class="tLabel1">Indent No: </td> </font>
<td width="12%"><div class="tdLeft" style="width: 120px;"><xsl:value-of select="ind_no" /></div></td> </td>
<td colspan="2"></td>
<td width="12%" class="tLabel1">Indent Date: </td> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<td width="18%"><div class="tdLeft" style="width: 120px;"><xsl:value-of select="ind_date" /></div></td> <font face="Times New Roman" size="2">
</TR> <xsl:for-each select="//Detail2">
<TR> <xsl:value-of select="unit" />
<td width="18%" class="tLabel1">Site: </td> </xsl:for-each>
<td width="12%"><div class="tdLeft" style="width: 120px;"><xsl:value-of select="site_code__ori" /></div></td> </font>
<td colspan="4"><div class="tdLeft" style="width: 420px;"><xsl:value-of select="site_code__descr" /></div></td> </td>
</TR> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<TR> <font face="Times New Roman" size="2">
<td width="18%" class="tLabel1">Item Series </td> <xsl:for-each select="//Detail2">
<td width="12%"><div class="tdLeft" style="width: 120px;"><xsl:value-of select="item_ser" /></div></td> <xsl:value-of select="quantity" />
</xsl:for-each>
</TR> </font>
<!--<TR> </td>
<td width="18%" class="tLabel1">Original Quantity: </td> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<td width="12%"><div class="tdRight" style="width: 120px;"><xsl:value-of select="quantity_ori" /></div></td> <font face="Times New Roman" size="2">
<td width="18%" class="tLabel1">Quantity Required: </td> <xsl:for-each select="//Detail2">
<td width="12%"><div class="tdRight" style="width: 120px;"><xsl:value-of select="quantity" /></div></td> <xsl:value-of select="purc_rate" />
<td width="12%" class="tLabel1">Quantity Std: </td> </xsl:for-each>
<td width="18%"><div class="tdRight" style="width: 120px;"><xsl:value-of select="quantity__stduom" /></div></td> </font>
</TR>--> </td>
<TR> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<td width="18%" class="tLabel1">Unit: </td> <font face="Times New Roman" size="2">
<td width="12%"><div class="tdLeft" style="width: 120px;"><xsl:value-of select="site_code__bil" /></div></td> <xsl:for-each select="//Detail2">
<td width="18%" class="tLabel1">Project: </td> <xsl:value-of select="max_rate" />
<td colspan="3" class="tdLeft"><div class="tdLeft" style="width: 120px;"><xsl:value-of select="proj_code" /></div></td> </xsl:for-each>
</TR> </font>
</TABLE> </td>
</xsl:for-each> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
</form> <font face="Times New Roman" size="2">
</body> <xsl:for-each select="//Detail2">
</html> <xsl:value-of select="last_pur_rate" />
</xsl:template> </xsl:for-each>
</xsl:stylesheet> </font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="req_date" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="exp_cons_date" />
</xsl:for-each>
</font>
</td>
</tr>
<!--<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font>
</td>-->
</xsl:for-each>
</tbody>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
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