Aggiunta data esportazione Ri.Ba. in scadenza

This commit is contained in:
Beppe 2022-01-20 16:34:42 +01:00
parent 7a17fdc314
commit 505f33bf12
1 changed files with 11 additions and 1 deletions

View File

@ -90,7 +90,17 @@ if (!empty($documento)) {
<td>
{[ "type": "text", "name": "distinta", "value": "'.$record['distinta'].'" ]}
</td>
</tr>
</tr>';
if( !empty($record['presentazioni_exported_at']) ){
$export_riba = '<i class="fa fa-check text-success"></i> '.tr('Esportata il _DATA_',[
'_DATA_' => Translator::timestampToLocale($record['presentazioni_exported_at']),
]).'';
}else{
$export_riba = '<i class="fa fa-clock-o text-warning"></i> '.tr('Non ancora esportata');
}
echo '
</table>