Sha256: 0900fddbd0ee2a76c7a3bb9bba4858259acfa2dcb32d7c22a669941353ae699e

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 KB

Contents

- in_section :people
- content_for :header do
  %h1 Return 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
        %br
      -if @items.all?(&:returnable?)
        %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

2 entries across 2 versions & 1 rubygems

Version Path
artfully_ose-1.0.0.rc4 app/views/refunds/new.html.haml
artfully_ose-1.0.0.rc3 app/views/refunds/new.html.haml