How to group by line items in the PDF Template?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Triggerz
    Senior Member
    • May 2024
    • 139

    #1

    How to group by line items in the PDF Template?

    Hi,

    I have 2 entities with one-to-many relationship. The entity CashAR is the parent entity and the CashARItems is the child entity. The child entity has an field named artype.

    In the PDF Template, I am able to diplay the details of the Parent entity and the related child entity records. I wanted to group the child entity records based on their artype and provide a subtotal for each group. How can I do this in the PDF Template?

    Thanks & Regards...

  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9658

    #2
    Hello,

    It's not possible to have sub-totals for each group out of the box.

    If the group value list is static, you can iterate through items the each group, having an x-if for each group.

    Comment

    • Triggerz
      Senior Member
      • May 2024
      • 139

      #3
      Thanks for your response Yuri. Can this feature be possibly include in future releases?

      Comment

    Working...