Sha256: 3612976f85d4523aa80a2f3bca4a5726395e33037c976708e4007ebeec11c7bf

Contents?: true

Size: 793 Bytes

Versions: 11

Compression:

Stored size: 793 Bytes

Contents

%table.standalone.table
  %thead
    %tr
      %th Discount Code
      %th Type
      %th.right{:style=>'width:100px'} Tickets
      %th.right{:style=>'width:100px'} Discounted
      %th.right{:style=>'width:100px'} 
      %th.right{:style=>'width:100px'} 
  %tbody
    - if statement.discount_rows.empty?
      %tr
        %td{:colspan => 6} No discounts used for this show

    - statement.discount_rows.each do |discount_code, row|
      %tr
        %td=discount_code
        %td=row.type
        %td.right=row.tickets
        %td.right 
          %strong=number_as_cents row.discount
        %td.right
        %td.right
    %tr
      %td.right{:colspan => 6}
        = icon_link_to "Slices", statement_slices_path(@show.id, 'slice[]' => 'discount_code_proc'), 'fa-chevron-right', 'btn', ''

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
artfully_ose-1.3.0.pre4 app/views/statements/_discounts_table.html.haml
artfully_ose-1.3.0.pre3 app/views/statements/_discounts_table.html.haml
artfully_ose-1.3.0.pre2 app/views/statements/_discounts_table.html.haml
artfully_ose-1.3.0.pre1 app/views/statements/_discounts_table.html.haml
artfully_ose-1.2.0 app/views/statements/_discounts_table.html.haml
artfully_ose-1.2.0.beta.1 app/views/statements/_discounts_table.html.haml
artfully_ose-1.2.0.alpha.2 app/views/statements/_discounts_table.html.haml
artfully_ose-1.2.0.alpha.1 app/views/statements/_discounts_table.html.haml
artfully_ose-1.2.0.pre.27 app/views/statements/_discounts_table.html.haml
artfully_ose-1.2.0.pre.26 app/views/statements/_discounts_table.html.haml
artfully_ose-1.2.0.pre.24 app/views/statements/_discounts_table.html.haml