% content_for :title, "Gesamtbestand" %> <% content_for :top_bar_actions do %> <%= link_to new_item_path, class: "py-2 px-4 text-sm font-semibold rounded-lg bg-blue-600 text-white hover:bg-blue-700 flex items-center gap-1.5 shadow-sm transition" do %> Artikel hinzufügen <% end %> <% end %>
| Artikel / Details | Seriennummer (SN) | Aktueller Standort / Inhaber | Sticker-ID | Wert | Aktionen |
|---|---|---|---|---|---|
|
<%= item.name %>
SKU: <%= item.sku %> • <%= item.category.name %>
|
<%= item.serial_number %> | <% if item.user.present? %> 👤 <%= item.user.name %> <% elsif item.room.present? %> 📍 <%= item.room.name_with_building %> <% else %> 📦 Im Hauptlager <% end %> | #<%= item.sticker_id %> | <%= number_to_currency(item.price, unit: "€", separator: ",", delimiter: ".", format: "%n %u") %> | <%= link_to "Details", item_path(item), class: "text-blue-600 hover:text-blue-900 transition" %> <%= link_to "Bearbeiten", edit_item_path(item), class: "text-gray-500 hover:text-gray-700 transition" %> |
Bisher sind keine Inventargegenstände erfasst.
Klicke oben rechts auf "Artikel hinzufügen", um das erste Gerät einzubuchen.