isManual(), 404); Gate::authorize('downloadPdf', $invoice); return $renderer->inlineResponse($invoice); } }