Changeset 1344

Show
Ignore:
Timestamp:
02/27/07 14:17:37 (2 years ago)
Author:
james
Message:

accept null for coupon

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • peasantonline/app/views/admin/_show_line_items.rhtml

    r1343 r1344  
    3535<% end %> 
    3636<%= 
     37@subtotal = total_price 
     38@discount = 0 
     39 
     40 
    3741if @order.coupon_id 
    3842        @valid_coupon = Coupon.find(@order.coupon_id) 
    39         @subtotal = total_price 
    40         @discount = 0 
    4143         
    4244        if @valid_coupon