diff --git a/app/views/items/show.html.erb b/app/views/items/show.html.erb index b86351d..6cbcba0 100644 --- a/app/views/items/show.html.erb +++ b/app/views/items/show.html.erb @@ -8,15 +8,15 @@
SKU: <%= @item.sku.presence || "-" %>
-Type: <%= @item.type.presence || "-" %>
-Unit Price: <%= number_to_currency(@item.unit_price) %>
+<%=t(:field_sku)%>: <%= @item.sku.presence || "-" %>
+<%=t(:label_type)%>: <%= @item.type.presence || "-" %>
+<%=t(:field_unit_price)%>: <%= number_to_currency(@item.unit_price) %>
Account: <%= @item.account&.name || "-" %>
+<%=t(:label_account)%>: <%= @item.account&.name || "-" %>
- Taxable: + <%=t(:field_taxable)%>: <% if @item.taxable %> <%=t(:yes)%> <% else %> @@ -24,7 +24,7 @@ <% end %>
- Active: + <%=t(:label_active)%>: <% if @item.active %> <%=t(:yes)%> <% else %> @@ -36,7 +36,7 @@
Description:
+<%=t(:label_description)%>: