Jump to content
  • 0

How To Show This On Blesta Client Area? Need A Developer To Asnwer


Question

Posted

Hello,

 

Example: 

 

Client ID: <?php $this->Html->_($client->id_code);?>

 

I need:

Active Services (the number)

Opened Tickets: (the number)

Unpaid invoices (number and the amount)

 

Thanks if that possible

 

4 answers to this question

Recommended Posts

  • 0
Posted

you can do it by calling the models in the view files which is unrecommended and breaks the rules of the MVC, OR you can modify the controller to call the models and then pass the vars to the view, then modify the view files to print these info.

  • 0
Posted

I believe the client information is already available to the templates, and your example will already work in those areas, except for the Support Plugin.

 

In the Support Plugin, you will need to fetch the client information and set it to the view.

Join the conversation

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

Guest
Answer this question...

×   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.

Loading...
×
×
  • Create New...