feat: refs #7882 Added model and method #2879
|
@ -67,8 +67,8 @@ module.exports = Self => {
|
|||
totalAmount: order.totalAmount || undefined,
|
||||
totalAmountWithoutTaxes: order.totalAmountWithoutTaxes || undefined,
|
||||
timeWindow: [{
|
||||
from: '07:00',
|
||||
to: '20:00'
|
||||
from: config.orderTimeFrom,
|
||||
guillermo marked this conversation as resolved
Outdated
|
||||
to: config.orderTimeTo
|
||||
}],
|
||||
orderMeasures: [{
|
||||
constraintId: 3, // Volumen
|
||||
|
|
|
@ -2,4 +2,6 @@ RENAME TABLE vn.quadMindsApiConfig TO vn.quadmindsApiConfig;
|
|||
|
||||
ALTER TABLE vn.quadmindsApiConfig
|
||||
ADD maxObjects INT NULL COMMENT 'Número máximo de objetos en el array por petición',
|
||||
ADD `limit` INT NULL COMMENT 'Limite de objetos solicitados por petición';
|
||||
ADD `limit` INT NULL COMMENT 'Limite de objetos solicitados por petición',
|
||||
ADD `orderTimeFrom` VARCHAR(5) NULL COMMENT 'Inicio de ventana horaria de pedido',
|
||||
ADD `orderTimeTo` VARCHAR(5) NULL COMMENT 'Fin de ventana horaria de pedido';
|
||||
|
|
Loading…
Reference in New Issue
esto tb prodria ir en quadmindsApiConfig