Commit 44f98314 authored by chavanp's avatar chavanp

New Transaction Screen format.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@43891 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 73bfb290
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/Standard/default.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/theme/galaxy-theme.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<style>
.previewContainer
{
overflow: auto !important;
position: relative !important;
zoom: 1 !important;
<!-- height: 370px !important; -->
}
input[type=text]{
width: 100%;
}
</style>
</head>
<body class='headerDetailBody'>
<table border="0" width="100%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;border-bottom: #6cf 3px solid">
<tr>
<div class='contentHeaderLbl'><img src="/ibase/images/menuImages/web/Dailyactivityreport.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/>
<td class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Header Details:
</td>
</div>
</tr>
</table>
<form id="detail" METHOD="POST">
<xsl:for-each select="//Detail1">
<xsl:variable name="ind_no">
<xsl:value-of select="ind_no"></xsl:value-of>
</xsl:variable>
<xsl:variable name="ind_date">
<xsl:value-of select="ind_date"></xsl:value-of>
</xsl:variable>
<xsl:variable name="ind_type">
<xsl:value-of select="ind_type"></xsl:value-of>
</xsl:variable>
<xsl:variable name="site_descr">
<xsl:value-of select="site_descr"></xsl:value-of>
</xsl:variable>
<xsl:variable name="department_descr">
<xsl:value-of select="department_descr"></xsl:value-of>
</xsl:variable>
<xsl:variable name="employee_emp_fname">
<xsl:value-of select="employee_emp_fname"></xsl:value-of>
</xsl:variable>
<xsl:variable name="site_code__ori">
<xsl:value-of select="site_code__ori"></xsl:value-of>
</xsl:variable>
<xsl:variable name="dept_code">
<xsl:value-of select="dept_code"></xsl:value-of>
</xsl:variable>
<xsl:variable name="desp_id">
<xsl:value-of select="desp_id"></xsl:value-of>
</xsl:variable>
<xsl:variable name="status">
<xsl:value-of select="status"></xsl:value-of>
</xsl:variable>
<table id="activityTable" Class="editDisplayColumnClass" border="0" cellSpacing="0" width="100%" cellPadding="5" >
<tr>
<td>
<tbody>
<tr>
<td class="td_rightAlign" nowrap="true">Indent No:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$ind_no}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Indent Type:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$ind_type}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Indent Date:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" value ="{$ind_date}" class="input_editable" readonly="true"/></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">Request from:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$site_descr}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Required By:</td>
<td class="td_leftAlign" style="color: #333; background: white; text-align: left; font-size: 14px;"> <xsl:value-of select="employee_emp_fname"></xsl:value-of></td>
<td class="td_rightAlign" nowrap="true">Status:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value ="{$status}" readonly="true"/></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">Department Code:</td>
<td class="td_leftAlign">
<input type="text" style="border:none;" value ="{$dept_code}" class="input_editable" readonly="true"/>
</td>
<td class="td_rightAlign" nowrap="true">Department Name:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$department_descr}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Site Code:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$site_code__ori}" readonly="true" /></td>
</tr>
</tbody>
</td>
</tr>
</table>
<table border="0" width="100%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<tr>
<div class='contentHeaderLbl'><img src="/ibase/images/menuImages/web/Dailyactivityreport.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/>
<td class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Details:
</td>
</div>
</tr>
</table>
</xsl:for-each>
<table>
<tr>
<td>
<table class="headertableClass " cellspacing="0" cellpadding="0" width='100%'>
<thead class="table-head">
<tr>
<th class="tHeader" nowrap="true" >Item Code</th>
<th class="tHeader" nowrap="true" >Item Descriptionr</th>
<th class="tHeader" nowrap="true" >Quantity</th>
<th class="tHeader" nowrap="true" >Rate</th>
</tr>
</thead>
<tbody>
<xsl:for-each select="//Detail2">
<xsl:variable name="item_descr">
<xsl:value-of select="item_descr"></xsl:value-of>
</xsl:variable>
<xsl:variable name="item_code">
<xsl:value-of select="item_code"></xsl:value-of>
</xsl:variable>
<xsl:variable name="quantity">
<xsl:value-of select="quantity"></xsl:value-of>
</xsl:variable>
<xsl:variable name="max_rate">
<xsl:value-of select="max_rate"></xsl:value-of>
</xsl:variable>
<tr class='trClass'>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value ="{$item_code}" class="input_editable" readonly="true"/></td>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value="{$item_descr}" class="input_editable" readonly="true" /></td>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value ="{$quantity}" class="input_editable" readonly="true"/></td>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value ="{$max_rate}" class="input_editable" readonly="true"/></td>
</tr>
</xsl:for-each>
</tbody>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/Standard/default.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/theme/galaxy-theme.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<style>
.previewContainer
{
overflow: auto !important;
position: relative !important;
zoom: 1 !important;
<!-- height: 370px !important; -->
}
input[type=text]{
width: 100%;
}
</style>
</head>
<body class='headerDetailBody'>
<table border="0" width="100%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;border-bottom: #6cf 3px solid">
<tr>
<div class='contentHeaderLbl'><img src="/ibase/images/menuImages/web/Dailyactivityreport.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/>
<td class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Header Details:
</td>
</div>
</tr>
</table>
<form id="detail" METHOD="POST">
<xsl:for-each select="//Detail1">
<xsl:variable name="amd_no">
<xsl:value-of select="amd_no"></xsl:value-of>
</xsl:variable>
<xsl:variable name="ind_type">
<xsl:value-of select="ind_type"></xsl:value-of>
</xsl:variable>
<xsl:variable name="amd_date">
<xsl:value-of select="amd_date"></xsl:value-of>
</xsl:variable>
<xsl:variable name="site_descr">
<xsl:value-of select="site_descr"></xsl:value-of>
</xsl:variable>
<xsl:variable name="department_descr">
<xsl:value-of select="department_descr"></xsl:value-of>
</xsl:variable>
<xsl:variable name="dept_code">
<xsl:value-of select="dept_code"></xsl:value-of>
</xsl:variable>
<xsl:variable name="site_code">
<xsl:value-of select="site_code"></xsl:value-of>
</xsl:variable>
<xsl:variable name="ind_no">
<xsl:value-of select="ind_no"></xsl:value-of>
</xsl:variable>
<xsl:variable name="desp_id">
<xsl:value-of select="desp_id"></xsl:value-of>
</xsl:variable>
<xsl:variable name="priority">
<xsl:value-of select="priority"></xsl:value-of>
</xsl:variable>
<table id="activityTable" Class="editDisplayColumnClass" border="0" cellSpacing="0" width="100%" cellPadding="5" >
<tr>
<td>
<tbody>
<tr>
<td class="td_rightAlign" nowrap="true">Amendant No:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$amd_no}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Indent Type:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$ind_type}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Amendant Date:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" value ="{$amd_date}" class="input_editable" readonly="true"/></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">Request From:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$site_descr}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Required By:</td>
<td class="td_leftAlign" style="color: #333; background: white; text-align: left; font-size: 14px;"> <xsl:value-of select="department_descr"></xsl:value-of></td>
<td class="td_rightAlign" nowrap="true">Indent No:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value ="{$ind_no}" readonly="true"/></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">Department Code:</td>
<td class="td_leftAlign">
<input type="text" style="border:none;" value ="{$dept_code}" class="input_editable" readonly="true"/>
</td>
<td class="td_rightAlign" nowrap="true">Site Code:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$site_code}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Priority:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$priority}" readonly="true" /></td>
</tr>
</tbody>
</td>
</tr>
</table>
<table border="0" width="100%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<tr>
<div class='contentHeaderLbl'><img src="/ibase/images/menuImages/web/Dailyactivityreport.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/>
<td class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Details:
</td>
</div>
</tr>
</table>
</xsl:for-each>
<table>
<tr>
<td>
<table class="headertableClass " cellspacing="0" cellpadding="0" width='100%'>
<thead class="table-head">
<tr>
<th class="tHeader" nowrap="true" >Item Code</th>
<th class="tHeader" nowrap="true" >Item Descriptionr</th>
<th class="tHeader" nowrap="true" >Quantity</th>
<th class="tHeader" nowrap="true" >Rate</th>
</tr>
</thead>
<tbody>
<xsl:for-each select="//Detail1">
<xsl:variable name="item_descr">
<xsl:value-of select="item_descr"></xsl:value-of>
</xsl:variable>
<xsl:variable name="item_code">
<xsl:value-of select="item_code"></xsl:value-of>
</xsl:variable>
<xsl:variable name="quantity">
<xsl:value-of select="quantity"></xsl:value-of>
</xsl:variable>
<xsl:variable name="purc_rate">
<xsl:value-of select="purc_rate"></xsl:value-of>
</xsl:variable>
<tr class='trClass'>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value ="{$item_code}" class="input_editable" readonly="true"/></td>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value="{$item_descr}" class="input_editable" readonly="true" /></td>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value ="{$quantity}" class="input_editable" readonly="true"/></td>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value ="{$purc_rate}" class="input_editable" readonly="true"/></td>
</tr>
</xsl:for-each>
</tbody>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/Standard/default.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/theme/galaxy-theme.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<style>
.previewContainer
{
overflow: auto !important;
position: relative !important;
zoom: 1 !important;
<!-- height: 370px !important; -->
}
input[type=text]{
width: 100%;
}
</style>
</head>
<body class='headerDetailBody'>
<table border="0" width="100%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;border-bottom: #6cf 3px solid">
<tr>
<div class='contentHeaderLbl'><img src="/ibase/images/menuImages/web/Dailyactivityreport.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/>
<td class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Header Details:
</td>
</div>
</tr>
</table>
<form id="detail" METHOD="POST">
<xsl:for-each select="//Detail1">
<xsl:variable name="tran_id">
<xsl:value-of select="tran_id"></xsl:value-of>
</xsl:variable>
<xsl:variable name="tran_type">
<xsl:value-of select="tran_type"></xsl:value-of>
</xsl:variable>
<xsl:variable name="tran_date">
<xsl:value-of select="tran_date"></xsl:value-of>
</xsl:variable>
<xsl:variable name="supp_name">
<xsl:value-of select="supp_name"></xsl:value-of>
</xsl:variable>
<xsl:variable name="supp_code">
<xsl:value-of select="supp_code"></xsl:value-of>
</xsl:variable>
<xsl:variable name="trans_mode">
<xsl:value-of select="trans_mode"></xsl:value-of>
</xsl:variable>
<xsl:variable name="site_code">
<xsl:value-of select="site_code"></xsl:value-of>
</xsl:variable>
<xsl:variable name="supp_name__ship">
<xsl:value-of select="supp_name__ship"></xsl:value-of>
</xsl:variable>
<xsl:variable name="purc_order">
<xsl:value-of select="purc_order"></xsl:value-of>
</xsl:variable>
<xsl:variable name="trans_mode">
<xsl:value-of select="trans_mode"></xsl:value-of>
</xsl:variable>
<table id="activityTable" Class="editDisplayColumnClass" border="0" cellSpacing="0" width="100%" cellPadding="5" >
<tr>
<td>
<tbody>
<tr>
<td class="td_rightAlign" nowrap="true">Transaction Id:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$tran_id}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Transaction Type:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$tran_type}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Transaction Date:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" value ="{$tran_date}" class="input_editable" readonly="true"/></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">Supplier Code:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$supp_code}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Supplier Name:</td>
<td class="td_leftAlign" style="color: #333; background: white; text-align: left; font-size: 14px;"> <xsl:value-of select="supp_name"></xsl:value-of></td>
<td class="td_rightAlign" nowrap="true">Trans Mode:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value ="{$trans_mode}" readonly="true"/></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">Shippment To:</td>
<td class="td_leftAlign">
<input type="text" style="border:none;" value ="{$supp_name__ship}" class="input_editable" readonly="true"/>
</td>
<td class="td_rightAlign" nowrap="true">Site Code:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$site_code}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Purchase Order:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$purc_order}" readonly="true" /></td>
</tr>
</tbody>
</td>
</tr>
</table>
<table border="0" width="100%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<tr>
<div class='contentHeaderLbl'><img src="/ibase/images/menuImages/web/Dailyactivityreport.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/>
<td class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Details:
</td>
</div>
</tr>
</table>
</xsl:for-each>
<table>
<tr>
<td>
<table class="headertableClass " cellspacing="0" cellpadding="0" width='100%'>
<thead class="table-head">
<tr>
<th class="tHeader" nowrap="true" >Item Code</th>
<th class="tHeader" nowrap="true" >Item Descriptionr</th>
<th class="tHeader" nowrap="true" >Quantity</th>
<th class="tHeader" nowrap="true" >Rate</th>
</tr>
</thead>
<tbody>
<xsl:for-each select="//Detail2">
<xsl:variable name="item_descr">
<xsl:value-of select="item_descr"></xsl:value-of>
</xsl:variable>
<xsl:variable name="item_code">
<xsl:value-of select="item_code"></xsl:value-of>
</xsl:variable>
<xsl:variable name="quantity">
<xsl:value-of select="quantity"></xsl:value-of>
</xsl:variable>
<xsl:variable name="rate">
<xsl:value-of select="rate"></xsl:value-of>
</xsl:variable>
<tr class='trClass'>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value ="{$item_code}" class="input_editable" readonly="true"/></td>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value="{$item_descr}" class="input_editable" readonly="true" /></td>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value ="{$quantity}" class="input_editable" readonly="true"/></td>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value ="{$rate}" class="input_editable" readonly="true"/></td>
</tr>
</xsl:for-each>
</tbody>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
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