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

          tyson Tyson Phillips (Inactive) created issue -
          tyson Tyson Phillips (Inactive) made changes -
          Field Original Value New Value
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Fix Version/s 3.5.0-b2 [ 10701 ]
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue is blocked by CORE-1638 [ CORE-1638 ]
          cody Cody Phillips (Inactive) made changes -
          Sprint 3.5.0 Sprint 5 [ 13 ]
          cody Cody Phillips (Inactive) made changes -
          Rank Ranked higher
          cody Cody Phillips (Inactive) made changes -
          Story Points 3
          cody Cody Phillips (Inactive) made changes -
          Sprint 3.5.0 Sprint 5 [ 13 ] 3.5.0 Sprint 6 [ 14 ]
          admin Paul Phillips made changes -
          Fix Version/s 3.5.0-b3 [ 10703 ]
          Fix Version/s 3.5.0-b2 [ 10701 ]
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue is blocked by CORE-1655 [ CORE-1655 ]
          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.
          tyson Tyson Phillips (Inactive) made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          tyson Tyson Phillips (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue relates to CORE-1672 [ CORE-1672 ]

            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