Changeset 174 for trunk


Ignore:
Timestamp:
Feb 18, 2013, 6:25:37 PM (11 years ago)
Author:
roby
Message:

sistemazioni su report voti - da terminare

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/modules/Elezioni/ele_riepilogo.php

    r170 r174  
    5959        ECHO "</fieldset><br/><br/><br/>";
    6060        $totnulli=$nulli+$bianchi+$contestati+$votinulli;
    61         echo "<fieldset><legend>"._GRUPPO."</legend>";
     61        if ($votog) echo "<fieldset><legend>"._VOTI_LISTA."</legend>";
     62        else echo "<fieldset><legend>"._GRUPPO."</legend>";
    6263        echo "<table border=\"1\" width=\"100%\"><tr><th><b>"._VALIDI."</b></th><th>"._NULLI."</th><th>"._BIANCHI."</th><th>"._CONTESTATI."</th><th>"._VOTINULLI."</th><th>"._TOTNON."</th></TR>";
    6364        ECHO "<TR><TH>".number_format($validi,0,',','.')."</TH><TH>".number_format($nulli,0,',','.')."</TH><TH>".number_format($bianchi,0,',','.')."</TH><TH>".number_format($contestati,0,',','.')."</TH><TH>".number_format($votinulli,0,',','.')."</TH><TH>".number_format($totnulli,0,',','.')."</TH></TR></table><br/>";
    6465        ECHO "</fieldset><br/><br/><br/>";
     66        if ($genere==5 and !$votog) {
    6567        $totnullil=$nullilista+$contestatilista;
    6668        echo "<fieldset><legend>"._VOTI_LISTA."</legend>";
    6769        echo "<table border=\"1\" width=\"100%\"><tr><th>"._VALIDI."</th><th>"._VOTINULLI."</th><th>"._CONTESTATI."</th>";
    68         if ($genere==5 and !$votog)
     70        // if ($genere==5 and !$votog)
    6971                echo "<th>"._SOLO_GRUPPO."</th>";
    7072        echo "<th>"._TOTNON."</th></TR>";
     
    7476        echo "<TH>".number_format($totnullil,0,',','.')."</TH></TR></table><br/>";
    7577        ECHO "</fieldset>";
     78        }
    7679        echo "</center>";
    7780       
  • trunk/client/modules/Elezioni/gruppo.php

    r152 r174  
    271271                                        $votigl=" sum(t3.validi),sum(t3.nulli),sum(t3.bianchi),sum(t3.contestati),sum(t3.voti_nulli)";
    272272                                else
    273                                         if ($votog) $votigl=" (t3.validi_lista),(t3.nulli),(t3.bianchi),(t3.contestati_lista),(t3.voti_nulli_lista)";
     273                                        if ($votog) $votigl=" (t3.validi_lista),(t3.nulli),(t3.bianchi),(t3.contestati),(t3.voti_nulli)";
    274274                                        else $votigl=" sum(t3.validi_lista),sum(t3.nulli),sum(t3.bianchi),sum(t3.contestati_lista),sum(t3.voti_nulli_lista+t3.voti_nulli)";
    275275
Note: See TracChangeset for help on using the changeset viewer.