1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-27 08:12:47 +01:00

Controllo per evidenziare ive cancellate

This commit is contained in:
Luca 2019-01-23 15:48:36 +01:00
parent 56f7a25a75
commit 8bc0d34d44

View File

@ -209,7 +209,7 @@ foreach ($righe as $riga) {
if (!$riga instanceof Descrizione) {
echo '
'.Translator::numberToLocale($riga->iva).' €
<br><small class="help-block">'.$riga->desc_iva.'</small>';
<br><small class="'.(($dbo->fetchNum('SELECT deleted_at FROM co_iva WHERE deleted_at IS NOT NULL AND id = '.prepare($riga['idiva']))) ? 'text-red' : '').' help-block">'.$riga->desc_iva.'</small>';
}
echo '