Jump to content

Client Area Home - Customisation


MJHost

Recommended Posts

Hey all,

 

I have been tinkering with my website, and was wondering whether it is possible to add a message within the Client Area Homepage, with regards to whether they have invoices unpaid/overdue etc. (Please see my attachment, for what I am looking for)

 

Obviously, green if they have no invoices marked unpaid, yellow for an unpaid invoice, and then red if its overdue.

 

I am assuming, I would need to use the required variables to get the different messages to show depending on the status of the client account.

 

Is there any thing else I would need to add to the messages? How would I get the system to check for unpaid invoices?

 

Invoice Unpaid Warning Notice.png

Edited by MJHost
Forgot to add attachment
Link to comment
Share on other sites

I am assuming, I would need to use the required variables to get the different messages to show depending on the status of the client account.

Is there any thing else I would need to add to the messages? How would I get the system to check for unpaid invoices?

if you're doing this on the client homepage, then the template will already have access to the $clientsstats array - that will tell you how many invoices are unpaid/overdue and the amounts of each... then it's just a case of writing your IF statements based on those values and outputting the appropriate bootstrap. :idea:

Link to comment
Share on other sites

if you're doing this on the client homepage, then the template will already have access to the $clientsstats array - that will tell you how many invoices are unpaid/overdue and the amounts of each... then it's just a case of writing your IF statements based on those values and outputting the appropriate bootstrap.

 

I thought that would be the case, thank you.

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