2020-07-31 08:44:05 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
include_once __DIR__.'/../../../core.php';
|
|
|
|
|
|
|
|
echo '
|
|
|
|
<form action="" method="post" id="form-copy">
|
|
|
|
<input type="hidden" name="backto" value="record-edit">
|
|
|
|
<input type="hidden" name="op" value="copy">
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-9">
|
|
|
|
{[ "type": "text", "label": "'.tr('Codice').'", "name": "codice", "required": 1, "value": "", "validation": "codice" ]}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
{[ "type": "checkbox", "label": "'.tr('Copia allegati').'", "name": "copia_allegati", "value": 1 ]}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- PULSANTI -->
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12 text-right">
|
|
|
|
<button type="submit" class="btn btn-primary">
|
2020-07-31 08:56:41 +02:00
|
|
|
<i class="fa fa-copy"></i> '.tr('Duplica').'
|
2020-07-31 08:44:05 +02:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-07-31 08:56:41 +02:00
|
|
|
</form>';
|
|
|
|
|
|
|
|
echo '
|
|
|
|
<script>$(document).ready(init)</script>';
|