Fix stile

This commit is contained in:
loviuz 2020-01-14 22:30:46 +01:00
parent aa3de6eef9
commit 672d35bb8c
3 changed files with 7 additions and 11 deletions

View File

@ -117,4 +117,4 @@ $(document).ready(function () {
$("#prezzo_dirittochiamata").val(data.prezzo_dirittochiamata);
});
});
</script>';
</script>';

View File

@ -66,16 +66,13 @@ switch (post('op')) {
ORDER BY `idtipointervento`');
if (empty($elementi)) {
// Elimino anche le tariffe collegate ai vari tecnici
// Elimino anche le tariffe collegate ai vari tecnici
$query = 'DELETE FROM in_tariffe WHERE idtipointervento='.prepare($id_record);
$dbo->query($query);
$query = 'DELETE FROM in_tipiintervento WHERE idtipointervento='.prepare($id_record);
$dbo->query($query);
flash()->info(tr('Tipo di intervento eliminato!'));
break;
}

View File

@ -5,12 +5,11 @@ include_once __DIR__.'/../../core.php';
$previous_number = $previous_number ?: null;
if ($record['numero'] != $previous_number) {
if ($color == '#dddddd') {
$color = '#ffffff';
}
else if ($color == '#ffffff') {
$color = '#dddddd';
}
if ($color == '#dddddd') {
$color = '#ffffff';
} elseif ($color == '#ffffff') {
$color = '#dddddd';
}
}
echo '