1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-27 16:23:19 +01:00

Fix textarea stampe

This commit is contained in:
Pek5892 2023-02-24 14:59:46 +01:00
parent 3eb7d331ad
commit f06bca5ed2

View File

@ -82,8 +82,16 @@ use Models\PrintTemplate;
<div class="row">
<div class="col-md-12">
{[ "type": "textarea", "label": "<?php echo tr('Opzioni'); ?>", "name": "options", "value": "$options$", "help": "<?php echo tr('Impostazioni personalizzabili della stampa, in formato JSON'); ?>" ]}
</div>
<?php
echo input([
'type' => 'textarea',
'label' => tr('Opzioni'),
'name' => 'options',
'value' => $record['options'],
'help' => tr('Impostazioni personalizzabili della stampa, in formato JSON'),
]);
?>
</div>
</div>
</div>
</div>