From: ivan Date: Wed, 10 Nov 2010 19:35:10 +0000 (+0000) Subject: show customer on availability report, RT#10520 X-Git-Tag: TORRUS_1_0_9~104 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=a09250fdfe56ce6c9cea038e4e16f3a749460aa4 show customer on availability report, RT#10520 --- 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 { },