Updated seed and model costumer association

This commit is contained in:
2024-08-28 21:33:22 +02:00
parent 4bbb5926b1
commit 017d6d25ae
4 changed files with 13 additions and 9 deletions

View File

@@ -7,7 +7,7 @@
<strong class="mb-1 font-medium">Operator ID:</strong>
<%= job.operator_id %>
<% if job.operator %>
(<%= job.operator.name %>)
- <%= job.operator.name %> (<%= job.operator.email %>)
<% else %>
-
<% end %>
@@ -16,7 +16,7 @@
<strong class="mb-1 font-medium">Costumer ID:</strong>
<%= job.costumer_id %>
<% if job.costumer %>
(<%= job.costumer.name %>)
- <%= job.costumer.name %> (<%= job.costumer.email %>)
<% else %>
-
<% end %>