mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-03-30 19:10:14 +02:00
Swal avviso duplicazione fattura
This commit is contained in:
parent
624e05bc01
commit
7994264fd2
@ -4,12 +4,9 @@ include_once __DIR__.'/../../core.php';
|
||||
|
||||
echo '
|
||||
|
||||
<form action="" class="text-right" method="post" id="form-copy">
|
||||
<input type="hidden" name="backto" value="record-edit">
|
||||
<input type="hidden" name="op" value="copy">
|
||||
</form>
|
||||
|
||||
<button type="button" class="btn btn-primary" '.(empty($record['reversed']) ? '' : 'disabled').' onclick="if( confirm(\'Duplicare questa fattura?\') ){ $(\'#form-copy\').submit(); }">
|
||||
|
||||
<button type="button" class="btn btn-primary ask btn-primary" '.(empty($record['reversed']) ? '' : 'disabled').' data-msg="'.tr('Duplicare questa fattura?').'" data-op="copy" data-button="'.tr('Duplica').'" data-class="btn btn-lg btn-warning" data-backto="record-edit" >
|
||||
<i class="fa fa-copy"></i> '.tr('Duplica fattura').'
|
||||
</button>';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user