[freeside-commits] freeside/httemplate/elements select-did.html, 1.1, 1.2
Ivan,,,
ivan at wavetail.420.am
Mon Jul 21 12:09:37 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv26500/httemplate/elements
Modified Files:
select-did.html
Log Message:
signup w/globalpops DID selection via mason components pass-through
Index: select-did.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/select-did.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- select-did.html 28 Jun 2008 23:03:09 -0000 1.1
+++ select-did.html 21 Jul 2008 19:09:34 -0000 1.2
@@ -4,7 +4,10 @@
include('/elements/select-did.html',
'field' => 'phonenum',
+
'svcpart' => 5,
+ #OR
+ 'object' => $svc_phone,
);
</%doc>
@@ -65,7 +68,7 @@
my $country = $conf->config('countrydefault') || 'US';
#XXX make sure this comes through on errors too
-my $svcpart = $opt{'object'}->svcpart;
+my $svcpart = $opt{'svcpart'} || $opt{'object'}->svcpart;
my $part_svc = qsearchs('part_svc', { 'svcpart'=>$svcpart } );
die "unknown svcpart $svcpart" unless $part_svc;
More information about the freeside-commits
mailing list