user()->client->id == $this->invoice->client_id && auth('contact')->user()->company->enabled_modules & PortalComposer::MODULE_INVOICES; } }