freeside/httemplate/view cust_main.cgi,1.78,1.79

ivan ivan at pouncequick.420.am
Mon Apr 5 04:55:38 PDT 2004


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory pouncequick:/tmp/cvs-serv32088/httemplate/view

Modified Files:
	cust_main.cgi 
Log Message:
apply some heuristics to transfer ordering: primaries first, then sorted by quantity

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main.cgi,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- cust_main.cgi	4 Apr 2004 22:14:59 -0000	1.78
+++ cust_main.cgi	5 Apr 2004 11:55:35 -0000	1.79
@@ -891,14 +891,7 @@
 
     }
 
-    foreach my $cust_svc (
-      qsearch( 'cust_svc', {
-                             'pkgnum' => $cust_pkg->pkgnum,
-                             #'svcpart' => $part_svc->svcpart,
-                           }
-      )
-    ) {
-
+    foreach my $cust_svc ( $cust_pkg->cust_svc ) {
       #warn "svcnum ". $cust_svc->svcnum. " / svcpart ". $cust_svc->svcpart. "\n";
       my $svc = {
         'svcnum' => $cust_svc->svcnum,




More information about the freeside-commits mailing list