diff --git a/app/Invoice/Models/Invoice.php b/app/Invoice/Models/Invoice.php index 3f731fd4..2890c11b 100644 --- a/app/Invoice/Models/Invoice.php +++ b/app/Invoice/Models/Invoice.php @@ -46,7 +46,7 @@ class Invoice extends Model */ public static function createForMember(Member $member, Collection $members, int $year): self { - $invoice = new static([ + $invoice = new self([ 'to' => [ 'name' => 'Familie ' . $member->lastname, 'address' => $member->address,