typo on class test

This commit is contained in:
paulcc 2009-07-13 08:47:28 +01:00
parent 211efffe5f
commit fa6d87f465
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<div class='adr'>
<%# look at the most recent (= up to date) payment %>
<% 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>
<%= render :partial => 'admin/shared/address', :locals => {:address => @order.bill_address} %>
<% else %>