registro del ticket y guradado de ruta
This commit is contained in:
@@ -32,7 +32,7 @@ const inscripcion = async (body, file) => {
|
||||
idArea,
|
||||
fechaInscripcion: ahora.format(),
|
||||
fechaTicket: body.fechaTicket,
|
||||
idFechaInscripcion: body.idFechaInscripcion,
|
||||
rutaTicket: file.path,
|
||||
});
|
||||
});
|
||||
})
|
||||
|
||||
@@ -44,6 +44,11 @@ Inscripcion.init(
|
||||
allowNull: true,
|
||||
defaultValue: null,
|
||||
},
|
||||
rutaTicket: {
|
||||
type: DataTypes.STRING(100),
|
||||
allowNull: true,
|
||||
defaultValue: null,
|
||||
},
|
||||
},
|
||||
{
|
||||
sequelize,
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 998 KiB After Width: | Height: | Size: 998 KiB |
Reference in New Issue
Block a user