<%= HousePn.label %> della persona:

'>
<% @house_pns = HousePn.where(person_id: @person.id).ordered_by_date_desc %> <%= view_table_open %> <%= view_table_head_open %> <%= view_table_row_open %> <%= view_table_head_cell_span 3 %> <% if !pundit_user.has_house_policyscope?(HousePn) %> <%= view_table_head_cell ( link_to(HousePn.human_attribute_name(:house_id), houses_path ) ) %> <% end %> <%= view_table_head_cell HousePn.human_attribute_name(:data) %> <%= view_table_head_cell HousePn.human_attribute_name(:importo) %> <%= view_table_head_cell ( link_to(HousePn.human_attribute_name(:house_pn_fund_id), house_pn_funds_path ) ) %> <%= view_table_head_cell HousePn.human_attribute_name(:competenza) %> <%= view_table_head_cell ( link_to(HousePn.human_attribute_name(:person_id), people_path ) ) %> <%= view_table_head_cell HousePn.human_attribute_name(:descrizione) %> <%= view_table_head_cell HousePn.human_attribute_name(:house_crb_id) %> <%= view_table_row_close %> <%= view_table_head_close %> <%= view_table_body_open %> <% @house_pns.each do |house_pn| %> <% bg = nil %> <%= view_table_row_open %> <%= view_table_cell ( iconbutton_view house_pn, '') %> <%= view_table_cell ( iconbutton_edit edit_house_pn_path(house_pn), '') %> <%#= view_table_cell ( iconbutton_delete house_pn, '') %> <%#= view_table_cell ( iconbutton_print(print_house_pns_path, '', @filter_params.merge(print_what: SrgPnsHelper::PrintRicevuta, id: house_pn.id)) ) %> <%= view_table_cell_tooltip 'Giroconto di questo movimento', ( iconbutton_to(movement_transfer_house_pns_path, icon('exchange-alt'), 'btn-info btn-xs', nil, @filter_params.merge(id: house_pn.id) ) ) %> <% if !pundit_user.has_house_policyscope?(HousePn) %> <%= view_table_cell ( house_pn.house_id ? link_to( house_pn.house.format_for_formselect, house_path(house_pn.house_id) ) : nil ), bg %> <% end %> <%= view_table_cell ( house_pn.data.present? ? house_pn.data.to_dmy : nil ), bg %> <%= view_table_cell_right ( money_color_incasso house_pn.importo ), bg %> <%= view_table_cell ( house_pn.house_pn_fund_id.present? ? link_to(house_pn.house_pn_fund.descrizione, house_pn_fund_path(house_pn.house_pn_fund_id) ) : nil ), bg %> <%= view_table_cell ( house_pn.competenza.present? ? daterange_name(house_pn.competenza) : nil ), bg %> <%= view_table_cell ( house_pn.person_id ? link_to( house_pn.person.dh_person_name, person_path(house_pn.person_id) ) : nil ), bg %> <%= view_table_cell ( house_pn.descrizione ), bg %> <%= view_table_cell ( link_to( house_pn.house_crb.format_for_formselect, house_crb_path(house_pn.house_crb_id)) ), bg %> <%= view_table_row_close %> <% end %> <%= view_table_body_close %> <%= view_table_close %>

<%= icon('chevron-up') %> Torna all'inizio della pagina