typo on class test
This commit is contained in:
parent
211efffe5f
commit
fa6d87f465
|
@ -11,7 +11,7 @@
|
||||||
<div class='adr'>
|
<div class='adr'>
|
||||||
<%# look at the most recent (= up to date) payment %>
|
<%# look at the most recent (= up to date) payment %>
|
||||||
<% payment = @order.payments.last %>
|
<% payment = @order.payments.last %>
|
||||||
<% if payment.class == "CreditcardPayment" %>
|
<% if payment.class == CreditcardPayment %>
|
||||||
<h4><%= link_to t("bill_address"), edit_admin_order_creditcard_payment_url(@order, payment) %></h4>
|
<h4><%= link_to t("bill_address"), edit_admin_order_creditcard_payment_url(@order, payment) %></h4>
|
||||||
<%= render :partial => 'admin/shared/address', :locals => {:address => @order.bill_address} %>
|
<%= render :partial => 'admin/shared/address', :locals => {:address => @order.bill_address} %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|
Loading…
Reference in New Issue