Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21264

print contribution in tabular format with group by contact not working

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Steps

      Create Multiple contributions for contact

      Find contribution (for single contact) -> select contribution records => 'Thanks you letter (print or email)' from action list

      Now new form will open

      Group contributions by -> Contact

      Separator (grouped contributions) -> 'Horizontal Table Cell'

      In document body create 3x2 table

      e.g.

      <p>Hi {contact.display_name},</p>

      <p> </p>

      <table border="1" cellpadding="1" cellspacing="1" style="width: 500px;">
      <tbody>
      <tr>
      <td>ID</td>
      <td>{contribution.contribution_id}</td>
      </tr>
      <tr>
      <td>Recieve Date</td>
      <td>{contribution.receive_date}</td>
      </tr>
      <tr>
      <td>Amount</td>
      <td>{contribution.total_amount}</td>
      </tr>
      </tbody>
      </table>

       

      Now submit button to create pdf letter.

      PDF will generated with comma separated values instead of additional TD in table.

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sunil Sunil Pawar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: