feat: refs #7882 Added model and method #2879

Merged
guillermo merged 9 commits from 7882-quadMinds into master 2024-09-18 05:16:46 +00:00
2 changed files with 5 additions and 3 deletions
Showing only changes of commit 871d5457d0 - Show all commits

View File

@ -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

esto tb prodria ir en quadmindsApiConfig

esto tb prodria ir en quadmindsApiConfig
to: config.orderTimeTo
}],
orderMeasures: [{
constraintId: 3, // Volumen

View File

@ -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';