Improved search performance
This commit is contained in:
@@ -303,6 +303,7 @@ class User extends Authenticatable implements IDs
|
||||
public function next_invoice_items(bool $future=FALSE): DatabaseCollection
|
||||
{
|
||||
$result = new DatabaseCollection;
|
||||
$this->services->load(['invoice_items.taxes']);
|
||||
|
||||
foreach ($this->services as $o) {
|
||||
if ($future) {
|
||||
|
Reference in New Issue
Block a user