mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-27 08:12:47 +01:00
45ed5250a7
Aggiunto il supporto ai pulsati specifici per modulo (introdotti in Interventi e Fatture).
11 lines
375 B
PHP
11 lines
375 B
PHP
<?php
|
|
|
|
include_once __DIR__.'/../../core.php';
|
|
|
|
if ($records[0]['rinnovabile']) {
|
|
echo "
|
|
<button type=\"button\" class=\"btn btn-warning\" onclick=\"if( confirm('Rinnovare questo contratto?') ){ location.href='".$rootdir.'/editor.php?op=renew&id_module='.$id_module.'&id_record='.$id_record."'; }\">
|
|
<i class=\"fa fa-refresh\"></i> ".tr('Rinnova').'...
|
|
</button>';
|
|
}
|