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

          Hide
          tyson Tyson Phillips (Inactive) added a comment -

          It should be noted that coupon line items are only added for invoices created from the new Item Pricing, which at the time of this task's completion is only related to invoices created for service queuing.

          Show
          tyson Tyson Phillips (Inactive) added a comment - It should be noted that coupon line items are only added for invoices created from the new Item Pricing, which at the time of this task's completion is only related to invoices created for service queuing.

            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