Sha256: 21ab559c30ef9ca750d47ab9ba901c89c16e55d5dc4365c47364b3fcf4072432

Contents?: true

Size: 1.25 KB

Versions: 2

Compression:

Stored size: 1.25 KB

Contents

- in_section :events
- content_for :header do
  %h1 Door List
  %h2= "#{@show.event.name} at #{@show.event.venue.name}"
  %h3= "#{l @show.datetime_local_to_event, :format => :long_with_day}"

  .from-here
    =link_to "Download as CSV", door_list_event_show_path(@event, @show, format: "csv"), :class => "btn"
    =link_to_function("Toggle Printable View", "javascript:togglePrintPreview()", :class => 'btn')
    =icon_link_to("Return to show", event_show_path(@show.event, @show), 'icon-share-alt', 'btn', '')

.row
  .span12
    - unless @door_list.items.empty?
      #door-list
        %table#door-list.table
          %thead
            %tr
              %th
              %th First
              %th Last
              %th Email
              %th Section
              %th Price
          %tbody
            - @door_list.items.each do |item|
              %tr
                %td= "☐"
                %td= item.buyer.first_name
                %td= item.buyer.last_name
                %td= item.buyer.email
                %td= item.ticket.section.name
                %td= number_as_cents(item.ticket.sold_price)
                %td= ticket_seller_name(item.ticket)
              %tr.no-border
                %td
                %td{:colspan => 6}= item.special_instructions

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
artfully_ose-1.0.0.rc4 app/views/shows/door_list.html.haml
artfully_ose-1.0.0.rc3 app/views/shows/door_list.html.haml