1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-14 08:26:43 +01:00

Fix minore

This commit is contained in:
Thomas Zilio 2019-07-19 18:03:45 +02:00
parent cb30037dee
commit bd3204c1e5

View File

@ -43,7 +43,7 @@ if ($anagrafica->isTipo('Cliente')) {
// Tecnici
elseif ($anagrafica->isTipo('Tecnico')) {
$interventi = $dbo->fetchArray('SELECT id FROM in_interventi WHERE in_interventi_tecnici.idtecnico='.prepare($id_record).' AND data_richiesta BETWEEN '.prepare($start).' AND '.prepare($end));
$interventi = $dbo->fetchArray('SELECT id FROM in_interventi INNER JOIN in_interventi_tecnici ON in_interventi.id = in_interventi_tecnici.idintervento WHERE in_interventi_tecnici.idtecnico='.prepare($id_record).' AND data_richiesta BETWEEN '.prepare($start).' AND '.prepare($end));
}
$totale_interventi = 0;