[freeside-commits] branch FREESIDE_2_3_BRANCH updated. d0a49d8077923f229aacbd8a5d2b8a8eb63a6bc9

Mark Wells mark at 420.am
Thu May 24 19:30:04 PDT 2012


The branch, FREESIDE_2_3_BRANCH has been updated
       via  d0a49d8077923f229aacbd8a5d2b8a8eb63a6bc9 (commit)
      from  0f29353b8cc466ea58115da3aa9a58b50b8d3d08 (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 d0a49d8077923f229aacbd8a5d2b8a8eb63a6bc9
Author: Mark Wells <mark at freeside.biz>
Date:   Thu May 24 19:29:54 2012 -0700

    use custnum-display_prefix in fancy location labels, #16815

diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index 91abd2a..a58218b 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -3133,14 +3133,6 @@ and customer address. Include units.',
   },
 
   {
-    'key'         => 'cust_location-agent_code',
-    'section'     => 'UI',
-    'description' => 'Optional agent string for cust_location-label_prefix',
-    'type'        => 'text',
-    'per_agent'   => 1,
-  },
-
-  {
     'key'         => 'cust_pkg-display_times',
     'section'     => 'UI',
     'description' => 'Display full timestamps (not just dates) for customer packages.  Useful if you are doing real-time things like hourly prepaid.',
diff --git a/FS/FS/cust_location.pm b/FS/FS/cust_location.pm
index a99fa17..bcdb50c 100644
--- a/FS/FS/cust_location.pm
+++ b/FS/FS/cust_location.pm
@@ -429,7 +429,7 @@ sub location_label {
     elsif ( $self->prospectnum )  {
       $cust_or_prospect = FS::prospect_main->by_key($self->prospectnum);
     }
-    my $agent = $conf->config('cust_location-agent_code', 
+    my $agent = $conf->config('cust_main-custnum-display_prefix',
                   $cust_or_prospect->agentnum)
                 || $cust_or_prospect->agent->agent;
     # else this location is invalid

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

Summary of changes:
 FS/FS/Conf.pm          |    8 --------
 FS/FS/cust_location.pm |    2 +-
 2 files changed, 1 insertions(+), 9 deletions(-)




More information about the freeside-commits mailing list