- if @account_balance_histories.present? .icp.container-fluid .row .col-xs-12.col-sm-8 ul.nav.nav-pills.inline role="tablist" li = link_to "Payments", invoices_path, data:{toggle: :tooltip, placement:'bottom',title:'Payments'} li.active = link_to "Transactions", '#', data:{toggle: :tooltip, placement:'bottom',title:'Transactions'} - @account_balance_histories.each do |account_balance_history| .row.acc-bal-histories .col-xs-12.col-sm-12 .row .col-xs-12.col-sm-4 .row.fs9 = account_balance_history.created_at.strftime('%d %b %Y %H:%M %p') .row .profile-img =image_tag(account_balance_history.display[:image_url], class:'ht50 w50') .row .fs8.status - if account_balance_history.account.present? | Status:  - if ['pending', 'failed'].include? account_balance_history.account.status span.red.blink = account_balance_history.account.status - else span.darkgreen = account_balance_history.account.status .col-xs-12.col-sm-4.text-center.txt-blue = account_balance_history.display[:text] .col-xs-12.col-sm-4.text-right - if account_balance_history.credit? span.semibold.darkgreen.fs10 |+ $  = Money.new(account_balance_history.amount).to_s - else span.semibold.red.fs10 |- $  = Money.new(account_balance_history.amount).to_s .clearfix .pull-right = paginate @account_balance_histories - else | No Transactions Found. br .btn.btn-default.btn-pay = link_to 'Back', invoices_path