Ignore:
Timestamp:
Sep 3, 2022, 10:40:36 AM (21 months ago)
Author:
roby
Message:

In client:

  • rivista la funzione di esportazione pdf, xls e stampe
  • tema futura2: eliminato il taglio a 30 caratteri del nome della consultazione
  • modificata la barra da 2D a 3D per i grafici di affluenza e votanti

In admin:

  • corretta la segnalazione di errore per rosatellum su incongruità di voti al solo gruppo diversi dalla somma dei viti alle liste collegate
  • inserito check box per eliminazione del file della mappa nella riga di inserimento sede
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules/Elezioni/affluenze.php

    r352 r371  
    224224#               if(($data==$ultdata) and ($ora==$ultora))
    225225                {
    226                         $tot[$data.$ora]="<table class=\"td-89\"><tr class=\"bggray2\"><td class=\"td-30\">
    227                         <b>".number_format($votiu,0,',','.')."</b></td><td class=\"td-30\">
    228                         <b>".number_format($votid,0,',','.')."</b></td><td>
     226                        $tot[$data.$ora]="<table style=\"width:180px;\"><tr class=\"bggray2\"><td style=\"width:33%;text-align:center;\">
     227                        <b>".number_format($votiu,0,',','.')."</b></td><td style=\"width:33%;text-align:center;\">
     228                        <b>".number_format($votid,0,',','.')."</b></td><td style=\"width:33%;text-align:center;\">
    229229                        <b>".number_format($somma,0,',','.')."</b></td>
    230230                        </tr></table>";
     
    243243                $ora_ril=$hour.":".$minute;
    244244                $html .= "<td";
    245                 if ($ud==$num_ril and ($perc_u[$data1.$ora1] or $perc_d[$data1.$ora1])) {$ora_rif="$data1.$ora1";}
     245                if ($ud==$num_ril and (isset($perc_u[$data1.$ora1]) or isset($perc_d[$data1.$ora1]))) {$ora_rif="$data1.$ora1";}
    246246                $html .= ">";
    247247                $data_a=form_data($data1);
     
    253253                $html .= "<br />"._SEZIONI." $num_scr "._SU." $num_sez";
    254254##              if ($ud==$num_ril and ($perc_u or $perc_d)) $html .= "<br />
    255                 if (($perc_u[$data1.$ora1] or $perc_d[$data1.$ora1])) $html .= "<br />
     255                if (isset($perc_u[$data1.$ora1]) or isset($perc_d[$data1.$ora1])) $html .= "<br />
    256256               
    257257                <table style=\"width:180px;\"><tr class=\"bggray\">
     
    366366        header ("Content-Type: application/vnd.ms-excel");
    367367        header ("Content-Disposition: inline; filename=$nomefile");
     368        header("Pragma: no-cache");
     369        header("Expires: 0");
     370        $datipdf = mb_convert_encoding($datipdf , "HTML-ENTITIES", "UTF-8");
    368371        echo "$datipdf";
    369372        echo "$html \t\n $style";
Note: See TracChangeset for help on using the changeset viewer.