1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-22 05:23:41 +01:00
openstamanager/modules/articoli/modals/duplicazione.php

32 lines
874 B
PHP
Raw Normal View History

<?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').'
</button>
</div>
</div>
2020-07-31 08:56:41 +02:00
</form>';
echo '
<script>$(document).ready(init)</script>';