[freeside-commits] branch FREESIDE_2_3_BRANCH updated. d0174a54dff1c4ef602737379b3eccbed2c03578

Ivan ivan at 420.am
Mon Feb 25 19:31:58 PST 2013


The branch, FREESIDE_2_3_BRANCH has been updated
       via  d0174a54dff1c4ef602737379b3eccbed2c03578 (commit)
      from  7ccfdc6c8c41c25eff7522ce17243300af549588 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d0174a54dff1c4ef602737379b3eccbed2c03578
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Feb 25 19:31:55 2013 -0800

    add domain and locale options to command-line phone number list, RT#21054

diff --git a/FS/bin/freeside-phonenum_list b/FS/bin/freeside-phonenum_list
index 8000565..aebe9d5 100755
--- a/FS/bin/freeside-phonenum_list
+++ b/FS/bin/freeside-phonenum_list
@@ -29,7 +29,7 @@ my @svc_phone = qsearch( FS::svc_phone->search(\%search) );
 foreach my $svc_phone (@svc_phone) {
   print $svc_phone->countrycode if $opt_c;
   print $svc_phone->phonenum;
-  print ','. $svc_phone->domain if $opt_o;
+  print '@'. $svc_phone->domain if $opt_o;
   if ( $opt_l ) {
     my $cust_pkg = $svc_phone->cust_svc->cust_pkg;
     print ','. ($cust_pkg && $cust_pkg->cust_main->locale || $default_locale);

-----------------------------------------------------------------------

Summary of changes:
 FS/bin/freeside-phonenum_list |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list