@@ -49,7 +49,7 @@ |
||
49 | 49 | |
50 | 50 | private function get_units($units = false) : float |
51 | 51 | { |
52 | - if ( $this->deliverable->invoiceByActualUnits |
|
52 | + if ($this->deliverable->invoiceByActualUnits |
|
53 | 53 | || $this->deliverable->plannedUnits == 0) { |
54 | 54 | // In most cases we calculate the price based on the actual units entered |
55 | 55 | return $units ?: $this->deliverable->units; |