Skip to content

Commit 0ba6146

Browse files
fix: minori plugin danni automezzi
1 parent 7faf3ba commit 0ba6146

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

plugins/automezzi_danni/actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
$dbo->delete('an_automezzi_danni', ['id' => $idscadenza]);
6565

66-
flash()->info(tr('Scadenza eliminata correttamente!'));
66+
flash()->info(tr('Danno eliminato correttamente!'));
6767

6868
break;
6969
}

plugins/automezzi_danni/row-list-danni.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
<th width="15%" class="text-center">'.tr('Data').'</th>
4040
<th width="25%">'.tr('Luogo').'</th>
4141
<th>'.tr('Descrizione').'</th>
42+
<th width="10%" class="text-center">'.tr('Allegati').'</th>
4243
<th width="12%" class="text-center">'.tr('Azioni').'</th>
4344
</tr>
4445
</thead>
@@ -53,6 +54,7 @@
5354
<td class="text-center">'.Translator::dateToLocale($danno['data']).'</td>
5455
<td>'.$danno['luogo'].'</td>
5556
<td>'.$danno['descrizione'].'</td>
57+
<td class="text-center">'.($n_file ? $n_file.' <i class="text-info fa fa-file"></i>' : '').'</td>
5658
<td class="text-center">
5759
<button class="btn btn-xs btn-warning" data-href="'.$plugin->fileurl('modals/manage_danno.php').'?id_module='.$id_module.'&id_plugin='.$id_plugin.'&id='.$id_record.'&iddanno='.$danno['id'].'" data-card-widget="modal" data-title="'.tr('Modifica danno').'" '.$disabled.'>
5860
<i class="fa fa-edit"></i>

0 commit comments

Comments
 (0)