summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/ConfDefaults.pm3
-rw-r--r--FS/FS/Mason.pm10
-rw-r--r--FS/FS/UI/Web.pm1
-rw-r--r--FS/FS/cust_main.pm2
4 files changed, 7 insertions, 9 deletions
diff --git a/FS/FS/ConfDefaults.pm b/FS/FS/ConfDefaults.pm
index de08f7d68..5b8399af5 100644
--- a/FS/FS/ConfDefaults.pm
+++ b/FS/FS/ConfDefaults.pm
@@ -71,6 +71,9 @@ sub cust_fields_avail { (
'Cust# | Cust. Status | Name | Company | (bill) Address 1 | (bill) Address 2 | (bill) City | (bill) State | (bill) Zip | (bill) Country | Day phone | Night phone | Mobile phone | Fax number | (service) Address 1 | (service) Address 2 | (service) City | (service) State | (service) Zip | (service) Country | Invoicing email(s) | Payment Type | Current Balance' =>
'custnum | Status | Last, First | Company | (address) | (all phones) | (service address) | Invoicing email(s) | Payment Type | Current Balance',
+ 'Cust# | Cust. Status | Name | Company | (bill) Address 1 | (bill) Address 2 | (bill) City | (bill) State | (bill) Zip | (bill) Country | Day phone | Night phone | Mobile phone | Fax number | (service) Address 1 | (service) Address 2 | (service) City | (service) State | (service) Zip | (service) Country | Invoicing email(s) | Payment Type | Current Balance | Agent Cust#' =>
+ 'custnum | Status | Last, First | Company | (address) | (all phones) | (service address) | Invoicing email(s) | Payment Type | Current Balance | Agent Cust#',
+
'Cust# | Cust. Status | Name | Company | (bill) Address 1 | (bill) Address 2 | (bill) City | (bill) State | (bill) Zip | (bill) Country | (bill) Latitude | (bill) Longitude | Day phone | Night phone | Mobile phone | Fax number | (service) Address 1 | (service) Address 2 | (service) City | (service) State | (service) Zip | (service) Country | (service) Latitude | (service) Longitude | Invoicing email(s) | Payment Type | Current Balance' =>
'custnum | Status | Last, First | Company | (address+coord) | (all phones) | (service address+coord) | Invoicing email(s) | Payment Type | Current Balance',
diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm
index f05ac0339..297d591ea 100644
--- a/FS/FS/Mason.pm
+++ b/FS/FS/Mason.pm
@@ -433,21 +433,13 @@ if ( -e $addl_handler_use_file ) {
use RT::CustomFieldValues;
use RT::ObjectCustomFieldValues;
- #blah. manually updated from RT::Interface::Web::Handler
- use RT::Interface::Web;
- use MIME::Entity;
- use Text::Wrapper;
- use Time::ParseDate;
- use Time::HiRes;
- use HTML::Scrubber;
+ use RT::Interface::Web::Handler;
#blah. not even in RT::Interface::Web::Handler, just in
#html/NoAuth/css/dhandler and rt-test-dependencies. ask for it here
#to throw a real error instead of just a mysterious unstyled RT
use CSS::Squish 0.06;
- use RT::Interface::Web::Request;
-
#another undeclared web UI dep (for ticket links graph)
use IPC::Run::SafeHandles;
diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm
index ca50b278e..6655f270f 100644
--- a/FS/FS/UI/Web.pm
+++ b/FS/FS/UI/Web.pm
@@ -273,6 +273,7 @@ sub cust_header {
'Invoicing email(s)' => 'invoicing_list_emailonly_scalar',
'Payment Type' => 'payby',
'Current Balance' => 'current_balance',
+ 'Agent Cust#' => 'agent_custid',
);
$header2method{'Cust#'} = 'display_custnum'
if $conf->exists('cust_main-default_agent_custid');
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index c6602c1a0..f55c3493c 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -4253,6 +4253,8 @@ sub payment_history {
'description' => 'Previous balance',
'amount' => sprintf("%.2f",$previous),
'balance' => sprintf("%.2f",$previous),
+ 'date' => $$opt{'start_date'},
+ 'date_pretty' => $self->time2str_local('short', $$opt{'start_date'} ),
};
#false laziness with above
foreach my $key ( qw(amount balance) ) {