Admin > Plugins > Invoices

If there are invoices created the username who link for account details point to a wrong link

wrong:

www.***.ro/admin/index.php?controller=accounts&action=view&username =6

must be:

www.***.ro/admin/index.php?controller=accounts&action=view&userid=6

---------

file to modif plugins/invoices/invoices.tpl
line ~130

find:
var out = '<a class="green_11_bg" href="'+rlUrlHome+'index.php?controller=accounts&a ction=view&username='+row.data.Account_ID+'" ext:qtip="'+lang['ext_click_to_view_details']+'">'+username+'</a>';

replace:
var out = '<a class="green_11_bg" href="'+rlUrlHome+'index.php?controller=accounts&a ction=view&userid='+row.data.Account_ID+'" ext:qtip="'+lang['ext_click_to_view_details']+'">'+username+'</a>';


INFO: this modifs are made on your risk till somebody from Flynax say it ok. I do not assume any responsibility for any problems caused by these changes

T.Bogdan
SysAdmin