<% if flash[:success] %>
<%== flash[:success] %>
<% end %>
<% if flash[:error] %>
<%== flash[:error] %>
<% end %>
Generated Invoices
<% if @invoices.empty? && !current_site.paypal_profile_id %>No generated invoices.
<% else %>
<% @invoices.each do |invoice| %>
<%= Time.at(invoice.date).strftime('%m/%d/%y') %> - PDF
<% end %>
PayPal invoices are available on their web site.
<% end %>