added periodo
This commit is contained in:
@@ -41,6 +41,7 @@ export class OperationsService {
|
||||
|
||||
const user = await this.userService.findOne(id_usuario);
|
||||
const alum = await this.alumnoService.findOne(id_cuenta);
|
||||
const periodo = await this.periodoService.getPeriodoActivo();
|
||||
|
||||
const detalleData = {
|
||||
servicio: id_servicio,
|
||||
@@ -49,6 +50,7 @@ export class OperationsService {
|
||||
monto,
|
||||
fecha_operacion: new Date(),
|
||||
numero_hojas,
|
||||
periodo,
|
||||
};
|
||||
|
||||
await this.detalleServicioService.Create(
|
||||
|
||||
Reference in New Issue
Block a user