<?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="29.7cm" margin-top="1cm" margin-bottom="1cm" margin-left="1cm" margin-right="1cm">
			<fo:region-body margin-top="1cm" margin-bottom="1cm" />
			<fo:region-before extent="1cm" />
			<fo:region-after extent="1cm" />
		</fo:simple-page-master>
	</fo:layout-master-set>

	<!-- starts actual layout -->
	<fo:page-sequence master-reference="first">

		<fo:flow flow-name="xsl-region-body">

			<!-- this defines a title level 2-->
			<!--
<fo:block font-size="16pt" 
font-family="sans-serif" 
space-after.optimum="15pt"
text-align="center"
break-before="page">
  A table with borders around the cells
</fo:block>
-->

			<!-- normal text -->

			<fo:table table-layout="fixed" border-collapse="separate">
				<fo:table-column column-width="130mm" />
				<fo:table-column column-width="100mm" />
				<fo:table-column column-width="50mm" />
				<fo:table-body>
					<fo:table-row>
						<fo:table-cell number-columns-spanned="3">
							<fo:block font-size="20pt" font-weight="normal" text-align="center">Nota de Intrare Receptie si Constatare Diferente</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell number-columns-spanned="3">
							<fo:block font-size="10pt" font-weight="normal" text-align="center" white-space-collapse="false"> </fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell>
							<fo:block font-size="14pt" font-weight="bold">%%societate%%</fo:block>
						</fo:table-cell>
						<fo:table-cell>
							<fo:block>Numar document: <fo:inline font-size="14pt" font-weight="bold"> %%nr_nir%%</fo:inline>
							</fo:block>
						</fo:table-cell>
						<fo:table-cell>
							<fo:block>Data: <fo:inline font-size="14pt" font-weight="bold"> %%data%%</fo:inline>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
				</fo:table-body>
			</fo:table>

			<fo:block text-align="start" white-space-collapse="false" font-family="Helvetica" font-size="6pt" font-weight="bold">
			</fo:block>

			<fo:block text-align="start">Subsemnatii, membri ai comisiei de receptie, am procedat la receptionarea valorilor furnizate de 
			<fo:inline font-size="14pt" font-weight="bold">%%furnizor%%</fo:inline> din 
			<fo:inline font-size="14pt" font-weight="bold">%%data%%</fo:inline> cu auto nr. <fo:inline font-size="14pt" font-weight="bold">%%auto%%</fo:inline> insotite de factura 
			<fo:inline font-size="14pt" font-weight="bold">%%factura%%</fo:inline> si am constatat urmatoarele </fo:block>

			<fo:block text-align="start" white-space-collapse="false" font-family="Helvetica" font-size="6pt" font-weight="bold">
			</fo:block>

			<!-- table start -->
			<fo:table table-layout="fixed" border-collapse="separate">
				<fo:table-column column-width="6mm" />
				<fo:table-column column-width="40mm" />
				<fo:table-column column-width="8mm" />
				<fo:table-column column-width="13mm" />
				<fo:table-column column-width="14mm" />

				<fo:table-column column-width="14mm" />

				<fo:table-column column-width="19mm" />
				<fo:table-column column-width="13mm" />
				<fo:table-column column-width="13mm" />
				<fo:table-column column-width="20mm" />
				<fo:table-column column-width="9mm" />
				<fo:table-column column-width="14mm" />
				<fo:table-column column-width="16mm" />
				<fo:table-column column-width="14mm" />
				<fo:table-column column-width="16mm" />
				<fo:table-column column-width="16mm" />
				<fo:table-column column-width="13mm" />
				<fo:table-column column-width="16mm" />
				<fo:table-body>

					<fo:table-row>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="3" display-align="center">
							<fo:block text-align="center" font-size="8pt">Nr Crt</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="3" display-align="center">
							<fo:block text-align="center" font-size="8pt">Denumire produs</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="3" display-align="center">
							<fo:block text-align="center" font-size="8pt">UM</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="3" display-align="center">
							<fo:block text-align="center" font-size="8pt">Cant</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="3" display-align="center">
							<fo:block text-align="center" font-size="8pt">Magazie</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-columns-spanned="5" number-rows-spanned="1" display-align="center">
							<fo:block text-align="center">Furnizor</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-columns-spanned="2" number-rows-spanned="1" display-align="center">
							<fo:block text-align="center" font-size="8pt">Adaos com.</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="3" display-align="center">
							<fo:block text-align="center" font-size="8pt">Pret unitar fara TVA</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="3" display-align="center">
							<fo:block text-align="center" font-size="8pt">TVA afer. adaos com.</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="3" display-align="center">
							<fo:block text-align="center" font-size="8pt">Pret unitar cu aman. cu TVA</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="3" display-align="center">
							<fo:block text-align="center" font-size="8pt">Valoare la pret cu aman.</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="2" display-align="center">
							<fo:block text-align="center" font-size="8pt">Din care TVA</fo:block>
						</fo:table-cell>
					</fo:table-row>

					<fo:table-row>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="2" display-align="center">
							<fo:block text-align="center" font-size="8pt">Pret unitar</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="2" display-align="center">
							<fo:block text-align="center" font-size="8pt">Valoare</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-columns-spanned="2" display-align="center">
							<fo:block text-align="center" font-size="8pt" >TVA</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="2" display-align="center">
							<fo:block text-align="center" font-size="8pt">T Factura</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="2" display-align="center">
							<fo:block text-align="center" font-size="8pt">%</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="2" display-align="center">
							<fo:block text-align="center" font-size="8pt">Suma</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="2" display-align="center">
							<fo:block text-align="center" font-size="8pt">Pe UM</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="2" display-align="center">
							<fo:block text-align="center" font-size="8pt">Total</fo:block>
						</fo:table-cell>

					</fo:table-row>

					<fo:table-row>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">Pe UM</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid"  display-align="center">
							<fo:block text-align="center" font-size="8pt">Total</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">0</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">1</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">2</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">3</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">-</fo:block>
						</fo:table-cell>

						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">4</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">5=3x4</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">6</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">7=3x6</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">8=5+7</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">9</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">10=4x9</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">11=4+10</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">12= 10x tva</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">13= 6+11+12</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">14=3x13</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">15=6+12</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" display-align="center">
							<fo:block text-align="center" font-size="8pt">16=3x15</fo:block>
						</fo:table-cell>
					</fo:table-row>
%%date%%
						<fo:table-row>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="8" display-align="center">
							<fo:block text-align="center" font-size="12pt" font-weight="bold">Comisia de receptie</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="10" display-align="center">
							<fo:block text-align="center" font-size="12pt" font-weight="bold">Primit in gestiune</fo:block>
						</fo:table-cell>
					</fo:table-row>

					<fo:table-row>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="5" display-align="center">
							<fo:block text-align="center">Numele si prenumele</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="3" display-align="center">
							<fo:block text-align="center">Semnatura</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="4" display-align="center">
							<fo:block text-align="center">Numele si prenumele</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="3" display-align="center">
							<fo:block text-align="center">Data</fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="3" display-align="center">
							<fo:block text-align="center">Semnatura</fo:block>
						</fo:table-cell>
					</fo:table-row>
					<fo:table-row>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="5" display-align="center">
							<fo:block text-align="center"> </fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="3" display-align="center">
							<fo:block text-align="center"> </fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="4" display-align="center">
							<fo:block text-align="center"> </fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="3" display-align="center">
							<fo:block text-align="center"> </fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="3" display-align="center">
							<fo:block text-align="center" white-space-collapse="false" > </fo:block>
						</fo:table-cell>
					</fo:table-row>
<!--
					<fo:table-row>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="5" display-align="center">
							<fo:block text-align="center"> </fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="3" display-align="center">
							<fo:block text-align="center"> </fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="4" display-align="center">
							<fo:block text-align="center"> </fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="3" display-align="center">
							<fo:block text-align="center"> </fo:block>
						</fo:table-cell>
						<fo:table-cell border-width="0.02mm" border-style="solid" number-rows-spanned="1" number-columns-spanned="3" display-align="center">
							<fo:block text-align="center" white-space-collapse="false" > </fo:block>
						</fo:table-cell>
					</fo:table-row>
-->

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

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