houdini/app/views/nonprofits/payouts/_payout_button.html.erb

6 lines
234 B
Text

<% if current_role?(:nonprofit_admin) && @can_make_payouts && QueryPayments.ids_for_payout(@nonprofit.id).any? %>
<a class='table-meta-button--left'>
<!--= on 'click' (open_modal 'newPayoutModal') -->
Make Payout
</a>
<% end %>