Sha256: 980cb67bc8142ab8171a52b93a3d633a9d1b4da420eafa008dc29781f4bbdd32

Contents?: true

Size: 1.02 KB

Versions: 17

Compression:

Stored size: 1.02 KB

Contents

- in_section :people
- content_for :header do
  %h1 Refund Tickets

.row
  .span8.offset2
    = form_tag refunds_path do

      = hidden_field_tag :order_id, @order.id

      - @items.each do |item|
        = hidden_field_tag "items[]", item.id

      %table.table
        %thead
          %tr
            %th
              Event
            %th
              Show
            %th
              Price
            %th
              Sold
        - @items.each do |item|
          - if item.ticket?
            %tr
              %td=item.product.show.event.name
              %td=l item.product.show.datetime_local_to_event, :format => :short
              %td=number_as_cents item.product.price
              %td=number_as_cents item.price

      %p
        Refund these tickets and return them to inventory
        %br
        = submit_tag "Issue Refund and Return", :class => "btn"
      %p
        %br
      %p
        Refund these tickets and keep the tickets out of inventory.
        %br
        = submit_tag "Issue Refund", :class => "btn"

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.15 app/views/refunds/new.html.haml
artfully_ose-1.2.0.pre.12 app/views/refunds/new.html.haml
artfully_ose-1.2.0.pre.11 app/views/refunds/new.html.haml
artfully_ose-1.2.0.pre.10 app/views/refunds/new.html.haml
artfully_ose-1.2.0.pre.9 app/views/refunds/new.html.haml
artfully_ose-1.2.0.pre.8 app/views/refunds/new.html.haml
artfully_ose-1.2.0.pre.7 app/views/refunds/new.html.haml
artfully_ose-1.2.0.pre.6 app/views/refunds/new.html.haml
artfully_ose-1.2.0.pre.5 app/views/refunds/new.html.haml
artfully_ose-1.2.0.pre.4 app/views/refunds/new.html.haml
artfully_ose-1.2.0.pre.3 app/views/refunds/new.html.haml
artfully_ose-1.2.0.pre.2 app/views/refunds/new.html.haml
artfully_ose-1.2.0.pre.1 app/views/refunds/new.html.haml
artfully_ose-1.2.0.pre app/views/refunds/new.html.haml
artfully_ose-1.1.0 app/views/refunds/new.html.haml
artfully_ose-1.1.0.rc2 app/views/refunds/new.html.haml
artfully_ose-1.1.0.rc1 app/views/refunds/new.html.haml