arteryplanet Posted December 4, 2007 Share Posted December 4, 2007 Not sure if qualify this as a bug as i dont know if it have any other purpose....the account was canceled and the user was inactive, but he is able to to click and send a cancellation request for an account in canceled status already. Thanx! 0 Quote Link to comment Share on other sites More sharing options...
arhost Posted December 4, 2007 Share Posted December 4, 2007 Edit the following file: clientareaproductdetails.tpl Find: {if $showcancelbutton}<input type="button" value="{$LANG.clientareacancelrequestbutton}" onclick="window.location='clientarea.php?action=cancel&id={$id}'" class="button" />{/if} Replace it with: {if $showcancelbutton}{if $status eq "Active"} <input type="button" value="{$LANG.clientareacancelrequestbutton}" onclick="window.location='clientarea.php?action=cancel&id={$id}'" class="button" /> {else} {/if}{/if} 0 Quote Link to comment Share on other sites More sharing options...
arteryplanet Posted December 4, 2007 Author Share Posted December 4, 2007 Thanx! that could work for now, hope Matt add it as a default....just a question, the $status is the account status or the client status? I suppose is the account but just making sure. Thanx again! 0 Quote Link to comment Share on other sites More sharing options...
arhost Posted December 4, 2007 Share Posted December 4, 2007 It's the account status. 0 Quote Link to comment Share on other sites More sharing options...
arteryplanet Posted December 4, 2007 Author Share Posted December 4, 2007 Thank you! 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.