Changed stats in admin/dashboard
This commit is contained in:
@@ -31,8 +31,8 @@
|
||||
<div class="flex space-x-2">
|
||||
<%= link_to operator_jobs_path() do %>
|
||||
<div class="p-4 shadow bg-gray-50">
|
||||
<h2 class="text-xl">aktuelle Druckaufträge:</h2>
|
||||
<p class="size-28"><%= @jobs.where(status: %i[open printing pickup]).size %></p>
|
||||
<h2 class="text-xl">Heutige Druckaufträge:</h2>
|
||||
<p class="size-28"><%= @jobs.currently_working_on.size %></p>
|
||||
</div>
|
||||
<% end %>
|
||||
<%= link_to admin_jobs_path() do %>
|
||||
|
||||
Reference in New Issue
Block a user