#{daterange_name(emo_month.competenza)}
" ) %> <% if emo_month.emo_function_id.present? %> <%= view_table_cell ( "#{emo_month.emo_function.person_id.present? ? link_to( emo_month.emo_function.person.dh_person_name, person_path(emo_month.emo_function.person) ) : nil }
" ) %> <%= view_table_cell ( emo_month.emo_function_id.present? ? link_to( emo_month.emo_function.descrizione, emo_function_path(emo_month.emo_function) ) : nil) %> <%= view_table_cell ( emo_month.emo_function.emo_fund_id.present? ? link_to( emo_month.emo_function.emo_fund.codice, emo_fund_path(emo_month.emo_function.emo_fund) ) : nil) %> <% else %> <%= view_table_cell ('') %> <%= view_table_cell ('') %> <%= view_table_cell ('') %> <% end %> <%= view_table_cell_right ( emo_month.ore_effettive) %> <%= view_table_cell_right ( emo_month.ore_bp) %> <%= view_table_cell_right ( emo_month.monthly_hours) %> <%= view_table_cell_right ( money_format(emo_month.rimborsi_vari) ) %> <%= view_table_cell_right ( money_format(emo_month.rimborso_bp) ) %> <%= view_table_cell_right ( emo_month.rimborso_km) %> <%= view_table_cell_right ( money_format(emo_month.totalemese_importo) ) %> <%= view_table_cell_right ( money_format(emo_month.busta_paga) ) %> <%= view_table_cell_right ( money_format(emo_month.compenso_importo) ) %> <%= view_table_cell_right ( money_format(emo_month.importo_versato - emo_month.importo_scalato) ) %> <%= view_table_cell_right ( money_format(emo_month.importo_dapagare) ) %> <%= view_table_cell ( emo_month.get_status_icon(emo_month.status_pagamenti) ) %> <% lastdata = emo_month.get_versamento_lastdate %> <%= view_table_cell ( lastdata.present? ? lastdata.to_dmy : nil ) %> <% lastdata = emo_month.get_scalo_lastdate %> <%= view_table_cell ( lastdata.present? ? "#{daterange_name(lastdata)}
" : nil ) %> <%= view_table_cell ( emo_month.note) %> <%= view_table_row_close %> <% end %> <%= view_table_body_close %> <%= view_table_close %> <%= will_paginate @emo_months %> <% end %>