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

LIne items are missing from manual receipts when using a price set with multiple membership organization price fields

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Important
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.12
    • Fix Version/s: 4.7.14
    • Component/s: CiviMember
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      To recreate:
      1. Create a new membership type w/ membership org != default org
      2. Create a new price set with the attached look (SamplePriceSet.pdf). Note that in the PDF "taxes" is an "additional contrib amount", that is converted read-only via Javascript (this has no bearing on reproduction steps).
      3. Create an backoffice membership contribution.
      4. Signup for both memberships + give additional contrib amount. Receipt generated is fine.
      5. Review contribution. It has multiple items. (ContributionIsOK.png)
      6. Search for contribution (using contact's e-mail)
      7. Include

      {debug output=html}

      on all system workflow receipt templates (on-line & off-line)
      8. Actions --> Receipts – Print or E-Mail

      Expected
      1. Off-line receipt is used
      2. Smarty tags include all price set lines

      Actual
      1. On-line receipt is used. (this is minor, not the main complaint of this ticket.
      2. Smarty tags only includes only the additional contrib amount (see GeneratedEMailMissingLineItems.pdf)

      The memberships are created correctly and the line-items are all correct. However the receipt is missing the expected line item listing of the memberships and additional contribution (the "Membership Fee" section). Instead it has a 'Contribution Information' section w/ only the additional contrib amount. See printed HTML e-mail HTML that includes the smarty debug template.

      This looks to be a DUP of CRM-15232, but isn't as it occurs in 4.7.12.

        Attachments

        1. ContributionIsOK.png
          216 kB
          Marc Brazeau
        2. GeneratedEMailMissingLineItems.pdf
          333 kB
          Marc Brazeau
        3. SamplePriceSet.pdf
          514 kB
          Marc Brazeau

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              litespeedmarc Marc Brazeau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: