WHMCS Request Cancellation Button
WHMCS Request Cancellation Button
We do not have a "Request Cancellation" button for our clients in WHMCS. We are on version 2.555 of UGCC, 1.5 of the UGCC/WHMCS Module, 8.1 of WHMCS. Cancellation is enabled in WHMCS for clients and works with other services, just isn't there for UGCC clients. Any suggestions on what to check?
-
- Site Admin
- Posts: 3612
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: WHMCS Request Cancellation Button
You will need to edit the template.
modules\servers\ugcc\templates\overview.tpl
At the very bottom modify
To
modules\servers\ugcc\templates\overview.tpl
At the very bottom modify
Code: Select all
<div class="row">
<div class="col-sm-8">
<a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1" class="btn btn-primary btn-block">Game Control Panel Login</a>
</div>
{if $packagesupgrade}
<div class="col-sm-4">
<a href="upgrade.php?type=package&id={$id}" class="btn btn-success btn-block">
{$LANG.upgrade}
</a>
</div>
{/if}
</div>
Code: Select all
<div class="row">
<div class="col-sm-8">
<a href="clientarea.php?action=productdetails&id={$serviceid}&dosinglesignon=1" class="btn btn-primary btn-block">Game Control Panel Login</a>
</div>
{if $packagesupgrade}
<div class="col-sm-4">
<a href="upgrade.php?type=package&id={$id}" class="btn btn-success btn-block">
{$LANG.upgrade}
</a>
</div>
{/if}
<div class="col-sm-4">
<a href="clientarea.php?action=cancel&id={$id}" class="btn btn-danger btn-block{if $pendingcancellation}disabled{/if}">
{if $pendingcancellation}
{$LANG.cancellationrequested}
{else}
{$LANG.cancel}
{/if}
</a>
</div>
</div>
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
Re: WHMCS Request Cancellation Button
This worked very well. Thank you!