|
|
@ -14,6 +14,11 @@
|
|
|
|
<td><%= display_text prize_user.approver&.real_name %></td>
|
|
|
|
<td><%= display_text prize_user.approver&.real_name %></td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="action-container">
|
|
|
|
<td class="action-container">
|
|
|
|
|
|
|
|
<% if prize_user.leader? && prize_user.competition_prize.category == 'bonus' %>
|
|
|
|
|
|
|
|
<% bank_content = [prize_user.extra&.[]('bank'), prize_user.extra&.[]('second_bank'), prize_user.extra&.[]('card_no')].compact.join('<br>').presence || '无' %>
|
|
|
|
|
|
|
|
<%= javascript_void_link('查看银行账户', data: { toggle: 'popover', title: '银行账号', content: bank_content.html_safe }) %>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<% if prize_user.pending? %>
|
|
|
|
<% if prize_user.pending? %>
|
|
|
|
<%= link_to('审批通过', approve_admins_competition_competition_prize_user_path(prize_user.competition, prize_user),
|
|
|
|
<%= link_to('审批通过', approve_admins_competition_competition_prize_user_path(prize_user.competition, prize_user),
|
|
|
|
data: { confirm: '确认审批通过吗?' },
|
|
|
|
data: { confirm: '确认审批通过吗?' },
|
|
|
|