<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>

		
<template id="theme_light.invoice_header_G002">
 
	<table style="width: 100%;font-size:10px">
          <tr height="30px">      
            <td style="width:20%;padding-right:15px" rowspan="4">
            	<img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 100px;"/>
            </td>
            <td style="width:29%"></td>
            <td style='width:17%'>
            	<img src="theme_light/static/img/gallery/location_green.png" style="max-height: 30px;padding-bottom:10px"/>
            </td>
            <td style='width:17%'>
            	<img src="theme_light/static/img/gallery/phone_green.png" style="max-height: 30px;padding-bottom:10px"/>
            </td>
            <td style='width:17%'>
            	<img src="theme_light/static/img/gallery/www_green.png" style="max-height: 30px;padding-bottom:10px"/>
            </td>
          </tr>
          
          <tr  height="20px">
          	<td style="font-size:14px"></td>
          	<td>
      		   <span t-field="o.company_id.partner_id.street"/>  
    		</td>
    		<td>
				<span>Phone</span>
    			<span t-field="o.company_id.partner_id.phone"/> 
    		</td>
    		<td>
    			<span t-field="o.company_id.partner_id.website"/> 
    		</td>
          </tr>
          
		  <tr style="vertical-align:top" height="20px">
			<td style="vertical-align:middle"></td>
		  	<td style="vertical-align:middle">
    		   <span t-field="o.company_id.partner_id.zip"/>  -    
    		   <span t-field="o.company_id.partner_id.city"/>  
		  	</td>
		  	<td style="vertical-align:middle">
		  	   <span>Fax</span>
    		   <span t-field="o.company_id.partner_id.fax"/>
		  	</td>
		  </tr>
		  <tr>
				
		  	<td></td>
		  	<td style="vertical-align:top">
    		   <span t-field="o.company_id.partner_id.country_id.name"/>
		  	</td>
		  	<td></td>
		  </tr>
		  <tr>
		  	<td colspan="2"><span style="margin-left:10px" t-field="o.company_id.rml_header1"/> </td>		  	
			<td style="vertical-align:bottom">
				<span t-field="o.company_id.partner_id.vat"/>
			</td>
		  	<td></td>
		  	<td></td>
		  </tr>
     </table>
</template>

<template id="theme_light.invoice_header_P002">
 
	<table style="width: 100%;font-size:10px">
          <tr height="30px">      
            <td style="width:20%;padding-right:15px" rowspan="4">
            	<img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 100px;"/>
            </td>
            <td style="width:29%"></td>
            <td style='width:17%'>
            	<img src="theme_light/static/img/gallery/location_purple.png" style="max-height: 30px;padding-bottom:10px"/>
            </td>
            <td style='width:17%'>
            	<img src="theme_light/static/img/gallery/phone_purple.png" style="max-height: 30px;padding-bottom:10px"/>
            </td>
            <td style='width:17%'>
            	<img src="theme_light/static/img/gallery/www_purple.png" style="max-height: 30px;padding-bottom:10px"/>
            </td>
          </tr>
          
          <tr  height="20px">
          	<td style="font-size:14px"></td>
          	<td>
      		   <span t-field="o.company_id.partner_id.street"/>  
    		</td>
    		<td>
				<span>Phone</span>
    			<span t-field="o.company_id.partner_id.phone"/> 
    		</td>
    		<td>
    			<span t-field="o.company_id.partner_id.website"/> 
    		</td>
          </tr>
          
		  <tr style="vertical-align:top" height="20px">
			<td style="vertical-align:middle"></td>
		  	<td style="vertical-align:middle">
    		   <span t-field="o.company_id.partner_id.zip"/>  -    
    		   <span t-field="o.company_id.partner_id.city"/>  
		  	</td>
		  	<td style="vertical-align:middle">
		  	   <span>Fax</span>
    		   <span t-field="o.company_id.partner_id.fax"/>
		  	</td>
		  </tr>
		  <tr>
				
		  	<td></td>
		  	<td style="vertical-align:top">
    		   <span t-field="o.company_id.partner_id.country_id.name"/>
		  	</td>
		  	<td></td>
		  </tr>
		  <tr>
		  	<td colspan="2"><span style="margin-left:10px" t-field="o.company_id.rml_header1"/> </td>		  	
			<td style="vertical-align:bottom">
				<span t-field="o.company_id.partner_id.vat"/>
			</td>
		  	<td></td>
		  	<td></td>
		  </tr>
     </table>
</template>
	
	
	
<template id="theme_light.list_header_G002">
	<table style="width: 100%;font-size:10px">
          <tr height="30px">      
            <td style="width:20%;padding-right:15px" rowspan="4">
            	<img t-if="res_company.logo" t-att-src="'data:image/png;base64,%s' % res_company.logo" style="max-height: 100px;"/>
            </td>
            <td style="width:29%"></td>
            <td style='width:17%'>
            	<img src="theme_light/static/img/gallery/location_green.png" style="max-height: 30px;padding-bottom:10px"/>
            </td>
            <td style='width:17%'>
            	<img src="theme_light/static/img/gallery/phone_green.png" style="max-height: 30px;padding-bottom:10px"/>
            </td>
            <td style='width:17%'>
            	<img src="theme_light/static/img/gallery/www_green.png" style="max-height: 30px;padding-bottom:10px"/>
            </td>
          </tr>
          
          <tr  height="20px">
          	<td style="font-size:14px"></td>
          	<td>
      		   <span t-field="res_company.partner_id.street"/>  
    		</td>
    		<td>
				<span>Phone</span>
    			<span t-field="res_company.partner_id.phone"/> 
    		</td>
    		<td>
    			<span t-field="res_company.partner_id.website"/> 
    		</td>
          </tr>
          
		  <tr style="vertical-align:top" height="20px">
			<td style="vertical-align:middle"></td>
		  	<td style="vertical-align:middle">
    		   <span t-field="res_company.partner_id.zip"/>  -    
    		   <span t-field="res_company.partner_id.city"/>  
		  	</td>
		  	<td style="vertical-align:middle">
		  	   <span>Fax</span>
    		   <span t-field="res_company.partner_id.fax"/>
		  	</td>
		  </tr>
		  <tr>
				
		  	<td></td>
		  	<td style="vertical-align:top">
    		   <span t-field="res_company.partner_id.country_id.name"/>
		  	</td>
		  	<td></td>
		  </tr>
		  <tr>
		  	<td colspan="2"><span style="margin-left:10px" t-field="res_company.rml_header1"/> </td>		  	
			<td style="vertical-align:bottom">
				<span t-field="res_company.partner_id.vat"/>
			</td>
		  	<td></td>
		  	<td></td>
		  </tr>
     </table>
</template>		

</data>
</openerp>