servetas Posted January 27, 2016 Share Posted January 27, 2016 During the last weeks I have started experimenting with WHMCS. I have started searching over its files and do all the modifications I always wanted. From the beginning I wanted to be able to access the client's profile through the open invoices widget than just the invoice itself. I am sharing this customization with you. Open modules/widgets/open_invoices.php and find line 37, it should look like this: $content .= '<tr bgcolor="#ffffff" style="text-align:center;"><td><a href="invoices.php?action=edit&id='.$id.'">'.$invoicenum.'</a></td><td>'.$firstname.' '.$lastname.'</td><td>'.$date.'</td><td>'.$duedate.'</td><td>'.formatCurrency($total).'</td><td>'.$paymentmethod.'</td><td><a href="invoices.php?action=edit&id='.$id.'"><img src="images/edit.gif" border="0" /></a></td></tr>'; Replace it with this: $content .= '<tr bgcolor="#ffffff" style="text-align:center;"><td><a href="invoices.php?action=edit&id='.$id.'">'.$invoicenum.'</a></td><td><a href="clientssummary.php?userid='.$userid.'">'.$firstname.' '.$lastname.'</a></td><td>'.$date.'</td><td>'.$duedate.'</td><td>'.formatCurrency($total).'</td><td>'.$paymentmethod.'</td><td><a href="invoices.php?action=edit&id='.$id.'"><img src="images/edit.gif" border="0" /></a></td></tr>'; I hope that it has not been shared in the past and it is helpful too... At least, it is for me. Tested and works with WHMCS v6.2.1. George 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.