refactor: refs #7882 Requested changes
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Guillermo Bonet 2024-09-18 07:14:52 +02:00
parent 9d9e0996f6
commit 871d5457d0
2 changed files with 5 additions and 3 deletions

View File

@ -67,8 +67,8 @@ module.exports = Self => {
totalAmount: order.totalAmount || undefined, totalAmount: order.totalAmount || undefined,
totalAmountWithoutTaxes: order.totalAmountWithoutTaxes || undefined, totalAmountWithoutTaxes: order.totalAmountWithoutTaxes || undefined,
timeWindow: [{ timeWindow: [{
from: '07:00', from: config.orderTimeFrom,
to: '20:00' to: config.orderTimeTo
}], }],
orderMeasures: [{ orderMeasures: [{
constraintId: 3, // Volumen constraintId: 3, // Volumen

View File

@ -2,4 +2,6 @@ RENAME TABLE vn.quadMindsApiConfig TO vn.quadmindsApiConfig;
ALTER TABLE vn.quadmindsApiConfig ALTER TABLE vn.quadmindsApiConfig
ADD maxObjects INT NULL COMMENT 'Número máximo de objetos en el array por petición', 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';