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.