<%= year %>: <%= number_to_currency(sum, unit: "€", separator: ",", delimiter: ".", precision: 2) %>
<% end %><%= year %>: <%= number_to_currency(sum, unit: "€", separator: ",", delimiter: ".", precision: 2) %>
<% end %><%= year %>: <%= number_to_currency(sum, unit: "€", separator: ",", delimiter: ".", precision: 2) %>
<% end %>Gesamtzeit: <%= @total_minutes / 60 %> h <%= @total_minutes % 60 %> min
| Typ | Art | Verbleibend | Soll (h) | Wöchentlich | Vorauss. Ende |
|---|---|---|---|---|---|
| <%= typ.capitalize %> | <%= art.capitalize %> | <%= remaining ? "#{remaining / 60} h #{remaining % 60} min" : "—" %> | <%= soll || "—" %> h | <%= weekly || "—" %> h/Woche | <%= ende.present? ? ende.strftime("%d.%m.%Y") : "—" %> |
| Datum | Zeit | Typ | Art | Kilometer | Pauschale | Aktionen |
|---|---|---|---|---|---|---|
| <%= entry.date.strftime('%d.%m.%Y') %> | <%= entry.hours.to_i %>h <%= entry.minutes.to_i %>min | <%= entry.entry_art == "Fortbildung" ? "Fortbildung" : entry.praktikums_typ.capitalize %> | <%= entry.entry_art == "Fortbildung" ? entry.beschreibung : entry.entry_art.capitalize %> | <%= entry.distance_km.to_f %> km | <%= number_to_currency(entry.kilometer_pauschale, unit: "€", separator: ",", delimiter: ".") %> | <%= link_to 'Bearbeiten', edit_entry_path(entry), class: 'btn btn-sm btn-outline-primary' %> <%= link_to 'Löschen', entry_path(entry), class: 'btn btn-sm btn-outline-danger open-delete-modal' %> |