app/views/sales/new.html.haml in artfully_ose-1.0.0.rc4 vs app/views/sales/new.html.haml in artfully_ose-1.1.0.rc1

- old
+ new

@@ -53,21 +53,21 @@ .span4 %h6 Payment #payment-controls.controls %label.radio - = radio_button_tag(:payment_method, :cash, true, :class => 'payment-method', :disabled => 'true') + = radio_button_tag(:payment_method, :cash, true, :class => 'payment-method', :disabled => 'true', :humanized_value => 'Cash') Cash %label.radio - = radio_button_tag(:payment_method, :comp, false, :class => 'payment-method', :disabled => 'true') + = radio_button_tag(:payment_method, :comp, false, :class => 'payment-method', :disabled => 'true', :humanized_value => 'Comp') Comp -unless @event.is_free %label.radio - = radio_button_tag(:payment_method, :credit_card_swipe, false, :class => 'payment-method', :disabled => 'true') + = radio_button_tag(:payment_method, :credit_card_swipe, false, :class => 'payment-method', :disabled => 'true', :humanized_value => 'Credit card') Credit (Swipe) %label.radio - = radio_button_tag(:payment_method, :credit_card_manual, false, :class => 'payment-method', :disabled => 'true') + = radio_button_tag(:payment_method, :credit_card_manual, false, :class => 'payment-method', :disabled => 'true', :humanized_value => 'Credit card') Credit (Manual) #payment-info.hidden .control-group = label_tag("credit_card[cardholder_name]", "Name on Card") .controls= text_field_tag("credit_card[name]", params[:credit_card][:cardholder_name]) @@ -81,25 +81,10 @@ = select_tag("credit_card[year]", options_for_select(Time.now.year..Time.now.year + 10, params[:credit_card]["year"]), :class => 'input-small inline') #door-list %h3 Door List - %table.standalone.table - %thead - %tr - %th - %th Buyer - %th Email - %th Section - %th Price - %tbody - - @door_list.items.each do |item| - %tr - %td= "☐" - %td= "#{item.buyer.first_name} #{item.buyer.last_name}" - %td= item.buyer.email - %td= item.ticket.section.name - %td= number_as_cents(item.ticket.price) + = render :partial => 'shared/door_list_table', :locals => { :door_list_items => @door_list.items} = render "shared/new_person_popup" #sell-popup.modal .modal-header