Fix importazione doppia ricevute

This commit is contained in:
Dasc3er 2020-09-07 16:22:12 +02:00
parent abfc1c9ee8
commit d4c8f11d79
2 changed files with 6 additions and 4 deletions

View File

@ -34,12 +34,10 @@ class Interaction extends Services
$list = self::getRemoteList();
// Ricerca fisica
$files = self::getFileList($list);
$list = array_merge($list, $files);
$result = self::getFileList($list);
// Aggiornamento cache hook
Cache::get('Ricevute Elettroniche')->set($list);
Cache::get('Ricevute Elettroniche')->set($result);
return $list;
}

View File

@ -84,3 +84,7 @@ INSERT INTO `zz_api_resources` (`id`, `version`, `type`, `resource`, `class`, `e
-- Fix visualizzazione modulo Causali movimenti
UPDATE `zz_views` SET `query` = 'CONCAT(UCASE(LEFT(tipo_movimento, 1)), SUBSTRING(tipo_movimento, 2))', `name` = 'Tipo' WHERE `zz_views`.`name` = 'Movimento di carico' AND id_module = (SELECT id FROM zz_modules WHERE name = 'Causali movimenti');
-- Aggiornamento versione API services
UPDATE `zz_settings` SET `valore` = 'v3' WHERE `nome` = 'OSMCloud Services API Version';