Add option for direct debit #19

Merged
Brain merged 1 commits from sepa-einzug into main 2023-08-31 21:44:15 +02:00

View File

@ -82,6 +82,15 @@
<td> GENO DE M1 NRD</td> <td> GENO DE M1 NRD</td>
</tr> </tr>
</table> </table>
<input
class="form-check-input"
type="checkbox"
v-model="direct_debit"
id="direct_debit"
/>
<label for="direct_debit" class="form-check-label beantraungs-text">
Bei erfolgreicher Aufnahme möchte ich künftig meinen Jahresbeitrag per Lastschrift begleichen.
</label>
</div> </div>
<div class="row"> <div class="row">
<div class="col-6 col-xs-12"> <div class="col-6 col-xs-12">
@ -672,8 +681,9 @@ export default {
}, },
data() { data() {
return { return {
version: "2023-06-29", version: "2023-08-31",
confirm_membership: false, confirm_membership: false,
direct_debit: false,
membership_type_options: [ membership_type_options: [
"Neues Mitglied", "Neues Mitglied",
"Bestehendes Mitglied", "Bestehendes Mitglied",
@ -743,6 +753,7 @@ export default {
pgp: this.pgp, pgp: this.pgp,
chaos_connection: this.chaos_connection.substring(0,200), chaos_connection: this.chaos_connection.substring(0,200),
public_nick: this.public_nick.substring(0,100), public_nick: this.public_nick.substring(0,100),
direct_debit: this.direct_debit,
}; };
if (this.status_1) membership.nicht_erwerbstaetig = true; if (this.status_1) membership.nicht_erwerbstaetig = true;