mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-02 17:07:01 +01:00
Rimossa query non necessaria
This commit is contained in:
parent
9a1938216b
commit
870c1d5a92
@ -22,7 +22,7 @@ include_once __DIR__.'/../../core.php';
|
||||
// Presenza di documenti associati
|
||||
if ($record['doc_associati'] > 0) {
|
||||
echo '
|
||||
<div class="alert alert-warning">'.tr('Non puoi eliminare questo categoria documento!').' '.tr('Ci sono _NUM_ documenti associati!', [
|
||||
<div class="alert alert-warning">'.tr('Non puoi eliminare questa categoria documento!').' '.tr('Ci sono _NUM_ documenti associati!', [
|
||||
'_NUM_' => $record['doc_associati'],
|
||||
]).'</div>';
|
||||
}
|
||||
|
@ -43,5 +43,3 @@ CREATE TABLE `my_componenti_articoli` ( `id` INT NOT NULL AUTO_INCREMENT, `id_im
|
||||
|
||||
-- Aggiunta vista referente in modulo attività
|
||||
INSERT INTO `zz_views` (`id`, `id_module`, `name`, `query`, `order`, `search`, `slow`, `format`, `search_inside`, `order_by`, `visible`, `summable`, `default`) VALUES (NULL, (SELECT `zz_modules`.`id` FROM `zz_modules` WHERE `zz_modules`.`name`='Interventi' ), 'Referente', '(SELECT an_referenti.nome FROM an_referenti WHERE an_referenti.id=in_interventi.idreferente)', '7', '1', '0', '0', '', '', '1', '0', '0');
|
||||
|
||||
INSERT INTO `zz_group_view` (`id_gruppo`, `id_vista`) (SELECT `zz_groups`.`id`, (SELECT `zz_views`.`id` FROM `zz_views` WHERE `zz_views`.`name`='Referente' AND `zz_views`.`id_module`=(SELECT `zz_modules`.`id` FROM `zz_modules` WHERE `zz_modules`.`name`='Interventi' )) FROM `zz_groups` );
|
Loading…
x
Reference in New Issue
Block a user