projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tax names on payment search report #9760
[freeside.git]
/
httemplate
/
search
/
cust_credit.html
diff --git
a/httemplate/search/cust_credit.html
b/httemplate/search/cust_credit.html
index
2c59297
..
ad84721
100755
(executable)
--- a/
httemplate/search/cust_credit.html
+++ b/
httemplate/search/cust_credit.html
@@
-7,42
+7,42
@@
#'redirect' => $link,
'header' => [ 'Amount',
'Date',
#'redirect' => $link,
'header' => [ 'Amount',
'Date',
- FS::UI::Web::cust_header(),
'By',
'By',
- 'Reason'
+ 'Reason',
+ FS::UI::Web::cust_header(),
],
'fields' => [
#'crednum',
sub { sprintf('$%.2f', shift->amount ) },
sub { time2str('%b %d %Y', shift->_date ) },
],
'fields' => [
#'crednum',
sub { sprintf('$%.2f', shift->amount ) },
sub { time2str('%b %d %Y', shift->_date ) },
- \&FS::UI::Web::cust_fields,
'otaker',
'reason',
'otaker',
'reason',
+ \&FS::UI::Web::cust_fields,
],
#'align' => 'rrrllll',
],
#'align' => 'rrrllll',
- 'align' => 'rr
'.FS::UI::Web::cust_aligns().'ll'
,
+ 'align' => 'rr
ll'.FS::UI::Web::cust_aligns()
,
'links' => [
'links' => [
+ '',
+ '',
'',
'',
( map { $_ ne 'Cust. Status' ? $clink : '' }
FS::UI::Web::cust_header()
),
'',
'',
( map { $_ ne 'Cust. Status' ? $clink : '' }
FS::UI::Web::cust_header()
),
- '',
- '',
],
'color' => [
'',
'',
],
'color' => [
'',
'',
- FS::UI::Web::cust_colors(),
'',
'',
'',
'',
+ FS::UI::Web::cust_colors(),
],
'style' => [
'',
'',
],
'style' => [
'',
'',
- FS::UI::Web::cust_styles(),
'',
'',
'',
'',
+ FS::UI::Web::cust_styles(),
],
)
%>
],
)
%>
@@
-56,8
+56,8
@@
my $title = 'Credit Search Results';
my @search = ();
my @search = ();
-if ( $cgi->param('
otaker') && $cgi->param('otaker') =~ /^([\w\.\-]
+)$/ ) {
- push @search, "cust_credit.
otaker = '$1'
";
+if ( $cgi->param('
usernum') =~ /^(\d
+)$/ ) {
+ push @search, "cust_credit.
usernum = $1
";
}
if ( $cgi->param('agentnum') && $cgi->param('agentnum') =~ /^(\d+)$/ ) {
}
if ( $cgi->param('agentnum') && $cgi->param('agentnum') =~ /^(\d+)$/ ) {