diff --git a/web-ui/web-react/src/components/Inquilinos.js b/web-ui/web-react/src/components/Inquilinos.js index 280cf83a..3baa25f9 100644 --- a/web-ui/web-react/src/components/Inquilinos.js +++ b/web-ui/web-react/src/components/Inquilinos.js @@ -20,8 +20,13 @@ const Inquilinos = () => { }, []); function registrarInquilino() { let data = { + dni: document.getElementById('identificacion').value, + name: document.getElementById('nombre').value, + last_name: document.getElementById('apellidos').value, + phone: document.getElementById('telefono').value, email: document.getElementById('correo_electronico').value, community_id: document.getElementById('numero_vivienda').value, + password: document.getElementById('password').value, user_type: '3', status: '1', }; @@ -48,6 +53,18 @@ const Inquilinos = () => {
Registrar Inquilino
+
+ + +
+
+ + +
+
+ + +
{ options={communitiesList} />
+
+ + +