mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-10 22:53:52 +01:00
Correzioni minori
This commit is contained in:
parent
75f0e7fd03
commit
8f083dcc1c
modules
@ -548,7 +548,7 @@ if (!empty($elementi)) {
|
|||||||
</div>';
|
</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($records[0]['deleted_at'])) {
|
if (empty($record['deleted_at'])) {
|
||||||
if (!in_array($id_azienda, $tipi_anagrafica)) {
|
if (!in_array($id_azienda, $tipi_anagrafica)) {
|
||||||
if (!empty($elementi)) {
|
if (!empty($elementi)) {
|
||||||
echo '
|
echo '
|
||||||
|
@ -17,7 +17,7 @@ switch (post('op')) {
|
|||||||
'top' => post('top'),
|
'top' => post('top'),
|
||||||
], ['id' => $id_record]);
|
], ['id' => $id_record]);
|
||||||
|
|
||||||
flash()->info(tr('Salvataggio completato.'));
|
flash()->info(tr('Salvataggio completato'));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ switch (post('op')) {
|
|||||||
]);
|
]);
|
||||||
$id_record = $dbo->lastInsertedID();
|
$id_record = $dbo->lastInsertedID();
|
||||||
|
|
||||||
flash()->info(tr('Nuovo campo personalizzato creato.'));
|
flash()->info(tr('Nuovo campo personalizzato creato'));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ switch (post('op')) {
|
|||||||
$dbo->delete('zz_fields', ['id' => $id_record]);
|
$dbo->delete('zz_fields', ['id' => $id_record]);
|
||||||
$dbo->delete('zz_field_record', ['id_field' => $id_record]);
|
$dbo->delete('zz_field_record', ['id_field' => $id_record]);
|
||||||
|
|
||||||
flash()->info(tr('Campo personalizzato eliminato.'));
|
flash()->info(tr('Campo personalizzato eliminato'));
|
||||||
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
@ -10,11 +10,11 @@ include_once __DIR__.'/../../core.php';
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<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>
|
||||||
|
|
||||||
<div class="col-md-6">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user