add command-line tool to list phone numbers, RT#21054
[freeside.git] / FS / FS / svc_Common.pm
index af655e7..2171022 100644 (file)
@@ -1360,7 +1360,7 @@ sub search {
   }
 
   #customer balance
-  if ( $params->{'balance'} =~ /^\s*(\d*(\.\d{1,2})?)\s*$/ && length($1) ) {
+  if ( $params->{'balance'} =~ /^\s*(\-?\d*(\.\d{1,2})?)\s*$/ && length($1) ) {
     my $balance = $1;
 
     my $age = '';