<%= 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 %><%= year %>: <%= number_to_currency(sum, unit: "€", separator: ",", delimiter: ".", precision: 2) %>
<% end %><%= year %>: <%= number_to_currency(sum, unit: "€", separator: ",", delimiter: ".", precision: 2) %>
<% end %>Total: <%= @total_minutes / 60 %>h <%= @total_minutes % 60 %> min
Propädeutikum: <%= @total_minutes_praktikum_prop / 60 %>h <%= @total_minutes_praktikum_prop % 60 %> min
Fachspezifikum: <%= @total_minutes_praktikum_fach / 60 %>h <%= @total_minutes_praktikum_fach % 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 | Beschreibung | Kilometer | Pauschale | Kosten | Zählt als Fortbildung | Aktionen |
|---|---|---|---|---|---|---|---|---|---|
| <%= entry.date.strftime('%d.%m.%Y') %> | <%= entry.hours.to_i %>h <%= entry.minutes.to_i %>min | <%= ["Fortbildung", "Semesterkosten"].include?(entry.entry_art) ? entry.entry_art : entry.praktikums_typ.capitalize %> | <%= ["Fortbildung", "Semesterkosten"].include?(entry.entry_art) ? entry.beschreibung : entry.entry_art.capitalize %> | <%= entry.beschreibung %> | <%= entry.distance_km.to_f %> km | <%= number_to_currency(entry.kilometer_pauschale, unit: "€", separator: ",", delimiter: ".") %> | <%= number_to_currency(entry.kosten, unit: "€", separator: ",", delimiter: ".") %> | <%= check_box_tag "fortbildung_#{entry.id}", '1', entry.zaehlt_als_fortbildung, disabled: true %> |
<%= 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' %>
|