nuvos tipos de carrito locker
This commit is contained in:
parent
b485fffb41
commit
662f195918
@ -273,7 +273,9 @@ export class PrestamoService {
|
|||||||
// Si es locker
|
// Si es locker
|
||||||
if (
|
if (
|
||||||
prestamo.equipo.carrito.tipoCarrito.id_tipo_carrito === 4 ||
|
prestamo.equipo.carrito.tipoCarrito.id_tipo_carrito === 4 ||
|
||||||
prestamo.equipo.carrito.tipoCarrito.id_tipo_carrito === 5
|
prestamo.equipo.carrito.tipoCarrito.id_tipo_carrito === 5||
|
||||||
|
prestamo.equipo.carrito.tipoCarrito.id_tipo_carrito === 7||
|
||||||
|
prestamo.equipo.carrito.tipoCarrito.id_tipo_carrito === 8
|
||||||
)
|
)
|
||||||
// Creamos un passcode
|
// Creamos un passcode
|
||||||
return this.passcodeService.create(prestamo).then((passcode) => {
|
return this.passcodeService.create(prestamo).then((passcode) => {
|
||||||
@ -750,7 +752,9 @@ export class PrestamoService {
|
|||||||
// Si es locker
|
// Si es locker
|
||||||
if (
|
if (
|
||||||
prestamo.equipo.carrito.tipoCarrito.id_tipo_carrito === 4 ||
|
prestamo.equipo.carrito.tipoCarrito.id_tipo_carrito === 4 ||
|
||||||
prestamo.equipo.carrito.tipoCarrito.id_tipo_carrito === 5
|
prestamo.equipo.carrito.tipoCarrito.id_tipo_carrito === 5||
|
||||||
|
prestamo.equipo.carrito.tipoCarrito.id_tipo_carrito === 7||
|
||||||
|
prestamo.equipo.carrito.tipoCarrito.id_tipo_carrito === 8
|
||||||
)
|
)
|
||||||
// Buscamos el passcode y se lo agregamos al préstamo
|
// Buscamos el passcode y se lo agregamos al préstamo
|
||||||
return this.passcodeService.findByPrestamo(prestamo).then((passcode) => {
|
return this.passcodeService.findByPrestamo(prestamo).then((passcode) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user