+ Reply to Thread
Results 1 to 2 of 2

Thread: Invoice small bug in admin section

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Location
    Romania
    Posts
    10

    Invoice small bug in admin section

    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

  2. #2
    Flynax developer
    Join Date
    Jun 2010
    Posts
    239
    Yes, these changes are correct. We will fix this problem in plugin "Invoices".

    Thanks!

+ Reply to Thread