Reference name of payment method rather than payment method itself

This commit is contained in:
Rob H
2012-12-07 14:30:05 +11:00
parent 58a79e9b0c
commit 3a3f427a8d

View File

@@ -16,7 +16,7 @@ Subtotal: <%= number_to_currency @order.item_total %>
<% end %>
Order Total: <%= number_to_currency(@order.total) %>
<% if @order.payment_method.include? "EFT" %>
<% if @order.payment_method.name.include? "EFT" %>
============================================================
Payment Details
============================================================