Add eintrittsdatum to member

This commit is contained in:
Philipp Lang 2023-02-14 13:39:18 +01:00
parent 70d36d76ac
commit 7077511494
2 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,7 @@ class Member extends Data
'staatsangehoerigkeitText' => $this->otherCountry, 'staatsangehoerigkeitText' => $this->otherCountry,
'nameZusatz' => $this->furtherAddress, 'nameZusatz' => $this->furtherAddress,
'version' => $this->version, 'version' => $this->version,
'eintrittsdatum' => $this->joinedAt->format('Y-m-d 00:00:00'),
]; ];
} }

View File

@ -70,6 +70,7 @@ class PutMemberTest extends TestCase
'staatsangehoerigkeitText' => 'Land', 'staatsangehoerigkeitText' => 'Land',
'nameZusatz' => 'Name', 'nameZusatz' => 'Name',
'version' => 40, 'version' => 40,
'eintrittsdatum' => '2021-02-02 00:00:00',
]); ]);
} }