<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<!-- defines the layout master -->
<fo:layout-master-set>
<fo:simple-page-master master-name="first"
page-height="21cm"
page-width="99mm"
margin-top="5mm"
margin-bottom="15mm"
margin-left="10mm"
margin-right="10mm">
<fo:region-body margin-top="5mm" margin-bottom="5mm"/>
<fo:region-before extent="5mm"/>
<fo:region-after extent="5mm"/>
</fo:simple-page-master>
</fo:layout-master-set>

<!-- starts actual layout -->
<fo:page-sequence master-reference="first">
                                                                                           
<fo:flow flow-name="xsl-region-body">

<fo:table table-layout="fixed" border-collapse="separate">
<fo:table-column column-width="43mm"/>
<fo:table-column column-width="10mm"/>
<fo:table-column column-width="10mm"/>
<fo:table-column column-width="15mm"/>
<fo:table-body>

<fo:table-row display-align="center">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="center" white-space-collapse="false" font-weight="bold" font-size="17pt">%%entity%%</fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="center" white-space-collapse="false" font-size="10pt">%%phone%%</fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="center" white-space-collapse="false" font-size="10pt">%%address%%</fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="center" white-space-collapse="false"> </fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false">%%order_date%%</fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false" font-weight="bold" font-size="10pt">%%table%%</fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false" font-weight="bold" font-size="10pt">%%waiter%%</fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false"> </fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center">
<fo:table-cell number-columns-spanned="1">
	<fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false"  font-weight="bold" font-size="10pt" border-bottom="1pt solid #000000">Denumire produs</fo:block>
</fo:table-cell>
<fo:table-cell number-columns-spanned="2">
	<fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false"  font-weight="bold" font-size="10pt" border-bottom="1pt solid #000000">Cantitate</fo:block>
</fo:table-cell>
<fo:table-cell number-columns-spanned="1">
	<fo:block font-family="Monotype Corsiva" text-align="end" white-space-collapse="false" font-weight="bold" font-size="10pt" border-bottom="1pt solid #000000">Valoare</fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false"> </fo:block>
</fo:table-cell>
</fo:table-row>

%%products%%

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false"> </fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell  number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false"  font-weight="bold" font-size="10pt"> </fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell>
	<fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false" border-top="1pt solid #000000" font-weight="bold" font-size="10pt" >%%total1_string%%</fo:block>
</fo:table-cell>
<fo:table-cell  number-columns-spanned="2">
	<fo:block font-family="Monotype Corsiva" text-align="end" white-space-collapse="false" border-top="1pt solid #000000" font-weight="bold" font-size="10pt"> </fo:block>
</fo:table-cell>
<fo:table-cell>
	<fo:block font-family="Monotype Corsiva" text-align="end" white-space-collapse="false" border-top="1pt solid #000000" font-weight="bold" font-size="10pt">%%total1_value%%</fo:block>
</fo:table-cell>
</fo:table-row>


<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell>
	<fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false" font-weight="bold" font-size="10pt">%%discount_string%%</fo:block>
</fo:table-cell>
<fo:table-cell number-columns-spanned="2">
	<fo:block font-family="Monotype Corsiva" text-align="end" white-space-collapse="false" font-weight="bold" font-size="10pt" > </fo:block>
</fo:table-cell>
<fo:table-cell>
	<fo:block font-family="Monotype Corsiva" text-align="end" white-space-collapse="false" font-weight="bold" font-size="10pt">%%discount_value%%</fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell>
	<fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false" font-weight="bold" font-size="10pt">TOTAL</fo:block>
</fo:table-cell>
<fo:table-cell number-columns-spanned="2">
	<fo:block font-family="Monotype Corsiva" text-align="end" white-space-collapse="false" font-weight="bold" font-size="10pt"> </fo:block>
</fo:table-cell>
<fo:table-cell>
	<fo:block font-family="Monotype Corsiva" text-align="end" white-space-collapse="false" font-weight="bold" font-size="10pt">%%total2_value%%</fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell number-columns-spanned="4">
        <fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false"> </fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell  number-columns-spanned="4">
        <fo:block font-family="Monotype Corsiva" text-align="start" font-weight="bold" font-size="10pt">%%plati%%</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false"> </fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell  number-columns-spanned="4">
        <fo:block font-family="Monotype Corsiva" text-align="start" font-weight="bold" font-size="10pt">%%nume_client%%</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell  number-columns-spanned="4">
        <fo:block font-family="Monotype Corsiva" text-align="start" font-weight="bold" font-size="10pt">%%telefon_client%%</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell  number-columns-spanned="4">
        <fo:block font-family="Monotype Corsiva" text-align="start" font-weight="bold" font-size="10pt">%%detalii_nota%%</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell  number-columns-spanned="4">
        <fo:block font-family="Monotype Corsiva" text-align="start" font-weight="bold" font-size="10pt">%%adresa_client%%</fo:block></fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="center" white-space-collapse="false" font-weight="bold" font-size="14pt" >VA MULTUMIM,</fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="center" white-space-collapse="false" font-weight="bold" font-size="14pt" >VA MAI ASTEPTAM</fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center" keep-with-next="always">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="start" white-space-collapse="false"> </fo:block>
</fo:table-cell>
</fo:table-row>

<fo:table-row display-align="center">
<fo:table-cell number-columns-spanned="4">
	<fo:block font-family="Monotype Corsiva" text-align="center" white-space-collapse="false" font-size="8pt">soft by www.DeverSoft.ro</fo:block>
</fo:table-cell>
</fo:table-row>

</fo:table-body>
</fo:table>

</fo:flow>
</fo:page-sequence>
</fo:root>
