mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-25 15:22:24 +01:00
Aggiunta informazione di creazione per campi delle viste
This commit is contained in:
parent
263e9b100f
commit
67856a523a
@ -28,7 +28,7 @@ echo '
|
|||||||
<div class="data">';
|
<div class="data">';
|
||||||
|
|
||||||
$key = 0;
|
$key = 0;
|
||||||
$fields = $dbo->fetchArray('SELECT * FROM zz_views WHERE id_module='.prepare($record['id']).' ORDER BY `order` ASC');
|
$fields = $dbo->fetchArray('SELECT * FROM zz_views WHERE id_module='.prepare($record['id']).' ORDER BY `order` ASC, updated_at DESC ');
|
||||||
foreach ($fields as $key => $field) {
|
foreach ($fields as $key => $field) {
|
||||||
$editable = !($field['default'] && $enable_readonly);
|
$editable = !($field['default'] && $enable_readonly);
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ foreach ($fields as $key => $field) {
|
|||||||
<h3 class="box-title">'.
|
<h3 class="box-title">'.
|
||||||
tr('Campo in posizione _POSITION_', [
|
tr('Campo in posizione _POSITION_', [
|
||||||
'_POSITION_' => $field['order'],
|
'_POSITION_' => $field['order'],
|
||||||
]).' ('.$field['name'].')
|
]).' ('.$field['name'].') <span class="badge tip" title="'.tr('Modificato il ').Translator::timestampToLocale($field['updated_at']).'" >'.Translator::timestampToLocale($field['created_at']).'</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<div class="box-tools pull-right">
|
<div class="box-tools pull-right">
|
||||||
|
Loading…
Reference in New Issue
Block a user