$invoice]); } /** * Show the form for editing the specified resource. */ public function edit(Invoice $invoice) { // } /** * Show the form for sending the specified invoice. */ public function mail(int $id): View { $invoice = Invoice::find($id); return view('invoice.mail', ['invoice' => $invoice]); } }