mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-20 04:06:34 +01:00
Update init.php
This commit is contained in:
parent
7385be6218
commit
b2b39cbff4
@ -51,7 +51,7 @@ $query = "
|
||||
INNER JOIN `an_sedi` ON `mg_movimenti`.`idsede`=`an_sedi`.`id`
|
||||
WHERE
|
||||
(`mg_movimenti`.`idsede` > 0) AND (`mg_movimenti`.`idintervento` IS NULL) AND
|
||||
((`mg_movimenti`.`data` BETWEEN '.prepare($startTM).' AND '.prepare($endTM).") AND (`zz_groups`.`nome` IN ('Titolari', 'Amministratori')))";
|
||||
((`mg_movimenti`.`data` BETWEEN '.prepare($startTM).' AND '.prepare($endTM).") AND (`zz_groups`.`nome` IN ('Amministratori')))";
|
||||
|
||||
$query .= ' AND (`an_sedi`.`targa` LIKE '.prepare('%'.$search_targa.'%').') AND (`an_sedi`.`nome` LIKE '.prepare('%'.$search_nome.'%').') ';
|
||||
$query .= ' ORDER BY `an_sedi`.`targa`, `mg_articoli`.`descrizione`';
|
||||
|
Loading…
Reference in New Issue
Block a user