module Referrals
  module WithdrawalHelper
    def withdrawal_status_by_number(number)
      t("activerecord.attributes.referrals/withdrawal.status.#{::Referrals::Withdrawal.statuses.key(number)}")
    end
  end
end
module Referrals
  module WithdrawalHelper
    def withdrawal_status_by_number(number)
      return '' if number.blank?
      t("activerecord.attributes.referrals/withdrawal.status.#{::Referrals::Withdrawal.statuses.key(number)}")
    end
  end
end
Update helper to return empty string when status number is blank
Update helper to return empty string when status number is blank
