do not show potential invoices with a negative total (#3579)
This commit is contained in:
@@ -48,7 +48,7 @@ abstract class AbstractCalculator
|
||||
*/
|
||||
public function getSubtotal(): float
|
||||
{
|
||||
$amount = 0;
|
||||
$amount = 0.00;
|
||||
foreach ($this->model->getEntries() as $entry) {
|
||||
$amount += $entry->getRate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user