Fix textarea stampe

This commit is contained in:
Pek5892 2023-02-24 14:59:46 +01:00
parent 3eb7d331ad
commit f06bca5ed2
1 changed files with 10 additions and 2 deletions

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>