Clebson Posted February 21, 2017 Share Posted February 21, 2017 Hello guys! In an earlier version of WHMCS, 7.0 was displayed on the admin home page the total of yield day, month, and year. It was displayed by the following code from homepage.tpl file: {if $viewincometotals} <div id="incometotals" class="contentbox" style="font-size:18px;"><a href="transactions.php"><img src="images/icons/transactions.png" align="absmiddle" border="0"> <b>{$_ADMINLANG.billing.income}</b></a> <img src="images/loading.gif" align="absmiddle" /> {$_ADMINLANG.global.loading}</div> <br /> {/if} In this new version it is no longer available, I tried to use this code in the new template but it did not work. Does anyone know how the DB query was done to display this data? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 21, 2017 Share Posted February 21, 2017 I think the same information is now shown in the "Billing" widget - it's shown on the homepage in both v4 and Blend. if you take a look at the source code of the file (unencrypted), you should be able to see how WHMCS is getting the numbers. 0 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.