Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 2021 → Rev 2022

/trunk/services/modules/0.1/statistiques/StatistiquesParAnnee.php
102,28 → 102,28
'nbObsTotalMPM' => $this->getNbObsTotal(true),
'nbObsSansIdentOuTC' => $nbObsSansIdentOuTC,
'nbObsSansIdentOuTCMPM' => $this->getNbObsSansIdentOuTC(true),
'nbObsSansIdentOuTCPC' => round(($nbObsSansIdentOuTC / $nbObsTotal) * 100, 2),
'nbObsSansIdentOuTCPC' => $nbObsTotal == 0 ? 0 : round(($nbObsSansIdentOuTC / $nbObsTotal) * 100, 2),
'nbObsSansIdent' => $nbObsSansIdent,
'nbObsSansIdentMPM' => $this->getNbObsSansIdent(true),
'nbObsSansIdentPC' => round(($nbObsSansIdent / $nbObsTotal) * 100, 2),
'nbObsSansIdentPC' => $nbObsTotal == 0 ? 0 : round(($nbObsSansIdent / $nbObsTotal) * 100, 2),
'nbObsTC' => $nbObsTC,
'nbObsTCMPM' => $this->getNbObsTC(true),
'nbObsTCPC' => round(($nbObsTC / $nbObsTotal) * 100, 2),
'nbObsTCPC' => $nbObsTotal == 0 ? 0 : round(($nbObsTC / $nbObsTotal) * 100, 2),
'nbObsTCRetenue' => $nbObsTCRetenue,
'nbObsTCRetenueMPM' => $this->getNbObsTCRetenue(true),
'nbObsTCRetenuePC' => round(($nbObsTCRetenue / $nbObsTotal) * 100, 2),
'nbObsTCRetenuePC' => $nbObsTotal == 0 ? 0 : round(($nbObsTCRetenue / $nbObsTotal) * 100, 2),
'nbObsTCConsensus' => $nbObsTCConsensus,
'nbObsTCConsensusMPM' => $this->getNbObsTCConsensus(true),
'nbObsTCConsensusPC' => round(($nbObsTCConsensus / $nbObsTotal) * 100, 2),
'nbObsTCConsensusPC' => $nbObsTotal == 0 ? 0 : round(($nbObsTCConsensus / $nbObsTotal) * 100, 2),
'nbObsTCConsensusNonValide' => $nbObsTCConsensusNonValide,
'nbObsTCConsensusNonValideMPM' => $this->getNbObsTCConsensusNonValide(true),
'nbObsTCConsensusNonValidePC' => round(($nbObsTCConsensusNonValide / $nbObsTotal) * 100, 2),
'nbObsTCConsensusNonValidePC' => $nbObsTotal == 0 ? 0 : round(($nbObsTCConsensusNonValide / $nbObsTotal) * 100, 2),
'nbPropositionsRetenuesObsAnnee' => $nbPropositionsRetenuesObsAnnee,
'nbPropositionsRetenuesObsAnneeMPM' => $this->getNbPropositionsRetenuesObsAnnee(true),
'nbPropositionsRetenuesObsAnneePC' => round(($nbPropositionsRetenuesObsAnnee / $nbObsTotal) * 100, 2),
'nbPropositionsRetenuesObsAnneePC' => $nbObsTotal == 0 ? 0 : round(($nbPropositionsRetenuesObsAnnee / $nbObsTotal) * 100, 2),
'nbPropositionsConsensusObsAnnee' => $nbPropositionsConsensusObsAnnee,
'nbPropositionsConsensusObsAnneeMPM' => $this->getNbPropositionsConsensusObsAnnee(true),
'nbPropositionsConsensusObsAnneePC' => round(($nbPropositionsConsensusObsAnnee / $nbObsTotal) * 100, 2),
'nbPropositionsConsensusObsAnneePC' => $nbObsTotal == 0 ? 0 : round(($nbPropositionsConsensusObsAnnee / $nbObsTotal) * 100, 2),
);
}