projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c70ef4f
)
better legacy history display, RT#29311
author
Ivan Kohler
<ivan@freeside.biz>
Tue, 10 Mar 2015 22:20:36 +0000
(15:20 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Tue, 10 Mar 2015 22:20:36 +0000
(15:20 -0700)
httemplate/elements/change_history_common.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/change_history_common.html
b/httemplate/elements/change_history_common.html
index
d941427
..
e56bd1d
100644
(file)
--- a/
httemplate/elements/change_history_common.html
+++ b/
httemplate/elements/change_history_common.html
@@
-46,10
+46,10
@@
<TR>
<TD ALIGN="left" CLASS="grid" BGCOLOR="<% $bgcolor %>">
<TR>
<TD ALIGN="left" CLASS="grid" BGCOLOR="<% $bgcolor %>">
-% my $otaker;
+% my $otaker
= ''
;
% if ( $item->history_usernum ) {
% $access_user{ $item->history_usernum } ||=
% if ( $item->history_usernum ) {
% $access_user{ $item->history_usernum } ||=
-%
qsearchs('access_user', { 'usernum' => $item->history_usernum }
);
+%
FS::access_user->by_key( $item->history_usernum
);
% $otaker = $access_user{ $item->history_usernum }->username
% if $access_user{ $item->history_usernum };
% }
% $otaker = $access_user{ $item->history_usernum }->username
% if $access_user{ $item->history_usernum };
% }
@@
-83,7
+83,7
@@
<TD ALIGN="center" CLASS="grid" BGCOLOR="<% $bgcolor %>">
% my $label = '';
<TD ALIGN="center" CLASS="grid" BGCOLOR="<% $bgcolor %>">
% my $label = '';
-% if ( $item->table eq 'legacy_cust_
bill
' ) {
+% if ( $item->table eq 'legacy_cust_
history
' ) {
% $label = $item->item;
% } else {
% $label = $item->table;
% $label = $item->item;
% } else {
% $label = $item->table;
@@
-100,7
+100,7
@@
</TD>
<TD ALIGN="left" CLASS="grid" BGCOLOR="<% $bgcolor %>">
</TD>
<TD ALIGN="left" CLASS="grid" BGCOLOR="<% $bgcolor %>">
-% if ( $item->table eq 'legacy_cust_
bill
' ) {
+% if ( $item->table eq 'legacy_cust_
history
' ) {
<% $item->description |h %>
% } else {
<% join(', ',
<% $item->description |h %>
% } else {
<% join(', ',