2016-03-23 18:39:41 +01:00
|
|
|
<table border="1">
|
|
|
|
<tr>
|
|
|
|
<th><%=t('export_reservations.customer_id')%></th>
|
|
|
|
<th><%=t('export_reservations.customer')%></th>
|
2016-03-31 11:52:49 +02:00
|
|
|
<th><%=t('export_reservations.email')%></th>
|
2016-03-23 18:39:41 +01:00
|
|
|
<th><%=t('export_reservations.reservation_date')%></th>
|
|
|
|
<th><%=t('export_reservations.reservation_type')%></th>
|
|
|
|
<th><%=t('export_reservations.reservation_object')%></th>
|
|
|
|
<th><%=t('export_reservations.slots_number_hours_tickets')%></th>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
<% @datas.each do |d| %>
|
|
|
|
<tr>
|
|
|
|
<td><%= d.user.id %></td>
|
|
|
|
<td><%= d.user.profile.full_name %></td>
|
2016-03-31 11:52:49 +02:00
|
|
|
<td><%= d.user.email %></td>
|
2016-03-23 18:39:41 +01:00
|
|
|
<td><%= d.created_at %></td>
|
|
|
|
<td><%= d.reservable_type %></td>
|
|
|
|
<td><%= d.reservable.name if !d.reservable.nil? %></td>
|
|
|
|
<td><%= d.slots.count %></td>
|
|
|
|
<td><%= (d.stp_invoice_id.nil?)? t('export_reservations.local_payment') : t('export_reservations.online_payment') %></td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|