[freeside-commits] freeside/httemplate/elements tr-select-did.html, 1.4, 1.5 select-did.html, 1.5, 1.6
Ivan,,,
ivan at wavetail.420.am
Fri Jul 10 10:50:28 PDT 2009
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv24135
Modified Files:
tr-select-did.html select-did.html
Log Message:
fix svc_phone provisioning!
Index: tr-select-did.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-select-did.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- tr-select-did.html 6 Jul 2009 00:10:49 -0000 1.4
+++ tr-select-did.html 10 Jul 2009 17:50:26 -0000 1.5
@@ -24,7 +24,9 @@
#false laziness w/select-did.html
#XXX make sure this comes through on errors too
-my $svcpart = $opt{'svcpart'} || $opt{'object'}->cust_svc->svcpart;
+my $svcpart = $opt{'svcpart'}
+ || $opt{'object'}->svcpart
+ || $opt{'object'}->cust_svc->svcpart;
my $part_svc = qsearchs('part_svc', { 'svcpart'=>$svcpart } );
die "unknown svcpart $svcpart" unless $part_svc;
Index: select-did.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/select-did.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- select-did.html 6 Jul 2009 00:10:49 -0000 1.5
+++ select-did.html 10 Jul 2009 17:50:26 -0000 1.6
@@ -70,7 +70,9 @@
#false laziness w/tr-select-did.html
#XXX make sure this comes through on errors too
-my $svcpart = $opt{'svcpart'} || $opt{'object'}->cust_svc->svcpart;
+my $svcpart = $opt{'svcpart'}
+ || $opt{'object'}->svcpart
+ || $opt{'object'}->cust_svc->svcpart;
my $part_svc = qsearchs('part_svc', { 'svcpart'=>$svcpart } );
die "unknown svcpart $svcpart" unless $part_svc;
More information about the freeside-commits
mailing list