1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-23 22:03:18 +01:00

Continuo potenziamento plugin Pianificazione interventi da contratto

This commit is contained in:
Luca 2018-05-11 18:34:19 +02:00
parent 99453e1ff2
commit efeadd2cf2
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ echo '
<input type="hidden" name="idriga" value="'.$idriga.'">
<input type="text" name="idcontratto_riga" value="'.$idcontratto_riga.'">';
<input type="hidden" name="idcontratto_riga" value="'.$idcontratto_riga.'">';
// Descrizione

View File

@ -260,9 +260,9 @@ if (count($rsp) != 0) {
}
//info impianti
$info_impianti = '';
if (!empty($rsp[$i]['idimpianti'])){
$rsp3 = $dbo->fetchArray('SELECT id, matricola, nome FROM my_impianti WHERE id IN ('.($rsp[$i]['idimpianti']).')');
$info_impianti = '';
if (!empty( $rsp3 )){
for ($a=0; $a<count($rsp3); $a++){
$info_impianti .= Modules::link('MyImpianti', $rsp3[$a]['id'], tr('_NOME_ (_MATRICOLA_)', [