<?xml version="1.0"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
  xmlns:o="urn:schemas-microsoft-com:office:office"
  xmlns:x="urn:schemas-microsoft-com:office:excel"
  xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
  xmlns:html="http://www.w3.org/TR/REC-html40">
  
  <Worksheet ss:Name="Feuil1">
   <Table>

	
	
      <Row>
		  <Cell><Data ss:Type="String"> Organisation </Data></Cell>
		  <Cell><Data ss:Type="String"> Nom </Data></Cell>
		  <Cell><Data ss:Type="String"> Prénom </Data></Cell>
		  <Cell><Data ss:Type="String"> adresse </Data></Cell>
		  <Cell><Data ss:Type="String"> adresse 2 </Data></Cell>
		  <Cell><Data ss:Type="String"> adresse 3 </Data></Cell>
		  <Cell><Data ss:Type="String"> cp </Data></Cell>
		  <Cell><Data ss:Type="String"> ville </Data></Cell>
		  <Cell><Data ss:Type="String"> email </Data></Cell>
		  <Cell><Data ss:Type="String"> tel </Data></Cell>
		  <Cell><Data ss:Type="String"> profession </Data></Cell>
		  <Cell><Data ss:Type="String"> plume papier </Data></Cell>
		  <Cell><Data ss:Type="String"> Première adhesion </Data></Cell>
		   <Cell><Data ss:Type="String"> Dernier renouvellement </Data></Cell>
		   <Cell><Data ss:Type="String"> Création de la fiche </Data></Cell>
		    <Cell><Data ss:Type="String"> mise à jour</Data></Cell>
		  
		

      </Row>
	  
      <% @sheets.each do |sheet| %>
      <Row>
		 	<Cell><Data ss:Type="String"><%= sheet.corporate %></Data></Cell>
		  <% if sheet.first_people %>
			  <Cell><Data ss:Type="String"><%= sheet.first_people.surname %></Data></Cell>
			  <Cell><Data ss:Type="String"><%= sheet.first_people.firstname %></Data></Cell>
		  <% else %>
			  <%2.times do %>
				  <Cell><Data ss:Type="String"></Data></Cell>
			  <%end%>
		  <%end%>
		  
		  <Cell><Data ss:Type="String"><%= sheet.address %></Data></Cell>
		  <Cell><Data ss:Type="String"><%= sheet.address2 %></Data></Cell>
		  <Cell><Data ss:Type="String"><%= sheet.address3 %></Data></Cell>
		  <Cell><Data ss:Type="String"><%= sheet.pc %></Data></Cell>
		  <Cell><Data ss:Type="String"><%= sheet.city %></Data></Cell>
		  <% if sheet.first_people %>
			  <Cell><Data ss:Type="String"><%= sheet.first_people.email %></Data></Cell>
			  <Cell><Data ss:Type="String"><%= sheet.first_people.phone %></Data></Cell>
			  <Cell><Data ss:Type="String"><%= sheet.first_people.job %></Data></Cell>
		  
		  <% else %>
		 	 <%3.times do %>
			  	<Cell><Data ss:Type="String"></Data></Cell>
			  <%end%>
		  <%end%>
		  
		  <Cell><Data ss:Type="String"><%= sheet.plume %></Data></Cell>
		  <Cell><Data ss:Type="String"><%= sheet.first_year %></Data></Cell>
		  <Cell><Data ss:Type="String"><%= sheet.last_year %></Data></Cell>
		  <Cell><Data ss:Type="String"><%= l sheet.created_at %></Data></Cell>
		  <Cell><Data ss:Type="String"><%= l sheet.updated_at %></Data></Cell>
		   
 		 
      
      </Row>
        
      <% end %>
    
    </Table>
  </Worksheet>
</Workbook>
