Skip to content

Commit

Permalink
Merge pull request #384 from nimish13/order_translation_fix
Browse files Browse the repository at this point in the history
use proper scoping to find translations related to order states
  • Loading branch information
damianlegawiec authored Jun 3, 2017
2 parents 8a6480c + 1b3bbbd commit 4eb1f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/views/frontend/spree/users/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<tr>
<td class="order-number"><%= link_to order.number, order_url(order) %></td>
<td class="order-date"><%= l order.completed_at.to_date %></td>
<td class="order-status"><%= Spree.t("order_state.#{order.state}").titleize %></td>
<td class="order-status"><%= Spree.t("order_states.#{order.state}").titleize %></td>
<td class="order-payment-state"><%= Spree.t("payment_states.#{order.payment_state}").titleize if order.payment_state %></td>
<td class="order-shipment-state"><%= Spree.t("shipment_states.#{order.shipment_state}").titleize if order.shipment_state %></td>
<td class="lead text-primary order-total"><%= order.display_total %></td>
Expand Down

0 comments on commit 4eb1f25

Please sign in to comment.