houdini/app/views/settings/_payouts.html.erb

26 lines
784 B
Text

<header class='pane-header'>
<h3>Payouts</h3>
</header>
<section class='pane-inner'>
<% if @nonprofit.can_make_payouts %>
<p>Your connected bank account is <strong><%= @nonprofit.bank_account && @nonprofit.bank_account.name %></strong>.
<% if current_role?(:nonprofit_admin) %>
<a class='button--micro edit'>
<!--= on 'click' (open_modal 'newBankModal') -->
<i class='fa fa-pencil'></i> Change Bank Account
</a>
<% end %>
</p>
<% else %>
<%= render 'nonprofits/payouts/todos' %>
<% end %>
<p class='u-marginTop--15'>
<a href='<%= nonprofits_payouts_url(@nonprofit) %>'> View your payout history </a>
</p>
</section><!-- pane-inner -->
<%= render 'nonprofits/payouts/identity_verification_modal' %>
<%= render 'nonprofits/bank_accounts/modal' %>