Commit c3dcac19 authored by Ajit Deshmukh's avatar Ajit Deshmukh

Upload New File

parent c9e28e39
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<!-- Root -->
<xsl:template match="/">
<html>
<head>
<LINK type="text/css" rel="stylesheet" href="/ibase/css/display_budget.css"/>
<LINK type="text/css" rel="stylesheet" href="/ibase/css/workflowsign.css"/>
</head>
<body bgcolor="#EEEEEE">
<div class="allDisplayDiv" style="background:#efefef; padding:1px;">
<xsl:apply-templates select="//Detail1"/>
</div>
</body>
</html>
</xsl:template>
<!-- ========================= -->
<!-- RFQ HEADER : Detail1 -->
<!-- ========================= -->
<xsl:template match="Detail1">
<!-- ========================= -->
<!-- Variables -->
<!-- ========================= -->
<xsl:variable name="tran_id" select="TRAN_ID"/>
<xsl:variable name="tran_date" select="TRAN_DATE"/>
<xsl:variable name="quot_type" select="QUOT_TYPE"/>
<xsl:variable name="cust_code" select="CUST_CODE"/>
<xsl:variable name="contact_pers" select="CONTACT_PERS"/>
<xsl:variable name="item_ser" select="ITEM_SER"/>
<xsl:variable name="req_date" select="REQ_DATE"/>
<xsl:variable name="valid_upto" select="VALID_UPTO"/>
<xsl:variable name="sales_pers" select="SALES_PERS"/>
<xsl:variable name="confirmed" select="CONFIRMED"/>
<!-- ========================= -->
<!-- Header Section -->
<!-- ========================= -->
<div style="margin:8px; background:#fff; border:1px solid #dcdcdc; border-radius:6px; padding:10px;">
<div class="tTitleR" style="margin-bottom:10px; font-weight:bold;">
REQUEST FOR QUOTATION
</div>
<div class="headDiv" style="display:flex; flex-wrap:wrap;">
<div class="tdDiv" style="width:50%; margin-bottom:6px;">
<span class="tLabelR" style="display:inline-block; width:140px;">RFQ No :</span>
<span class="viewData"><xsl:value-of select="tran_id"/></span>
</div>
<div class="tdDiv" style="width:50%; margin-bottom:6px;">
<span class="tLabelR" style="display:inline-block; width:140px;">RFQ Date :</span>
<span class="viewData"><xsl:value-of select="tran_date"/></span>
</div>
<div class="tdDiv" style="width:50%; margin-bottom:6px;">
<span class="tLabelR" style="display:inline-block; width:140px;">Quotation Type :</span>
<span class="viewData"><xsl:value-of select="quot_type"/></span>
</div>
<div class="tdDiv" style="width:50%; margin-bottom:6px;">
<span class="tLabelR" style="display:inline-block; width:140px;">Customer Code :</span>
<span class="viewData"><xsl:value-of select="cust_code"/></span>
</div>
<div class="tdDiv" style="width:50%; margin-bottom:6px;">
<span class="tLabelR" style="display:inline-block; width:140px;">Contact Person :</span>
<span class="viewData"><xsl:value-of select="contact_pers"/></span>
</div>
<div class="tdDiv" style="width:50%; margin-bottom:6px;">
<span class="tLabelR" style="display:inline-block; width:140px;">Item Series :</span>
<span class="viewData"><xsl:value-of select="item_ser"/></span>
</div>
<div class="tdDiv" style="width:50%; margin-bottom:6px;">
<span class="tLabelR" style="display:inline-block; width:140px;">Required Date :</span>
<span class="viewData"><xsl:value-of select="req_date"/></span>
</div>
<div class="tdDiv" style="width:50%; margin-bottom:6px;">
<span class="tLabelR" style="display:inline-block; width:140px;">Valid Upto :</span>
<span class="viewData"><xsl:value-of select="valid_upto"/></span>
</div>
<div class="tdDiv" style="width:50%; margin-bottom:6px;">
<span class="tLabelR" style="display:inline-block; width:140px;">Sales Person :</span>
<span class="viewData"><xsl:value-of select="sales_pers"/></span>
</div>
<div class="tdDiv" style="width:50%; margin-bottom:6px;">
<span class="tLabelR" style="display:inline-block; width:140px;">Confirmed :</span>
<span class="viewData"><xsl:value-of select="confirmed"/></span>
</div>
</div>
</div>
<!-- ========================= -->
<!-- Item Details : Detail2 -->
<!-- ========================= -->
<table width="100%" border="0">
<tr>
<td class="tTitleR" style="background:#fff; border:1px solid #ccc;">
Item Details
</td>
</tr>
</table>
<div style="max-height:400px; overflow:auto;">
<table width="100%" border="1" cellpadding="5" cellspacing="0"
style="border-collapse:collapse; background:#f9f9f9;">
<tr>
<th class="tLabel">Line No</th>
<th class="tLabel">Item Code</th>
<th class="tLabel">Qty</th>
<th class="tLabel">Unit</th>
<th class="tLabel">Pack</th>
<th class="tLabel">Quoted Rate</th>
<th class="tLabel">Approved Rate</th>
<th class="tLabel">Near Expiry</th>
<th class="tLabel">Remarks</th>
</tr>
<xsl:for-each select="//Detail2">
<tr>
<td><xsl:value-of select="line_no"/></td>
<td><xsl:value-of select="item_code"/></td>
<td style="text-align:right;"><xsl:value-of select="qty_quot"/></td>
<td><xsl:value-of select="unit"/></td>
<td><xsl:value-of select="pack_code"/></td>
<td style="text-align:right;"><xsl:value-of select="rate_quot"/></td>
<td style="text-align:right;"><xsl:value-of select="rate_apprv"/></td>
<td><xsl:value-of select="near_expiry"/></td>
<td><xsl:value-of select="remarks"/></td>
</tr>
</xsl:for-each>
</table>
</div>
</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