fixed number acount
This commit is contained in:
@@ -77,7 +77,7 @@ export class PersonaService {
|
||||
tipo = 'Academico';
|
||||
}
|
||||
|
||||
persona = await this.personaRepository.create({
|
||||
persona = this.personaRepository.create({
|
||||
nombre,
|
||||
apellidoP,
|
||||
apellidoM,
|
||||
@@ -95,7 +95,9 @@ export class PersonaService {
|
||||
primerLogin: false,
|
||||
});
|
||||
} else {
|
||||
const monto = this.alumnoService.GetCredit(Number(persona.idPersona));
|
||||
const monto = this.alumnoService.GetCredit(
|
||||
Number(persona.numeroIdentificar),
|
||||
);
|
||||
|
||||
persona.cantidadCuenta = await monto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user