projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated for 2.3.1
[freeside.git]
/
httemplate
/
search
/
cust_tax_exempt_pkg.cgi
diff --git
a/httemplate/search/cust_tax_exempt_pkg.cgi
b/httemplate/search/cust_tax_exempt_pkg.cgi
index
990e344
..
3a5155a
100644
(file)
--- a/
httemplate/search/cust_tax_exempt_pkg.cgi
+++ b/
httemplate/search/cust_tax_exempt_pkg.cgi
@@
-54,9
+54,29
@@
$ilink,
$ilink,
$ilink,
$ilink,
- ( map { $clink } FS::UI::Web::cust_header() ),
+ ( map { $_ ne 'Cust. Status' ? $clink : '' }
+ FS::UI::Web::cust_header()
+ ),
],
],
- 'align' => 'rrrlrc', # 'rlrrrc',
+ 'align' => 'rrrlrc'.FS::UI::Web::cust_aligns(), # 'rlrrrc',
+ 'color' => [
+ '',
+ '',
+ '',
+ '',
+ '',
+ '',
+ FS::UI::Web::cust_colors(),
+ ],
+ 'style' => [
+ '',
+ '',
+ '',
+ '',
+ '',
+ '',
+ FS::UI::Web::cust_styles(),
+ ],
)
%>
<%once>
)
%>
<%once>
@@
-80,6
+100,9
@@
my $join = "
</%once>
<%init>
</%once>
<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('View customer tax exemptions');
+
my @where = ();
my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
my @where = ();
my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
@@
-90,7
+113,7
@@
if ( $beginning || $ending ) {
}
if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
}
if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
- push @where, "agentnum = $1";
+ push @where, "
cust_main.
agentnum = $1";
}
if ( $cgi->param('custnum') =~ /^(\d+)$/ ) {
}
if ( $cgi->param('custnum') =~ /^(\d+)$/ ) {