[freeside-commits] freeside/httemplate/search cust_main.html, 1.6.2.3, 1.6.2.4

Ivan,,, ivan at wavetail.420.am
Sat Mar 1 14:39:24 PST 2008


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

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	cust_main.html 
Log Message:
ah, that's better, prettyfy and link adv. customer search

Index: cust_main.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_main.html,v
retrieving revision 1.6.2.3
retrieving revision 1.6.2.4
diff -u -d -r1.6.2.3 -r1.6.2.4
--- cust_main.html	1 Mar 2008 22:23:42 -0000	1.6.2.3
+++ cust_main.html	1 Mar 2008 22:39:22 -0000	1.6.2.4
@@ -12,8 +12,29 @@
                     \&FS::UI::Web::cust_fields,
                     @extra_fields,
                   ],
+                  'color'       => [ FS::UI::Web::cust_colors(),
+                                     map '', @extra_fields
+                                   ],
+                  'style'       => [ FS::UI::Web::cust_styles(),
+                                     map '', @extra_fields
+                                   ],
+                  'align'       => [ FS::UI::Web::cust_aligns(),
+                                     map '', @extra_fields
+                                   ],
+                  'links'       => [ ( map { $_ ne 'Cust. Status' ? $link : '' }
+                                           FS::UI::Web::cust_header(
+                                                      $cgi->param('cust_fields')
+                                                                   )
+                                     ),
+                                     map '', @extra_fields
+                                   ],
               )
 %>
+<%once>
+
+my $link = [ "${p}view/cust_main.cgi?", 'custnum' ];
+
+</%once>
 <%init>
 
 die "access denied"
@@ -77,8 +98,6 @@
   push @where, '( '. join(' OR ', map "cust_main.payby = '$_'", @payby). ' )';
 }
 
-###
-
 ##
 # amounts
 ##



More information about the freeside-commits mailing list