fieldset legend strong Dados do Projeto .form-group .row .col-sm-3 p strong Nº do Projeto: =< @projeto.try(:pedido).try(:numero) .col-sm-3 p strong Data do Projeto: =< @projeto.data_do_projeto .col-sm-6 p strong Valor do PB em Elaboração: =< @projeto.try(:valor_estimado_global).try(:real_contabil) .form-group .row .col-sm-12 table.table.table-hover.table-responsive style="font-size: 95%;" thead tr th width="30%" Projeto/Atividade th Elemento de Despesa th width="8%" Fonte th width="15%" Saldo Atualizado da Dotação th width="15%" Valor do Déficit tbody - @projeto.orcamentos_da_despesa_por_projetos.each do |dotacao| tr td = dotacao.orcamento_da_despesa.elemento_de_despesa_por_subacao.subacao.try(:acao).try(:codigo_e_nome) td = dotacao.try(:sub_elemento_de_despesa).try(:elemento_de_despesa).try(:codigo_e_descricao) td style="padding-left: 20px;" span.fa.fa-question-circle data-toggle="tooltip" data-placement="bottom" title="#{dotacao.orcamento_da_despesa.try(:codigo_e_descricao_fonte)}" td = dotacao.orcamento_da_despesa.saldo.try(:real_contabil) td = (@projeto.valor_estimado_global.to_f - dotacao.orcamento_da_despesa.saldo.to_f).try(:real_contabil)