This commit is contained in:
Thomas Zilio 2019-02-13 10:55:46 +01:00
parent ddf9de5d94
commit 2d26e2872e
1 changed files with 8 additions and 3 deletions

View File

@ -45,11 +45,16 @@ echo '
<div class="col-md-6">
<h4>'.$dati_generali['Numero'];
echo '
if (!ends_with(get('filename'), '.p7m')) {
echo '
<a href="'.$structure->fileurl('view.php').'?filename='.get('filename').'" class="btn btn-info btn-xs" target="_blank" >
<i class="fa fa-eye"></i> '.tr('Visualizza').'
</a><br>
<small>
</a>';
}
echo '
<br><small>
'.database()->fetchOne('SELECT CONCAT("(", codice, ") ", descrizione) AS descrizione FROM fe_tipi_documento WHERE codice = '.prepare($dati_generali['TipoDocumento']))['descrizione'].'
<br>'.Translator::dateToLocale($dati_generali['Data']).'
<br>'.$dati_generali['Divisa'].'