header.br h5 - if @liquidacao.present? && @liquidacao.sem_nota? span.fw-semi-bold Retenções - else span.fw-semi-bold Retenções Folha de Pagamento .widget-body - if retencoes.empty? h5 Nenhuma retenção calculada. - else .table-responsive table.table.table-hover thead tr th style="width: 30%" Tipo th style="width: 20%" Ação th style='width: 20%' Valor Total - if @pagamento.present? th style="width: 20%" Conta Destino th TALÃO DE RECEITA th th tbody - retencoes.each do |retencao| tr td = retencao.conta_extra_orcamentaria.descricao td = retencao.tipo_de_acao_i18n td = retencao.valor_calculado.to_f.real_contabil td = retencao.conta_destino.to_s td.text-center .col-md-12 .pull-right ' Total das Retenções: span.fw-semi-bold = retencoes.sum(:valor_calculado).to_f.real_contabil -if @pagamento.try(:taloes_de_receita).present? p strong Talão(ões) de Receita(s) Gerado(s): - @pagamento.taloes_de_receita.order('data_do_talao DESC').each_with_index do |talao, index| = ", " if index != 0 span / =< link_to talao.try(:numero_do_talao), contabilidade_talao_de_receita_path(talao), target: "_blank", rel: 'noopener'