[freeside-commits] freeside/httemplate/search cust_svc.html, 1.1,
1.2
Ivan,,,
ivan at wavetail.420.am
Tue Jan 2 13:46:35 PST 2007
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv3950/httemplate/search
Modified Files:
cust_svc.html
Log Message:
fix service searching & links
Index: cust_svc.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_svc.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cust_svc.html 29 Dec 2006 08:51:33 -0000 1.1
+++ cust_svc.html 2 Jan 2007 21:46:33 -0000 1.2
@@ -106,5 +106,18 @@
#'part_svc' => $cust_svc->part_svc,
'svcdb' => $cust_svc->svcdb, #we have it from the joined search
#'svc' => $cust_svc, #redundant
- 'query' => 'svcnum=',
+ 'query' => '',
);
+ [ $url, 'svcnum' ];
+};
+
+my $link_cust = sub {
+ my $cust_svc = shift;
+ if ( $cust_svc->custnum ) {
+ [ "${p}view/cust_main.cgi?", 'custnum' ];
+ } else {
+ '';
+ }
+};
+
+</%init>
More information about the freeside-commits
mailing list