Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% if @customer.pos.nil? %>
- <tr>
- <td></td>
- <td></td>
- <td><p>No Purchase Orders Yet for this Customer</p></td>
- <td></td>
- <td></td>
- <td></td>
- </tr>
- <% else %>
- <% for po in @customer.pos %>
- <tr>
- <td><%=h po.po_number %></td>
- <td><%=h po.vendor %></td>
- <td><%=h po.vendor_phone %></td>
- <td><%=h po.vendor_url %></td>
- <td><%=h po.created_at %></td>
- <td><%=h po.updated_at %></td>
- <td><%= link_to 'Show', po %></td>
- </tr>
- <% end %>
- <% end %>
Add Comment
Please, Sign In to add comment