1 <?xml version="1.0" encoding="utf-8"?>
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
3 <xsl:import href="../../custom/corporate_defaults.xsl"/>
5 <xsl:template match="/">
6 <xsl:apply-templates select="lots"/>
9 <xsl:template match="/">
10 <document xmlns:fo="http://www.w3.org/1999/XSL/Format">
11 <template leftMargin="2.0cm" rightMargin="2.0cm" topMargin="2.0cm" bottomMargin="2.0cm" title="Releve de compte" author="Generated by Tiny ERP, Fabien Pinckaers" allowSplitting="20" pageSize="(21cm,29.7cm)">
13 <pageTemplate id="all">
14 <frame id="list" x1="1.0cm" y1="1.0cm" height="22.7cm" width="19cm"/>
23 <paraStyle name="small" fontName="Courier" fontSize="12" spaceBefore="0mm" spaceAfter="0mm"/>
24 <paraStyle name="verysmall" fontSize="11" fontName="Courier" spaceBefore="0mm" spaceAfter="0mm"/>
25 <paraStyle name="smallest" fontSize="10" fontName="Courier" spaceBefore="-0.5mm" spaceAfter="-0.5mm"/>
27 <blockTableStyle id="left">
28 <blockValign value="TOP"/>
29 <blockAlignment value="LEFT"/>
30 <blockFont name="Helvetica-Bold" size="10"/>
31 <blockTextColor colorName="black"/>
32 <lineStyle kind="LINEABOVE" thickness="0.5" colorName="black" start="0,0" stop="-1,0"/>
33 <lineStyle kind="LINEBELOW" thickness="0.5" colorName="black"/>
34 <blockBackground colorName="(1,1,1)" start="0,0" stop="-1,-1"/>
35 <blockBackground colorName="(0.88,0.88,0.88)" start="0,0" stop="-1,0"/>
38 <blockTableStyle id="lots">
39 <lineStyle kind="LINEABOVE" thickness="0.5" colorName="black" start="0,0" stop="-1,0"/>
40 <lineStyle kind="LINEBELOW" thickness="0.5" colorName="black" start="0,-1" stop="-1,-1"/>
45 <blockTable repeatRows="1" style="left" colWidths="1.8cm,10.0cm,1.8cm,4.4cm">
48 <para style="small"><b t="1">Obj.</b></para>
50 <para style="small"><b t="1">Name</b></para>
52 <para style="small"><b t="1">Bid</b></para>
54 <para style="small"><b t="1">Phone</b></para>
58 <xsl:apply-templates select="lots/lot"/>
63 <xsl:template match="lots/lot[count(bid[tocall='1'])>0]">
64 <xsl:variable name="number" select="number"/>
65 <blockTable colWidths="1.8cm,10.0cm,1.8cm,4.4cm" style="lots">
66 <xsl:for-each select="bid[tocall='1']">
69 <para style="verysmall"><xsl:value-of select="$number"/></para>
72 <para style="small"><xsl:value-of select="name"/></para>
74 <xsl:value-of select="id"/>
76 <para><b><xsl:value-of select="contact"/></b></para>