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