This commit is contained in:
Thomas Zilio 2019-02-21 15:09:11 +01:00
parent f839d09b58
commit 72849559a0
3 changed files with 3 additions and 3 deletions

View File

@ -233,7 +233,7 @@ if (filter('action') == 'do_update') {
$("#progress .info").html($("#progress .info").html() + "<p><strong>'.tr('Aggiornamento _DONE_ di _TODO_ (_VERSION_)', [
'_DONE_' => '" + current + "',
'_TODO_' => '" + count + "',
'_VERSION_' => '" + version + "',
'_VERSION_' => '" + version.trim() + "',
]).'</strong></p>");
}
}

View File

@ -50,7 +50,7 @@ if (file_exists($extraction_dir.'/VERSION')) {
$table = 'zz_modules';
$installed = Modules::get($info['name']);
$insert['parent'] = Modules::get($info['parent']);
$insert['parent'] = Modules::get($info['parent'])['id'];
$insert['icon'] = $info['icon'];
}

View File

@ -12,7 +12,7 @@ ALTER TABLE `co_statipreventivi` ADD `fatturabile` BOOLEAN NOT NULL DEFAULT FALS
UPDATE `co_statipreventivi` SET `fatturabile` = 1 WHERE `descrizione` IN('Parzialmente fatturato', 'Concluso', 'Pagato', 'In lavorazione', 'Accettato', 'In attesa di conferma');
-- Inserisco due nuovi stati contratti
UPDATE `co_staticontratti` SET `descrizione` = 'Fatturato', `pianificabile` = 0, `annullato` = 0, `icona` = 'fa fa-file-text-o text-success' WHERE `descrizione` = 'In attesa di pagamento';
UPDATE `co_staticontratti` SET `descrizione` = 'Fatturato', `pianificabile` = 0, `fatturabile` = 0, `icona` = 'fa fa-file-text-o text-success' WHERE `descrizione` = 'In attesa di pagamento';
INSERT INTO `co_staticontratti` (`id`, `descrizione`, `pianificabile`, `fatturabile`, `icona`) VALUES
(NULL, 'Parzialmente fatturato', 0, 1, 'fa fa-file-text-o text-warning');