gest366/modules/label/edit.php

69 lines
2.3 KiB
PHP
Raw Permalink Normal View History

2021-02-24 20:40:04 +00:00
<?php
$valore = "Testo etichetta";
?>
<form action="" method="post" role="form">
<input type="hidden" name="backto" value="record-edit">
<input type="hidden" name="op" value="update">
<input type="hidden" name="id_record" value="<?php echo $id_record ?>">
<div class="panel panel-<?php echo $_SESSION['profilo_pannello'] ?>">
<div class="clearfix"></div>
</br>
<div class="col-md-4">
<div class="pull-left">
<button type="submit" class="btn-app btn-success"><i class="fa fa-check"></i> Stampa </button>
</div>
</div>
<div class="col-md-4">
</div>
<div class="col-md-4">
</div>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
<div class="panel panel-<?php echo $_SESSION['profilo_pannello'] ?>">
<div class="panel-heading">
<h3 class="panel-title"><?php echo _("Dati") ?></h3>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-4">
{[ "type": "textarea", "label": "<?php echo _("Descrizione") ?>", "name": "descrizione", "required": 1, "class": "", "value": "<?echo $valore ?>", "extra": "rows='5'" ]}
</div>
<div class="col-md-1">
{[ "type": "text", "label": "Quantità", "name": "qty", "required": 1, "class": "", "value": "1", "extra": "" ]}
</div>
<div class="col-md-1">
{[ "type": "text", "label": "Partenza", "name": "skip", "required": 1, "class": "", "value": "0", "extra": "" ]}
</div>
<div class="col-md-4">
{[ "type": "select", "label": "Formato", "name": "format", "required": 0, "class": "", "values": "query=SELECT codice as id , nome as descrizione FROM lb_formati ORDER BY nome ASC", "value": "", "extra": "" ]}
</div>
</div>
<div class="row">
<div class="col-md-4">
</div>
<div class="col-md-1">
</div>
<div class="col-md-1">
{[ "type": "text", "label": "Size", "name": "size", "required": 1, "class": "", "value": "10", "extra": "" ]}
</div>
<div class="col-md-4">
{[ "type": "select", "label": "Font", "name": "family", "required": 0, "class": "", "values": "list= \"arial\": \"Arial\", \"times\": \"Times\", \"courier\": \"Courier\"", "value": "arial", "extra": "" ]}
</div>
</div>
</div>
</div>
</form>