Sha256: 2be561a212ca3eb44feb6534d6acc0dd25d2528657dd6e04244ed0983039c245
Contents?: true
Size: 1.14 KB
Versions: 16
Compression:
Stored size: 1.14 KB
Contents
<% content_for :content_title, "Outstanding Payments<small>by user</small>".html_safe %> <%= panel body: false, title: "#{@unpaid.count} Unpaid Participants" do %> <table class="table table-bordered table-condensed table-striped"> <thead> <tr> <th> </th> <th>Workshop</th> <th class="receipt_code">Receipt</th> <th class="cost">Balance</th> <th class="date">Registered</th> </tr> </thead> <% @unpaid.each do |item| -%> <tbody> <tr><th scope="rowgroup" colspan="5"><strong><%= item[0] %></strong></th></tr> <% item[1].each do |registration| %> <tr> <td> </td> <td><%= link_to registration.workshop.title, edit_admin_registration_path(registration) %></td> <td class="receipt_code" style="white-space:nowrap"><%= registration.receipt_code %></td> <td class="cost"><%= registration.balance_owed.format %></td> <td class="date" style="white-space:nowrap"><%= format_date(registration.created_at) %></td> </tr> <% end %> </tbody> <% end %> </table> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems