count = $count; $this->target = $checkout_info['acceptance']?->assignedTo; $this->acceptance = $checkout_info['acceptance']; } /** * Get the message envelope. */ public function envelope(): Envelope { $from = new Address(config('mail.from.address'), config('mail.from.name')); return new Envelope( from: $from, subject: trans('mail.unaccepted_asset_reminder'), ); } /** * Get the message content definition. */ public function content(): Content { $accept_url = route('account.accept'); return new Content( markdown: 'notifications.markdown.asset-reminder', with: [ 'count' => $this->count, 'assigned_to' => $this->target?->present()->fullName, 'link' => route('account.accept'), 'accept_url' => $accept_url, ] ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }