diff --git a/modules/contratti/buttons.php b/modules/contratti/buttons.php index 31e15d593..f0a2fd155 100644 --- a/modules/contratti/buttons.php +++ b/modules/contratti/buttons.php @@ -2,6 +2,19 @@ include_once __DIR__.'/../../core.php'; +$rs_documento = $dbo->fetchArray("SELECT * FROM co_righe_documenti WHERE idcontratto=".prepare($id_record)); +if(sizeof($rs_documento)>0){ + echo " + '; +}else{ + echo " + '; +} + if ($records[0]['rinnovabile']) { echo "