Jump to content

Include invoice items on first page


Keksi

Recommended Posts

Hello,

 

I'm trying to include out customers invoices at the front page. A quick overall info about their customer status, but i cant get it to work.

 

{foreach key=num item=invoice from=$invoices}
<Here i have some code to show the invoices>
{foreachelse}
No results
{/foreach}

 

If i pase this code in clientareainvoices.tpl file, it works. But when i try to have it in the homepage.tpl file, i get the "No results" error, as defined if there are no invoices to show..

 

Any ideas?

Link to comment
Share on other sites

Ok.

As i have no idea how to do this, I'll ask nicely the good WHMCS team, to share their code in the As I have no idea how to do this, I'll ask nicely to the good WHMCS team, to share their code in the clientarea.php, so i maybe manage to copy paste something to make this work..

 

It would be nice if I didn't have to pay someone to reinvent the wheels..

 

A reply from you guys would be nice?

 

 

Or maybe one of you other people already have done this, and are willing to share?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated