|
|
|
|
@ -1,9 +1,290 @@
|
|
|
|
|
import React, { Component } from "react"; |
|
|
|
|
import { |
|
|
|
|
FormControl, |
|
|
|
|
FormControlLabel, |
|
|
|
|
Checkbox, |
|
|
|
|
TextField, |
|
|
|
|
Typography, |
|
|
|
|
Grid, |
|
|
|
|
Fab, |
|
|
|
|
Container |
|
|
|
|
} from "@material-ui/core"; |
|
|
|
|
import SendIcon from "@material-ui/icons/Send"; |
|
|
|
|
import { makeStyles } from "@material-ui/core/styles"; |
|
|
|
|
|
|
|
|
|
class Aufnahmeantrag extends Component { |
|
|
|
|
state = {}; |
|
|
|
|
state = { |
|
|
|
|
Name: "", |
|
|
|
|
Vorname: "", |
|
|
|
|
Geburtsdatum: "", |
|
|
|
|
Geburtsort: "", |
|
|
|
|
PLZ: "", |
|
|
|
|
Ort: "", |
|
|
|
|
Strasse: "", |
|
|
|
|
Hausnummer: "", |
|
|
|
|
Telefon: "", |
|
|
|
|
EMail: "", |
|
|
|
|
BLZ: "", |
|
|
|
|
Bankname: "", |
|
|
|
|
KontoNr: "", |
|
|
|
|
Instrument: "", |
|
|
|
|
Ermaessigt: null, |
|
|
|
|
Laufzeit: "", |
|
|
|
|
Typ: "" |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
handleChange = name => event => { |
|
|
|
|
this.setState({ [name]: event.target.value }); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
useStyles = makeStyles(theme => ({ |
|
|
|
|
textField: { |
|
|
|
|
marginLeft: theme.spacing(1), |
|
|
|
|
marginRight: theme.spacing(1), |
|
|
|
|
width: 200 |
|
|
|
|
}, |
|
|
|
|
header: { |
|
|
|
|
textAlign: "center" |
|
|
|
|
}, |
|
|
|
|
fab: { |
|
|
|
|
margin: theme.spacing(1) |
|
|
|
|
} |
|
|
|
|
})); |
|
|
|
|
|
|
|
|
|
render() { |
|
|
|
|
return <></>; |
|
|
|
|
const classes = this.useStyles; |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
<Container maxWidth="md"> |
|
|
|
|
<FormControl variant="outlined"> |
|
|
|
|
<Grid container direction="row" justify="center" alignItems="center"> |
|
|
|
|
<Grid container spacing={1}> |
|
|
|
|
<Grid item xs={12}> |
|
|
|
|
<Typography align="center" variant="h4" gutterBottom> |
|
|
|
|
Aufnahmeantrag |
|
|
|
|
</Typography> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="Name" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.Name} |
|
|
|
|
onChange={this.handleChange("Name")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="Vorname" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.Vorname} |
|
|
|
|
onChange={this.handleChange("Vorname")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="Geburtsdatum" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.Geburtsdatum} |
|
|
|
|
onChange={this.handleChange("Geburtsdatum")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="Geburtsort" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.Geburtsort} |
|
|
|
|
onChange={this.handleChange("Geburtsort")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="PLZ" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.PLZ} |
|
|
|
|
onChange={this.handleChange("PLZ")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="Ort" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.Ort} |
|
|
|
|
onChange={this.handleChange("Ort")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="Strasse" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.Strasse} |
|
|
|
|
onChange={this.handleChange("Strasse")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="Hausnummer" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.Hausnummer} |
|
|
|
|
onChange={this.handleChange("Hausnummer")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="Telefon" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.Telefon} |
|
|
|
|
onChange={this.handleChange("Telefon")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="EMail" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.EMail} |
|
|
|
|
onChange={this.handleChange("EMail")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="Instrument" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.Instrument} |
|
|
|
|
onChange={this.handleChange("Instrument")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="Laufzeit" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.Laufzeit} |
|
|
|
|
onChange={this.handleChange("Laufzeit")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="Typ" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.Typ} |
|
|
|
|
onChange={this.handleChange("Typ")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<FormControlLabel |
|
|
|
|
control={ |
|
|
|
|
<Checkbox |
|
|
|
|
checked={this.state.Ermaessigt} |
|
|
|
|
onChange={() => this.handleChange("Ermaessigt")} |
|
|
|
|
value="Ermaessigt" |
|
|
|
|
color="primary" |
|
|
|
|
/> |
|
|
|
|
} |
|
|
|
|
label="Schüler/Student/Azubi" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid container spacing={1}> |
|
|
|
|
<Grid item xs={12}> |
|
|
|
|
<Typography align="center" variant="h4" gutterBottom> |
|
|
|
|
Bankverbindung |
|
|
|
|
</Typography> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="BLZ" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.BLZ} |
|
|
|
|
onChange={this.handleChange("BLZ")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={6}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="Bankname" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.Bankname} |
|
|
|
|
onChange={this.handleChange("Bankname")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid item xs={12}> |
|
|
|
|
<TextField |
|
|
|
|
fullWidth={true} |
|
|
|
|
id="outlined-name" |
|
|
|
|
label="KontoNr" |
|
|
|
|
className={classes.textField} |
|
|
|
|
value={this.state.KontoNr} |
|
|
|
|
onChange={this.handleChange("KontoNr")} |
|
|
|
|
margin="normal" |
|
|
|
|
variant="outlined" |
|
|
|
|
/> |
|
|
|
|
</Grid> |
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
<Fab color="primary" aria-label="Send" className={classes.fab}> |
|
|
|
|
<SendIcon /> |
|
|
|
|
</Fab> |
|
|
|
|
</Grid> |
|
|
|
|
</FormControl> |
|
|
|
|
</Container> |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|