simple statistic dashlet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Frank
    Member
    • Aug 2015
    • 64

    simple statistic dashlet

    Hello 2 everyone!

    i need to create simple statistic dashlet
    for example:
    -in my system i have 10 contacts
    -also i have 2 users (for one responsible of 4 contacts and second responsible of 6 others contacts )
    -all contacts have a multi-enum field name "color" with 3 properties : red, white, black.

    How can i count how many red, white and black contacts have each user, and how many red, white and black has all users. Thanks!
  • yuri
    Member
    • Mar 2014
    • 8627

    #2
    You can try to replicate the out-of-the-box OpportunitiesByStage dashlet. Use search in file contents and file names by "OpportunitiesByStage" keyword to find out which files you need to create.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • Frank
      Member
      • Aug 2015
      • 64

      #3
      Good afternoon! I can not deal with this dashlet. What would you advise me to read that i want to understand how to interact: Controllers, Services and js view - parts of some dashlet...

      Comment

      • yuri
        Member
        • Mar 2014
        • 8627

        #4
        Sorry, There is no documentation about that. But it's pretty simple to understand reading the code. You will need to create custom controller class in custom folder and create action method there.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        Working...