Associazioni

<%= iconbutton_new new_organization_path %>
<%= view_table_open %> <%= view_table_head_open %> <%= view_table_row_open %> <%= view_table_head_cell_span 3 %> <%= view_table_head_cell Membership.human_attribute_name(:codice) %> <%= view_table_head_cell Membership.human_attribute_name(:attiva) %> <%= view_table_head_cell Membership.human_attribute_name(:interna) %> <%= view_table_head_cell Membership.human_attribute_name(:esterna) %> <%= view_table_head_cell Membership.human_attribute_name(:descrizione) %> <%= view_table_head_cell Membership.human_attribute_name(:ragione_sociale) %> <%= view_table_head_cell Membership.human_attribute_name(:name_only) %> <%= view_table_head_cell Membership.human_attribute_name(:quota_associativa) %> <%= view_table_head_cell Membership.human_attribute_name(:quota_associativa_junior) %> <%= view_table_head_cell ( link_to(Membership.human_attribute_name(:srg_qec_fund_id),srg_qec_funds_path) ) %> <%= view_table_head_cell Membership.human_attribute_name(:quota_detraibile) %> <%= view_table_head_cell Membership.human_attribute_name(:ordine_detrazione) %> <%= view_table_head_cell Membership.human_attribute_name(:sede_comune) %> <%= view_table_head_cell Membership.human_attribute_name(:sede_indirizzo) %> <%= view_table_head_cell Membership.human_attribute_name(:cod_fiscale) %> <%= view_table_head_cell Membership.human_attribute_name(:p_iva) %> <%= view_table_head_cell Membership.human_attribute_name(:email) %> <%= view_table_head_cell Membership.human_attribute_name(:telefono) %> <%= view_table_head_cell Membership.human_attribute_name(:numeroconacreis_TCN) %> <%= view_table_head_cell Membership.human_attribute_name(:numeroconacreis_TCR) %> <%= view_table_head_cell Membership.human_attribute_name(:numeroconacreis_RC) %> <%= view_table_head_cell Membership.human_attribute_name(:tesseraconacreis_start) %> <%= view_table_head_cell Membership.human_attribute_name(:tesseraconacreis_end) %> <%= view_table_head_cell Membership.human_attribute_name(:tesseraconacreis_start2) %> <%= view_table_head_cell Membership.human_attribute_name(:tesseraconacreis_end2) %> <%= view_table_row_close %> <%= view_table_head_close %> <%= view_table_body_open %> <% @organizations.each do |organization| %> <%= view_table_row_open %> <%= view_table_cell ( iconbutton_view organization, '') %> <%= view_table_cell ( iconbutton_edit edit_organization_path(organization), '') %> <%#= view_table_cell ( iconbutton_delete organization, '') %> <%= view_table_cell ( iconbutton_to memberships_path, icon('list'), 'btn-success btn-xs', '', @filter_params.merge(filterorganization_id: organization.id) ) %> <%= view_table_cell ( link_to(organization.codice,organization_path(organization)) ) %> <%= view_table_cell ( check_box_tag :attiva, :attiva, organization.attiva, disabled: true) %> <%= view_table_cell ( check_box_tag :interna, :interna, organization.interna, disabled: true) %> <%= view_table_cell ( check_box_tag :esterna, :esterna, organization.esterna, disabled: true) %> <%= view_table_cell ( link_to(organization.descrizione,organization_path(organization)) ) %> <%= view_table_cell (organization.ragione_sociale) %> <%= view_table_cell (organization.name_only) %> <%= view_table_cell (organization.quota_associativa) %> <%= view_table_cell (organization.quota_associativa_junior) %> <%= view_table_cell (organization.srg_qec_fund_id.present? ? link_to(organization.srg_qec_fund.format_for_formselect,srg_qec_fund_path(organization.srg_qec_fund_id)) : nil) %> <%= view_table_cell ( check_box_tag :quota_detraibile, :quota_detraibile, organization.quota_detraibile, disabled: true) %> <%= view_table_cell (organization.ordine_detrazione) %> <%= view_table_cell (organization.sede_comune) %> <%= view_table_cell (organization.sede_indirizzo) %> <%= view_table_cell (organization.cod_fiscale) %> <%= view_table_cell (organization.p_iva) %> <%= view_table_cell (organization.email) %> <%= view_table_cell (organization.telefono) %> <%= view_table_cell (organization.numeroconacreis_TCN) %> <%= view_table_cell (organization.numeroconacreis_TCR) %> <%= view_table_cell (organization.numeroconacreis_RC) %> <%= view_table_cell (organization.tesseraconacreis_start) %> <%= view_table_cell (organization.tesseraconacreis_end) %> <%= view_table_cell (organization.tesseraconacreis_start2) %> <%= view_table_cell (organization.tesseraconacreis_end2) %> <%= view_table_row_close %> <% end %> <%= view_table_body_close %> <%= view_table_close %>