<td class="text-center"><i class="<%= absence.matin ? "far fa-check-circle" : "" %>"></i></td>
<td class="text-center"><i class="<%= absence.midi ? "far fa-check-circle" : "" %>"></i></td>
<td class="text-center"><i class="<%= absence.soir ? "far fa-check-circle" : "" %>"></i></td>
- <td><% if policy(absence).edit? %>
+ <td>
+ <% if policy(absence).edit? %>
<%= link_to edit_absence_path(absence) do %>
- <i class="far fa-edit"></i>
+ <i class="far fa-edit"></i>
<% end %>
<% end %>
</td>
<td>
<% if policy(absence).destroy? %>
- <%= link_to absence, method: :delete, data: { confirm: 'Etes-vous bien certain.e ???' } do %>
- <i class="fas fa-trash-alt"></i>
- <% end %>
+ <%= link_to absence, method: :delete, data: { confirm: 'Etes-vous bien certain.e ???' } do %>
+ <i class="fas fa-trash-alt"></i>
+ <% end %>
<% end %>
</td>
</tr>
<th>Matin</th>
<th>Midi</th>
<th>Soir</th>
- <th colspan="3"></th>
+ <th colspan="2"></th>
</tr>
- </thead><%= will_paginate @absences, renderer: WillPaginate::ActionView::BootstrapLinkRenderer %>
+ </thead>
+
+ <tfoot><tr><% 10.times do %><th /><% end %></tr></tfoot>
<tbody>
<%= render @absences %>
</tr>
</thead>
+ <tfoot><tr><% 11.times do %><th /><% end %></tr></tfoot>
+
<tbody>
<%= render @comptes %>
</tbody>
</tr>
</thead>
+ <tfoot><tr><% 10.times do %><th /><% end %></tr></tfoot>
+
<tbody>
<%= render @enfants %>
</tbody>
</tr>
</thead>
+ <tfoot><tr><% 10.times do %><th /><% end %></tr></tfoot>
+
<tbody>
<%= render @factures %>
</tbody>
<%= will_paginate @factures, renderer: WillPaginate::ActionView::BootstrapLinkRenderer %>
-<br>
-
<% if policy(Facture).to_xls? %>
<%= link_to "Export XLS", url_for(params.permit(:structure_id, :date_début, :date_fin, :search).merge(format: :xls)) %>
<% end %>
\ No newline at end of file
</tr>
</thead>
+ <tfoot><tr><% 12.times do %><th /><% end %></tr></tfoot>
+
<tbody>
<%= render @paiements %>
</tbody>
<%= will_paginate @paiements, renderer: WillPaginate::ActionView::BootstrapLinkRenderer %>
-<br>
-
<% if policy(Paiement).to_xls? %>
<%= link_to "Export XLS", url_for(params.permit(:structure_id, :date_début, :date_fin, :mode, :search).merge(format: :xls)) %>
<% end %>
\ No newline at end of file
</tr>
</thead>
+ <tfoot><tr><% 9.times do %><th /><% end %></tr></tfoot>
+
<tbody>
<%=render @prestations %>
</tbody>
</tr>
</thead>
+ <tfoot><tr><% 15.times do %><th /><% end %></tr></tfoot>
+
<tbody>
<%= render @reservations %>
</tbody>
</tr>
</thead>
+ <tfoot><tr><% 4.times do %><th /><% end %></tr></tfoot>
+
<tbody>
<%= render @users %>
</tbody>