summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-11-10 19:35:45 +0000
committerivan <ivan>2010-11-10 19:35:45 +0000
commitf6450113d5a5d77a5f565630cdc48da0fc34b3e1 (patch)
treeeb1a73ab10f3f6e6b3e0c4eafe20b533625f369d
parent00395bc1c1093180cab6b946223984a23115beea (diff)
show customer on availability report, RT#10520
-rw-r--r--FS/FS/phone_avail.pm2
-rw-r--r--httemplate/search/phone_avail.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/phone_avail.pm b/FS/FS/phone_avail.pm
index 398d0f6c1..967d7179e 100644
--- a/FS/FS/phone_avail.pm
+++ b/FS/FS/phone_avail.pm
@@ -5,7 +5,7 @@ use vars qw( @ISA $DEBUG $me );
use FS::Record qw( qsearch qsearchs dbh );
use FS::cust_svc;
-@ISA = qw(FS::Record);
+@ISA = qw(FS::cust_main_Mixin FS::Record);
$me = '[FS::phone_avail]';
$DEBUG = 0;
diff --git a/httemplate/search/phone_avail.html b/httemplate/search/phone_avail.html
index e1c264fb6..9f287625a 100644
--- a/httemplate/search/phone_avail.html
+++ b/httemplate/search/phone_avail.html
@@ -29,7 +29,7 @@
'+'. $pn->countrycode. ' '.
$pn->npa. ' '. $pn->nxx. '-'. $pn->station;
},
- 'name',
+ sub { shift->get('name') },
'availbatch',
'exportnum', #XXX
#sub { },