refactor: move sql changes
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Vicent Llopis 2022-12-13 09:56:05 +01:00
parent e4dbeb0b33
commit 91f955ccf5
4 changed files with 8 additions and 7 deletions

View File

@ -13,7 +13,6 @@ BEGIN
* @param vAuthorFk The notification author or %NULL if there is no author
* @return The notification id
*/
DECLARE vNotificationFk INT;
INSERT INTO notificationQueue
SET notificationFk = vNotificationName,

View File

@ -44,13 +44,15 @@ class Controller extends Section {
}
get hasDateRange() {
const userParams = this.$.model.userParams;
const hasLanded = userParams.landedTo;
const hasShipped = userParams.shippedFrom;
const hasContinent = userParams.continent;
const hasWarehouseOut = userParams.warehouseOutFk;
console.log(this.$.model);
// const userParams = Object.assign({}, this.$.model.userParams);
// console.log(userParams);
// const hasLanded = userParams.landedTo;
// const hasShipped = userParams.shippedFrom;
// const hasContinent = userParams.continent;
// const hasWarehouseOut = userParams.warehouseOutFk;
return hasLanded || hasShipped || hasContinent || hasWarehouseOut;
// return hasLanded || hasShipped || hasContinent || hasWarehouseOut;
}
onDragInterval() {