Template for Meetings and placeholder "status" (accept/declined..)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • item
    Active Community Member
    • Mar 2017
    • 1476

    Template for Meetings and placeholder "status" (accept/declined..)

    Hi,

    how I can get "Status" (Accept/Declined/ ...) in the template for meeting ?

    {{#each contactsIds}}
    {{var this ../contactsNames}}
    {{var this ../contactsStatus}}
    {{/each}}

    {{contactsStatus}}.not work.

    Tried too like this but no luck :

    {{#each contacts}}
    Name: {{name}},
    Role: {{opportunityRole}},

    Thanks
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hi,

    {{#each contactsColumns}}

    {{@key}} {{status }}. I have the status (accept/decline....)

    {{/each}}


    {{#each contacts}}

    <p>{{@key}}: {{name}} {{contactsColumns}} </p>. but how have status here ?

    {{/each}}

    Regards
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    • tanya
      Senior Member
      • Jun 2014
      • 4308

      #3
      Hello,
      {{#each contactsColumns}} {{@key}} {{var @key ../contactsNames}} - {{status }} {/each}}

      but I would define own field for this in loadAdditionalFieldsForPdf in Meeting service

      Comment

      • item
        Active Community Member
        • Mar 2017
        • 1476

        #4
        Hi @tanya,

        Thanks but found after 4h search... it's basic really simple because EspoCRM is very well right develeopped... i love it
        Just look in Meeting.json and the "name" is there : acceptanceStatus
        "acceptanceStatus": {
        "type": "enum",
        "notStorable": true,
        "options": ["None", "Accepted", "Tentative", "Declined"],
        "style": {
        "Accepted": "success",
        "Declined": "danger"
        },


        Regards
        If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

        Comment

        Working...