p
' Conta Configurável:
span.label.label-info C
.pull-right style="margin-top: -30px;"
span.help-block
' Lista de Contas que possuem movimentações
.widget
header>
h5
' Lista de
span.fw-semi-bold Contas Detalhadas
.widget-body
- if @contas.empty?
h6 Nenhum registro encontrado.
- else
.table-responsive
table.table.table-hover
thead
tr
th Conta
th TÃtulo
th Saldo Inicial
th width="120" Débito
th width="120" Crédito
th width="120" Saldo Final
th width="60" Detalhes
tbody
- @contas.each do |conta|
tr
td style='font-size: 0.9em;' = conta.codigo_formatado.to_s
td style='font-size: 0.9em;'
= conta.nome.to_s + " "
- unless conta.importada_do_pcasp
span.label.label-info C
td style='font-size: 0.9em;' = conta.saldo_inicial.to_f.real_contabil
td style='font-size: 0.9em;' = conta.valor_total_debitos.to_f.real_contabil
td style='font-size: 0.9em;' = conta.valor_total_creditos.to_f.real_contabil
td style='font-size: 0.9em;' = conta.saldo_total.to_f.abs.real_contabil
td.align-center style='font-size: 0.9em;'
= link_to contabilidade_consulta_balancete_de_verificacao_path(conta.id), class: "btn btn-default btn-sm", title: 'Detalhes' do
i.icone-detalhar
= will_paginate @contas, previous_label: "<", next_label: ">"