| Tipo de Pagamento | Percentual | Dias | Apagar | |
|---|---|---|---|---|
| <%= link_to objTipoPagamento.descricao, objTipoPagamento %> | <%= h number_to_percentage(forma_pagamento_item.percentual, {:precision => 2, :separator => ","}) %> | <%= h forma_pagamento_item.dias %> | <%= link_to (image_tag('excluir.gif', :class => 'icon')), forma_pagamento_item, :confirm => 'Confirma exclusão deste item?', :method => :delete %> | |
| Percentual Total | <% if @percentual_total[0].soma != '100' then %><% end %> <% if @percentual_total[0].soma == '100' then %> | <% end %> <%= @percentual_total[0].soma %>% | ||