On the sales order page under the order & admin comments sections, I am trying to change the user number to a user name. We have 9 sales employees here who are adding comments to SOs and its confusing trying to remember which employee is which user number on our website.
Why not just put a user name, so here is what I've tried:
Versions: D6.20 UC2.x-dev
File: uc_order/uc_order.order_pane.inc
Line: near 979
Original code:
$data['user'] = array(
'#value' => uc_get_initials($comment->uid),
'#cell_attributes' => array('align' => 'center'),
);I tried...
'#value' => uc_get_initials($comment->name),
'#value' => $comment->name,
'#value' => uc_get_initials($comment->registered_name),
'#value' => $comment->registered_name,
...and so far no dice. I know I could probably create an IF statement to check what uid placed the order comment, and then just set '#value' => 'Bob' if the uid matches Bob's id, but I don't want to have to mess with this if we shuffle employees around or bring on new hands in the future. I'd rather it just work the proper method.
Can anyone help me out on this? Thanks in advance!!
BigMike
