mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-14 00:24:28 +01:00
Fix minore
This commit is contained in:
parent
cb30037dee
commit
bd3204c1e5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user