<% case params[:print_what] %> <% when SrgPnsHelper::PrintDistintaCentriDiCosto then %> <%= render 'printdistintacentridicosto' %> <% when SrgPnsHelper::PrintDistintaCassa then %> <%= render 'printdistintacassa' %> <% when SrgPnsHelper::PrintDistintaCRB then %> <%= render 'printdistintacrb' %> <% when SrgPnsHelper::PrintEstrattoconto then %> <%= render 'printestrattoconto' %> <% when SrgPnsHelper::PrintRicevuta then %> <%= render 'printricevuta' %> <% when SrgPnsHelper::PrintBilancio then %> <%= render 'printbilancio' %> <% else %>

Stampa: <%= params[:print_what] %>

non definita!

<% end %>