agregar placa en invitados

This commit is contained in:
Maria Sanchez 2022-08-23 14:18:49 -06:00
parent 05b72e071a
commit d8be6c02a0
3 changed files with 9 additions and 3 deletions

View File

@ -92,6 +92,10 @@ export default function AgregarInvitados({ navigation }) {
<FormControl.Label>Teléfono</FormControl.Label> <FormControl.Label>Teléfono</FormControl.Label>
<TextInput style={styles.input} type="text" onChangeText={(value) => setPhone(value)} /> <TextInput style={styles.input} type="text" onChangeText={(value) => setPhone(value)} />
</FormControl> </FormControl>
<FormControl >
<FormControl.Label>Placa</FormControl.Label>
<TextInput style={styles.input} type="text" onChangeText={(value) => setPhone(value)} />
</FormControl>
<Button mt="2" backgroundColor='tertiary.600' onPress={() => saveInvitado()}> <Button mt="2" backgroundColor='tertiary.600' onPress={() => saveInvitado()}>
Guardar Guardar
</Button> </Button>

View File

@ -72,7 +72,9 @@ export default function AreaComun({navigation}){
"finish_time": endSelectedHours + ":" +endSelectedMinutes, "finish_time": endSelectedHours + ":" +endSelectedMinutes,
"date_entry": date, "date_entry": date,
"user_id" : user._id, "user_id" : user._id,
"common_area_id": service "common_area_id": service,
"common_area_name": "",
"community_id": ""
} }

View File

@ -89,10 +89,10 @@ export default function Profile({ navigation }) {
<FormControl.Label>DNI</FormControl.Label> <FormControl.Label>DNI</FormControl.Label>
<TextInput type="text" defaultValue={userData.user.dni} editable={false} /> <TextInput type="text" defaultValue={userData.user.dni} editable={false} />
</FormControl> </FormControl>
<FormControl> {/* <FormControl>
<FormControl.Label>Teléfono</FormControl.Label> <FormControl.Label>Teléfono</FormControl.Label>
<TextInput type="text" defaultValue={userData.user.phone} editable={false} /> <TextInput type="text" defaultValue={userData.user.phone} editable={false} />
</FormControl> </FormControl> */}
<FormControl> <FormControl>
<FormControl.Label>Nombre</FormControl.Label> <FormControl.Label>Nombre</FormControl.Label>
<TextInput style={styles.input} type="text" defaultValue={userData.user.name} onChangeText={(value) => setName(value) }/> <TextInput style={styles.input} type="text" defaultValue={userData.user.name} onChangeText={(value) => setName(value) }/>