summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_main.html
diff options
context:
space:
mode:
authorivan <ivan>2008-03-01 22:39:21 +0000
committerivan <ivan>2008-03-01 22:39:21 +0000
commit4f6170e806c20e9de9ce26b195d7f2e58b04a404 (patch)
tree2b2d2a36b69d115cd0d7896068c4db79453cafe2 /httemplate/search/cust_main.html
parentbd39db7a960f64d6a19e714aa8d74ccab1fd04c5 (diff)
ah, that's better, prettyfy and link adv. customer search
Diffstat (limited to 'httemplate/search/cust_main.html')
-rwxr-xr-xhttemplate/search/cust_main.html23
1 files changed, 21 insertions, 2 deletions
diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html
index 5fb5ddad9..c050c5bd1 100755
--- a/httemplate/search/cust_main.html
+++ b/httemplate/search/cust_main.html
@@ -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 @@ if ( @payby ) {
push @where, '( '. join(' OR ', map "cust_main.payby = '$_'", @payby). ' )';
}
-###
-
##
# amounts
##