Add send_newspaper field

This commit is contained in:
philipp lang 2021-04-10 01:46:35 +02:00
parent 1825950eb1
commit 3e2bd85b8d
3 changed files with 4 additions and 2 deletions

View File

@ -42,6 +42,7 @@ class Member extends Model {
'gruppierungId' => 'group_id',
'lastUpdated' => 'updated_at',
'mitgliedsNummer' => 'mitgliedsnr',
'zeitschriftenversand' => 'send_newspaper',
];
protected $casts = [];

View File

@ -38,7 +38,8 @@ class PullMemberTest extends TestCase
'joined_at' => ['joined_at', ['2005-05-01', null]],
'group_id' => ['group_id', [103, 103]],
'mitgliedsnr' => ['mitgliedsnr', [12345, null]],
'updated_at' => ['updated_at', ['2020-06-28 02:15:24', '2015-02-03 15:20:07']]
'updated_at' => ['updated_at', ['2020-06-28 02:15:24', '2015-02-03 15:20:07']],
'send_newspaper' => ['send_newspaper', [true, false]],
];
}

View File

@ -31,7 +31,7 @@
"konfession": null,
"fixBeitrag": null,
"konfessionId": null,
"zeitschriftenversand": true,
"zeitschriftenversand": false,
"pfadfinder": null,
"telefon3": "+22222",
"kontoverbindung":