projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bd39db7
)
ah, that's better, prettyfy and link adv. customer search
author
ivan
<ivan>
Sat, 1 Mar 2008 22:39:21 +0000
(22:39 +0000)
committer
ivan
<ivan>
Sat, 1 Mar 2008 22:39:21 +0000
(22:39 +0000)
httemplate/search/cust_main.html
patch
|
blob
|
history
diff --git
a/httemplate/search/cust_main.html
b/httemplate/search/cust_main.html
index
5fb5dda
..
c050c5b
100755
(executable)
--- a/
httemplate/search/cust_main.html
+++ b/
httemplate/search/cust_main.html
@@
-12,8
+12,29
@@
\&FS::UI::Web::cust_fields,
@extra_fields,
],
\&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"
<%init>
die "access denied"
@@
-77,8
+98,6
@@
if ( @payby ) {
push @where, '( '. join(' OR ', map "cust_main.payby = '$_'", @payby). ' )';
}
push @where, '( '. join(' OR ', map "cust_main.payby = '$_'", @payby). ' )';
}
-###
-
##
# amounts
##
##
# amounts
##