[freeside-commits] freeside/httemplate/elements tr-select-did.html, 1.3, 1.4 select-did.html, 1.4, 1.5

Ivan,,, ivan at wavetail.420.am
Sun Jul 5 17:10:51 PDT 2009


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv22159

Modified Files:
	tr-select-did.html select-did.html 
Log Message:
doh

Index: tr-select-did.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-select-did.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- tr-select-did.html	5 Jul 2009 23:56:24 -0000	1.3
+++ tr-select-did.html	6 Jul 2009 00:10:49 -0000	1.4
@@ -19,12 +19,12 @@
 <%init>
 
 my %opt = @_;
-
+warn Dumper(\%opt);
 my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
 
 #false laziness w/select-did.html
 #XXX make sure this comes through on errors too
-my $svcpart = $opt{'svcpart'} || $opt{'object'}->svcpart;
+my $svcpart = $opt{'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.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- select-did.html	5 Jul 2009 23:56:24 -0000	1.4
+++ select-did.html	6 Jul 2009 00:10:49 -0000	1.5
@@ -70,7 +70,7 @@
 
 #false laziness w/tr-select-did.html
 #XXX make sure this comes through on errors too
-my $svcpart = $opt{'svcpart'} || $opt{'object'}->svcpart;
+my $svcpart = $opt{'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