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

Invoices::getSubtotal() may return a null subtotal

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5.0-b2
    • Component/s: None
    • Labels:
      None

      Description

      When Invoices::getSubtotal is passed an invoice ID with no corresponding line items, the current query will return a subtotal of null.

      Fix this so it returns a subtotal of 0 instead.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              21/Feb/19

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 17 minutes
              17m

                Agile