mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Reference name of payment method rather than payment method itself
This commit is contained in:
@@ -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
|
||||
============================================================
|
||||
|
||||
Reference in New Issue
Block a user