[freeside-commits] branch FREESIDE_3_BRANCH updated. d96e926b315be0791d0383cc3827295bc3a81a40

Ivan ivan at 420.am
Tue Mar 10 15:20:39 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  d96e926b315be0791d0383cc3827295bc3a81a40 (commit)
      from  edae5c0f10d80ecd8d45c04c51e3ca698e4a7a99 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d96e926b315be0791d0383cc3827295bc3a81a40
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Mar 10 15:20:37 2015 -0700

    better legacy history display, RT#29311

diff --git a/httemplate/elements/change_history_common.html b/httemplate/elements/change_history_common.html
index d941427..e56bd1d 100644
--- 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 %>">
-%     my $otaker;
+%     my $otaker = '';
 %     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 };
 %     }
@@ -83,7 +83,7 @@
 
     <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;
@@ -100,7 +100,7 @@
     </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(', ',

-----------------------------------------------------------------------

Summary of changes:
 httemplate/elements/change_history_common.html |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)




More information about the freeside-commits mailing list