HBDynamic Posted March 23, 2018 Share Posted March 23, 2018 Hello! On the bottom of the Summary page of the clients account it shows all the products/services that client has. As you all know, this includes showing the name of the product/service, the URL, the amount they're paying for each product, their billing cycle, signup date, next due date and, of course, the status of each order. One thing it does not show on the summary page is the customers payment method. I love the "Bulk Action" button below where you can change the payment method in one easy step, however, it would make life that much easier if you could see the payment method for each product/service right there on the summary page, just encase you mistakenly left that one order as "mail in check" while the rest of them are marked as "credit card". Does anyone know if there is a way to make this happen that I may not know about? And if not, I hope WHMCS will keep my suggestion in mind! Link to comment Share on other sites More sharing options...
brian! Posted March 24, 2018 Share Posted March 24, 2018 16 hours ago, HBDynamic said: Does anyone know if there is a way to make this happen that I may not know about? you could edit the clientsummary.tpl template and add the payment method for products/addons (but not domains)... e.g for products... <div class="tablebg"> <table class="datatable filterable" width="100%" border="0" cellspacing="1" cellpadding="3"> <tr> <th width="20"><input type="checkbox" id="prodsall" /></th> <th>{$_ADMINLANG.fields.id}</th> <th>{$_ADMINLANG.fields.product}</th> <th>{$_ADMINLANG.fields.amount}</th> <th>{$_ADMINLANG.fields.billingcycle}</th> <th>{$_ADMINLANG.fields.signupdate}</th> <th>{$_ADMINLANG.fields.nextduedate}</th> <th>{$_ADMINLANG.fields.paymentmethod}</th> <th>{$_ADMINLANG.fields.status}</th> <th width="20"></th> </tr> {foreach key=num from=$productsummary item=product} <tr> <td><input type="checkbox" name="selproducts[]" value="{$product.id}" class="checkprods" /></td> <td><a href="clientsservices.php?userid={$clientsdetails.userid}&id={$product.id}">{$product.idshort}</a></td> <td style="padding-left:5px;padding-right:5px">{$product.dpackage} - <a href="http://{$product.domain}" target="_blank">{$product.domain}</a></td> <td>{$product.amount}</td> <td>{$product.dbillingcycle}</td> <td>{$product.regdate}</td> <td>{$product.nextduedate}</td> <td>{$product.dpaymentmethod}</td> <td class="status" data-filter-value="{$product.domainoriginalstatus}">{$product.domainstatus}</td> <td><a href="clientsservices.php?userid={$clientsdetails.userid}&id={$product.id}"><img src="images/edit.gif" width="16" height="16" border="0" alt="Edit"></a></td> </tr> {foreachelse} <tr> <td colspan="9">{$_ADMINLANG.global.norecordsfound}</td> </tr> {/foreach} </table> </div> for domains, you'd need to use an action hook to adjust the array to include the payment method. 2 Link to comment Share on other sites More sharing options...
Recommended Posts