Visualizza <%= HousePnFund.label(1) %>
<%= iconbutton_backtoindex house_pn_funds_path, "Vai all'elenco", @filter_params %>
<%= edit_table_open %>
<% if !pundit_user.has_house_policyscope?(HousePn) %>
<%= edit_table_row HousePnFund.human_attribute_name(:house_id),( @house_pn_fund.house_id ? link_to( @house_pn_fund.house.format_for_formselect, house_path(@house_pn_fund.house) ) : nil ) %>
<% end %>
<%= edit_table_row HousePnFund.human_attribute_name(:descrizione),(@house_pn_fund.descrizione) %>
<% if current_user.nil? ? false : current_user.admin? %>
<%= edit_table_row HousePnFund.human_attribute_name(:is_default),(check_box_tag :is_default, :is_default, @house_pn_fund.is_default, disabled: true) %>
<% end %>
<% saldo_cassa = HousePn.where(house_id: @house_pn_fund.house_id, house_pn_fund_id: @house_pn_fund.id).sum(:importo) %>
<%= edit_table_row ('Saldo:'),( money_format(saldo_cassa) ) %>
<%= edit_table_close %>
<%= show_record_info(@house_pn_fund) %>
<%= iconbutton_backtoindex house_pn_funds_path, "Vai all'elenco", @filter_params %>
<%= iconbutton_edit edit_house_pn_fund_path(@house_pn_fund, @filter_params) %>
<%= iconbutton_delete @house_pn_fund, 'Elimina' %>