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 * @param vAuthorFk The notification author or %NULL if there is no author
* @return The notification id * @return The notification id
*/ */
DECLARE vNotificationFk INT;
INSERT INTO notificationQueue INSERT INTO notificationQueue
SET notificationFk = vNotificationName, SET notificationFk = vNotificationName,

View File

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