module Contabilidade::PagamentoHelper

  def status_pagamentos_label (status,enum)
      if enum == "confirmado"
        style = "success"
      elsif enum == "solicitado"
        style = "warning"
      else
        style = "info"
      end
      text = status.try(:upcase)
      bs_label(text, style)
  end
end