tap/app/views/orders/_order.html.erb

13 lines
202 B
Text

<tr>
<td class="order_date">
<%= order.created_at.strftime("%d %b %Y at %H:%M") %>
</td>
</tr>
<tr>
<td>
<%= order.to_sentence %>
</td>
<td>
<%= euro(order.price) %>
</td>
</tr>