projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix error handling path, #24070
[freeside.git]
/
httemplate
/
search
/
cust_pkg_discount.html
diff --git
a/httemplate/search/cust_pkg_discount.html
b/httemplate/search/cust_pkg_discount.html
index
233345e
..
e6ba840
100644
(file)
--- a/
httemplate/search/cust_pkg_discount.html
+++ b/
httemplate/search/cust_pkg_discount.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Package discounts',
'name' => 'discounts',
'query' => $query,
'title' => 'Package discounts',
'name' => 'discounts',
'query' => $query,
@@
-50,8
+50,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
@@
-78,9
+78,9
@@
if ( $cgi->param('status') eq 'active' ) {
"; #XXX also end date
}
"; #XXX also end date
}
-#
otaker
-if ( $cgi->param('
otaker') && $cgi->param('otaker') =~ /^([\w\.\-]
+)$/ ) {
- push @where, "cust_pkg_discount.
otaker = '$1'
";
+#
usernum
+if ( $cgi->param('
usernum') =~ /^(\d
+)$/ ) {
+ push @where, "cust_pkg_discount.
usernum = $1
";
}
#agent
}
#agent