Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 51

Thread: Hiding Cancelled Services

  1. #31
    Join Date
    Aug 2007
    Posts
    895

    Default

    Quote Originally Posted by jclarke View Post
    Also, if you did want to just enabled/disable this on a per client basis. You can use a custom client field and call it something like Hide Cancelled Services, and set the field type to Tick Box. If you don't want your client to see this option, check the admin only box, otherwise this checkbox will show up in the client My Detail section.

    If this was your only custom field, this would be stored in $clientsdetails.customfields1 and you would then need to update the clientareaproducts.tpl template file to hide the cancelled and terminated services as long as the checkbox is selected.

    e.g.
    {foreach from=$services item=service}
    {if ($service.rawstatus ne "cancelled" and $service.rawstatus ne "terminated") || $clientsdetails.customfields1 ne "on"}
    <tr>
    <td>{$service.group} - {$service.product}{if $service.domain}<br /><a href="http://{$service.domain}" target="_blank">{$service.domain}</a>{/if}</td>
    <td>{$service.amount}</td>
    <td>{$service.billingcycle}</td>
    <td>{$service.nextduedate}</td>
    <td><span class="label {$service.rawstatus}">{$service.statustext}</span></td>
    <td class="textcenter"><form method="post" action="{$smarty.server.PHP_SELF}?action=productde tails"><input type="hidden" name="id" value="{$service.id}" /><input type="submit" value="{$LANG.clientareaviewdetails}" class="btn info" /></form></td>
    </tr>
    {/if}
    {foreachelse}
    <tr>
    <td colspan="6" class="textcenter">{$LANG.norecordsfound}</td>
    </tr>
    {/foreach}
    This works brilliantly. Thank you

  2. #32
    Join Date
    Aug 2007
    Posts
    895

    Default

    One word of advice

    Your code has a white space in it which needs taken out. 10th line down - productde tails
    should be productdetails

    Other than that, it works an absolute treat!

  3. #33
    Join Date
    Aug 2007
    Posts
    895

    Default

    Oh yes.....found something else. Pagination on the product listing page is not taking into account the hidden products. Would there be a fix for that?

  4. #34
    Join Date
    Jan 2008
    Location
    Portugal
    Posts
    231

    Default

    I think it would be great if there was an option to filter active, suspended, canceled and terminated services at the Client Area like i suggested here: http://forum.whmcs.com/showthread.ph...ervices-Filter
    WebTuga Hosting
    Portuguese Shared, Virtual and Dedicated Web Hosting
    Providing the best solutions for you! - Alojamento Nacional

  5. #35
    Join Date
    Dec 2008
    Location
    Myrtle Beach, SC
    Posts
    386

    Default

    Quote Originally Posted by Si View Post
    Oh yes.....found something else. Pagination on the product listing page is not taking into account the hidden products. Would there be a fix for that?
    This turned out take quite a bit of work to make a version that fixes the pagination issue, the pagination system basically needed to be rewritten and custom database calls made.

    I'm offering a version that fixes the pagination issue plus allows clients to easily enable and disable the fliters as a low cost commercial addon:
    http://forum.whmcs.com/showthread.ph...rminated-etc-)

  6. #36
    Join Date
    Jan 2008
    Posts
    33

    Default

    will be great if possible hide also the invoices unpaid oldest than 30 days..... any trick ??
    Thanks

  7. #37
    Join Date
    May 2007
    Location
    Atlanta, GA
    Posts
    220

    Default

    Hey Joe,

    We just purchased and installed your app; it was a simple process with excellent steps and works as published.


    Great app!! Highly recommend it!
    Keith
    Completely Satisfied with WHMCS!
    Customer Satisfaction = success!

  8. #38
    Join Date
    Dec 2007
    Posts
    40

  9. #39
    Join Date
    Oct 2007
    Posts
    8

    Default

    Hi,

    There are a large number of issues with invoicing that needs to be address.
    Partly refunded of invoices, and refunds in general
    Zero balance invoices
    Audit of invoice and transactions.
    Simple things like total income today includes fraud orders !

    Russ

  10. #40
    Join Date
    Aug 2012
    Location
    USA
    Posts
    16

    Default

    This would be a great feature. It has my vote........

    Thank you
    Bizworldusa

  11. #41
    Join Date
    Apr 2012
    Posts
    4

    Default

    We would prefer them 'hidden' by default but perhaps with a button so they will appear in grey should anyone wish to see the history. I'm sure everyone's had that client who cancels and then re-orders the same account several times or where they come back after moving to another provider. Clearing them after a set period of time may also be handy but would not want that to become compulsory.

  12. #42
    Join Date
    Aug 2011
    Location
    UK
    Posts
    308

  13. #43
    Join Date
    Aug 2007
    Posts
    230

    Default

    I'd also love to see this feature but clients have to be able to choose to hide or display. Some like seeing everything others don't. It also has to apply to everything: services, add-on's, domains etc.

  14. #44
    Join Date
    Mar 2009
    Posts
    71

    Default

    A definite +1 from me. It is really annoying to see "old" stuff in an account.

  15. #45
    Join Date
    Apr 2008
    Posts
    3

    Default

    Yes, One Vote for me.

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 11-28-12, 07:04 PM
  2. Client can delete Cancelled or Terminated Domains/ Services
    By msaunders in forum Feature Requests
    Replies: 13
    Last Post: 08-23-12, 09:17 AM
  3. Hiding Certain Links
    By EscalateSEO in forum Customisation & Integration Questions
    Replies: 1
    Last Post: 11-22-11, 10:42 AM