<header>
	<pageTemplate>
		<frame id="first" x1="1cm" y1="2.5cm" width="19.0cm" height="23.0cm"/>
		<pageGraphics>
			<!--logo-->
			<setFont name="Helvetica" size="30"/>
			<fill color="darkblue"/>
			<stroke color="darkblue"/>
			<drawString x="1cm" y="27.8cm">[[ company.partner_id.name ]]</drawString>
			<lines>1cm 27.7cm 20cm 27.7cm</lines>

			<setFont name="Helvetica" size="10"/>
			<drawRightString x="20cm" y="27.8cm">[[ company.rml_header1 ]]</drawRightString>


			<drawString x="1cm" y="27.1cm">[[ company.partner_id.address[0].street ]]</drawString>
			<drawString x="1cm" y="26.7cm">[[ company.partner_id.address[0].zip ]] [[ company.partner_id.address[0].city ]] - [[ company.partner_id.address[0].country_id.name ]]</drawString>
			<drawString x="1cm" y="26.2cm">Phone:</drawString>
			<drawRightString x="7cm" y="26.2cm">[[ company.partner_id.address[0].phone ]]</drawRightString>
			<drawString x="1cm" y="25.8cm">Mail:</drawString>
			<drawRightString x="7cm" y="25.8cm">[[ company.partner_id.address[0].email ]]</drawRightString>
			<lines>1cm 25.7cm 7cm 25.7cm</lines>

			<!--page bottom-->

			<lines>1.5cm 2.15cm 19.9cm 2.15cm</lines>

			<drawCentredString x="10.5cm" y="1.7cm">[[ company.rml_footer1 ]]</drawCentredString>
			<drawCentredString x="10.5cm" y="1.25cm">[[ company.rml_footer2 ]]</drawCentredString>
			<drawCentredString x="10.5cm" y="0.8cm">Contact : [[ user.name ]]</drawCentredString>
		</pageGraphics>
	</pageTemplate>
</header>
