Skip to content

Commit

Permalink
fixing orders show template
Browse files Browse the repository at this point in the history
  • Loading branch information
borod108 committed Oct 5, 2013
1 parent c0169eb commit 567f9a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/orders/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<tr>
<% item = sale.item_line.item%>
<td><%= sale.order.user.email if sale.order.user.email %></td>
<td><%= sale.sales_person.email %></td>
<td><%= User.find(sale.sales_person_id).email if sale.sales_person_id%></td>
<td><%= item.name %></td>
<td><%= item.item_type.department.name %></td>
<td><%= sale.client %></td>
Expand Down

0 comments on commit 567f9a4

Please sign in to comment.