Changeset 420 for trunk/client/modules/Elezioni/consiglieri.php
- Timestamp:
- Jun 3, 2024, 10:32:50 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/consiglieri.php
r394 r420 567 567 $seggimin=array(); 568 568 $assegnato=0; 569 $corrente=0; 569 570 $seggimin=calcoloseggi($listemin,$num_cons,1); 570 571 foreach ($seggimin as $lista=>$val){ … … 573 574 $val--; 574 575 $assegnato=1; 576 $corrente=1; 575 577 } 576 578 for ($z=0;$z<$val;$z++){ … … 578 580 else $conselmin[]=array($desliste[$lista],$lists[$lista],$val,$arvin[$lista][($z)],$cifra[$lista][($z)],number_format($quozienti[$lista][$z],2)); 579 581 } 580 if($arvin[$lista][($z)]) $conselmin[]=array($desliste[$lista],"$PNE","",$arvin[$lista][($z)],$cifra[$lista][($z)],number_format($quozienti[$lista][$z],2)); 582 if($arvin[$lista][($z)] and $corrente) $conselmin[]=array($desliste[$lista],"$PNE","",$arvin[$lista][($z)],$cifra[$lista][($z)],number_format($quozienti[$lista][$z],2)); 583 $corrente=0; 581 584 } 582 585 foreach($conselcsne as $key=>$val)
Note:
See TracChangeset
for help on using the changeset viewer.