remover información innecesaria para registro de inquilino
This commit is contained in:
		
							parent
							
								
									c2d3308812
								
							
						
					
					
						commit
						02b59e7fe4
					
				| 
						 | 
				
			
			@ -7,12 +7,7 @@ import { Column } from 'primereact/column'
 | 
			
		|||
const Inquilinos = () => {
 | 
			
		||||
  function registrarInquilino() {
 | 
			
		||||
    let data = {
 | 
			
		||||
      dni: document.getElementById('identificacion').value,
 | 
			
		||||
      name: document.getElementById('nombre').value,
 | 
			
		||||
      last_name: document.getElementById('apellidos').value,
 | 
			
		||||
      email: document.getElementById('correo_electronico').value,
 | 
			
		||||
      phone: document.getElementById('telefono').value,
 | 
			
		||||
      password: document.getElementById('correo_electronico').value,
 | 
			
		||||
      user_type: '1', //1 es admin
 | 
			
		||||
      status: '1',
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue