Home page performance optimisations

This commit is contained in:
2024-07-05 16:38:31 +10:00
parent 648d941893
commit e7ac329d24
12 changed files with 127 additions and 232 deletions

View File

@@ -1180,7 +1180,8 @@ class Service extends Model implements IDs
public function invoices()
{
return $this->account
->invoiceSummary($this->invoiced_service_items_active->pluck('invoice_id'));
->invoiceSummary($this->invoiced_service_items_active->pluck('invoice_id'))
->get();
}
/**