Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1637

Coupon line items should be added for each line item discounted

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.3
    • Fix Version/s: 3.5.0-b3
    • Component/s: None
    • Labels:
      None

      Description

      Currently, only a single coupon line item is created when a coupon is applied to items on an invoice.

      Instead, the coupon should be a new line item under each other line item it applies to. The coupon line item amount would be the total discounted amount from that line item.

      Coupon ABC = 10%
      e.g.
      Line item 1 $10.00
      Coupon ABC @ 10% -$1.00
      Line item 2 $5
      Coupon ABC @ 10% -$0.50
      Subtotal: $13.50

      If a line item is taxable (i.e. the Tax checkbox is checked for the line item), then the coupon line item should be marked taxable as well. This would allow, for example, a refund to be made for a line item while also refunding the amount taxed for that item after the coupon was applied to it.

        Issue Links

          Activity

            People

            • Assignee:
              tyson Tyson Phillips (Inactive)
              Reporter:
              tyson Tyson Phillips (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                26/May/15

                Agile