helper for handling billable fields (#1900)

This commit is contained in:
Kevin Papst
2020-08-20 15:03:57 +02:00
committed by GitHub
parent 7a1dada9dc
commit b9ee811cbf
12 changed files with 213 additions and 44 deletions

View File

@@ -25,7 +25,7 @@ class InvoiceQuery extends TimesheetQuery
public function __construct()
{
parent::__construct();
$this->setBillable(InvoiceQuery::STATE_BILLABLE);
$this->setBillable(true);
}
public function getTemplate(): ?InvoiceTemplate