From 1dcac5b6f4be1abb62787aa9e307ef683012cf98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20B=C3=B6hm?= Date: Thu, 3 Oct 2024 18:15:00 +0200 Subject: [PATCH] Changed stats in admin/dashboard --- app/views/admin/dashboards/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/dashboards/show.html.erb b/app/views/admin/dashboards/show.html.erb index c10850e..3eab4aa 100644 --- a/app/views/admin/dashboards/show.html.erb +++ b/app/views/admin/dashboards/show.html.erb @@ -31,8 +31,8 @@
<%= link_to operator_jobs_path() do %>
-

aktuelle Druckaufträge:

-

<%= @jobs.where(status: %i[open printing pickup]).size %>

+

Heutige Druckaufträge:

+

<%= @jobs.currently_working_on.size %>

<% end %> <%= link_to admin_jobs_path() do %>