kind) { self::BALANCE_REQUEST => "Restzahlung für Ihre Buchung {$this->booking->reference}", default => "Zahlungserinnerung zu Ihrer Buchung {$this->booking->reference}", }, replyTo: [new Address(config('fewo.owner.email'), config('fewo.owner.name'))], bcc: $this->kind === self::BALANCE_REQUEST ? [] : [new Address(config('fewo.notification_email'))], ); } public function content(): Content { return new Content( markdown: 'mail.payment-reminder', with: [ 'amount' => $this->kind === self::DEPOSIT_OVERDUE && ! $this->booking->requiresFullPayment() ? $this->booking->openDeposit() : $this->booking->openAmount(), 'dueOn' => $this->kind === self::DEPOSIT_OVERDUE ? $this->booking->deposit_due_on : $this->booking->balance_due_on, ], ); } }