.widget header h3.show-header ' Movimentações da Conta .widget-body - if movimentacoes.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th width="100" Data th Gerador th width="130" Débito th width="130" Crédito tbody - movimentacoes.order(data_de_lancamento: :desc).each do |movimentacao| tr td = movimentacao.data_de_lancamento.to_date td = movimentacao.descricao_da_movimentacao.to_s td = movimentacao.valor.real_contabil if movimentacao.debito? td = movimentacao.valor.real_contabil if movimentacao.credito? tfoot tr td colspan="2" align="right" strong Saldo Total: td colspan="2" align="center" strong = @conta.saldo_total.to_f.abs.real_contabil = will_paginate movimentacoes, previous_label: "<", next_label: ">"