- if !logado_na_alteracao_orcamentaria?
.widget
header>
h5
' Lista de
span.fw-semi-bold Contas Bancárias da Unidade
.widget-body
- if contas.empty?
h6 Nenhum registro encontrado.
- else
table.table.table-hover.table-responsive
thead
tr
th Banco
th Agência
th Conta
th width="200" Data de Abertura
th width="200" Tipo de Conta
tbody
- contas.each do |conta|
tr
- unless conta.conta_unidade.conta_caixa_pcasp?
td = conta.conta_unidade.agencia.banco.try(:numero_do_banco_e_nome)
td = conta.conta_unidade.agencia.try(:numero_da_agencia)
td = conta.conta_unidade.try(:numero_da_conta)
td = conta.conta_unidade.try(:data_de_abertura)
td = conta.conta_unidade.localizar(:tipo_de_conta)