From: C.J. Adams-Collier Date: Tue, 9 Sep 2014 20:16:21 +0000 (-0700) Subject: have expanded the AR aging summary to include other fields. Have not yet populated... X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=47697b2c3988393de996dca3889a24c480c586b5 have expanded the AR aging summary to include other fields. Have not yet populated the fields. FS RT #27208 --- diff --git a/FS/FS/ConfDefaults.pm b/FS/FS/ConfDefaults.pm index 191ff8537..df8024a53 100644 --- a/FS/FS/ConfDefaults.pm +++ b/FS/FS/ConfDefaults.pm @@ -33,6 +33,9 @@ sub cust_fields_avail { ( 'Cust# | Cust. Status | Customer' => 'custnum | Status | Last, First or Company (Last, First)', + 'Cust# | Day phone | Night phone | Fax number' => + 'custnum | (all phones)', + 'Cust. Status | Name | Company' => 'Status | Last, First | Company', 'Cust# | Cust. Status | Name | Company' => diff --git a/httemplate/elements/select-cust-fields.html b/httemplate/elements/select-cust-fields.html index 98feaf85c..5e3063877 100644 --- a/httemplate/elements/select-cust-fields.html +++ b/httemplate/elements/select-cust-fields.html @@ -1,22 +1,18 @@ -% -% my( $cust_fields, %opt ) = @_; -% -% use FS::ConfDefaults; -% $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ]; -% -% tie my %hash, 'Tie::IxHash', @{ $opt{'avail_fields'} }; -% -% +<%init> + my( $cust_fields, %opt ) = @_; + use FS::ConfDefaults; + $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ]; + + tie my %hash, 'Tie::IxHash', @{ $opt{'avail_fields'} }; +