mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-22 21:28:08 +01:00
Correzioni minori
This commit is contained in:
parent
75f0e7fd03
commit
8f083dcc1c
@ -548,7 +548,7 @@ if (!empty($elementi)) {
|
||||
</div>';
|
||||
}
|
||||
|
||||
if (empty($records[0]['deleted_at'])) {
|
||||
if (empty($record['deleted_at'])) {
|
||||
if (!in_array($id_azienda, $tipi_anagrafica)) {
|
||||
if (!empty($elementi)) {
|
||||
echo '
|
||||
|
@ -17,7 +17,7 @@ switch (post('op')) {
|
||||
'top' => post('top'),
|
||||
], ['id' => $id_record]);
|
||||
|
||||
flash()->info(tr('Salvataggio completato.'));
|
||||
flash()->info(tr('Salvataggio completato'));
|
||||
|
||||
break;
|
||||
|
||||
@ -34,7 +34,7 @@ switch (post('op')) {
|
||||
]);
|
||||
$id_record = $dbo->lastInsertedID();
|
||||
|
||||
flash()->info(tr('Nuovo campo personalizzato creato.'));
|
||||
flash()->info(tr('Nuovo campo personalizzato creato'));
|
||||
|
||||
break;
|
||||
|
||||
@ -42,7 +42,7 @@ switch (post('op')) {
|
||||
$dbo->delete('zz_fields', ['id' => $id_record]);
|
||||
$dbo->delete('zz_field_record', ['id_field' => $id_record]);
|
||||
|
||||
flash()->info(tr('Campo personalizzato eliminato.'));
|
||||
flash()->info(tr('Campo personalizzato eliminato'));
|
||||
|
||||
|
||||
break;
|
||||
|
@ -10,11 +10,11 @@ include_once __DIR__.'/../../core.php';
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
{[ "type": "select", "label": "<?php echo tr('Modulo'); ?>", "name": "module_id", "values": "query=SELECT id, name as text FROM zz_modules WHERE enabled = 1", "value": "<?php echo $records[0]['id_module'] ?>" ]}
|
||||
{[ "type": "select", "label": "<?php echo tr('Modulo'); ?>", "name": "module_id", "values": "query=SELECT id, name as text FROM zz_modules WHERE enabled = 1", "value": "<?php echo $record['id_module'] ?>" ]}
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
{[ "type": "select", "label": "<?php echo tr('Plugin'); ?>", "name": "plugin_id", "values": "query=SELECT id, name as text FROM zz_plugins WHERE enabled = 1", "value": "<?php echo $records[0]['id_plugin'] ?>" ]}
|
||||
{[ "type": "select", "label": "<?php echo tr('Plugin'); ?>", "name": "plugin_id", "values": "query=SELECT id, name as text FROM zz_plugins WHERE enabled = 1", "value": "<?php echo $record['id_plugin'] ?>" ]}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user