order->order_number . ' from Additional Design', ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'emails.invoice', with: [ 'order' => $this->order, 'invoiceNumber' => $this->order->order_number, ], ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return [ Attachment::fromPath($this->invoicePath) ->as('Invoice-' . $this->order->order_number . '.pdf') ->withMime('application/pdf'), ]; } }