Added link in operator view to edit job
This commit is contained in:
@@ -45,9 +45,17 @@
|
|||||||
</td>
|
</td>
|
||||||
<% end %>
|
<% end %>
|
||||||
<td class="p-2 py-3 text-right">
|
<td class="p-2 py-3 text-right">
|
||||||
|
<% if job.printing? %>
|
||||||
|
<%= link_to edit_operator_job_path(job) do %>
|
||||||
<span class="badge">
|
<span class="badge">
|
||||||
<%= job.costum_qm_plan.round(2) %> m²
|
<%= job.costum_qm_plan.round(2) %> m²
|
||||||
</span>
|
</span>
|
||||||
|
<% end %>
|
||||||
|
<% else %>
|
||||||
|
<span class="badge">
|
||||||
|
<%= job.costum_qm_plan.round(2) %> m²
|
||||||
|
</span>
|
||||||
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
<td class="w-24 p-2 py-3 text-right">
|
<td class="w-24 p-2 py-3 text-right">
|
||||||
<span class="badge">
|
<span class="badge">
|
||||||
|
|||||||
Reference in New Issue
Block a user