Commit d07c0123 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

retrait des diagrammes

parent 0f5c61c5
Loading
Loading
Loading
Loading
−1
Changes for config/application.config.php: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -37,7 +37,6 @@ $modules = [
    'Indicateur',
    'Application',
//    'Document',

    'ZendDeveloperTools',

];
+12 −12
Changes for module/Application/view/application/fiche-poste/afficher.phtml: 12 added lines, 12 removed lines.
Original line number Diff line number Diff line
@@ -105,18 +105,18 @@ $canAfficher = $this->isAllowed($fiche, FichePostePrivileges::FICHEPOSTE_AFFICHE

    <!-- GRAPH -------------------------------------------------------------------------------------------------------->

    <div class="row">
        <div class="col-md-6">
            <?php echo $this->fichePosteGraph($fiche,
                ["applications" => $applications, "competences" => $competences, "formations" => $formations, "activites" => $activites],
                'radar', $date); ?>
        </div>
        <div class="col-md-6">
            <?php echo $this->fichePosteGraph($fiche,
                ["applications" => $applications, "competences" => $competences, "formations" => $formations, "activites" => $activites],
                'bar', $date); ?>
        </div>
    </div>
<!--    <div class="row">-->
<!--        <div class="col-md-6">-->
<!--            --><?php //echo $this->fichePosteGraph($fiche,
//                ["applications" => $applications, "competences" => $competences, "formations" => $formations, "activites" => $activites],
//                'radar', $date); ?>
<!--        </div>-->
<!--        <div class="col-md-6">-->
<!--            --><?php //echo $this->fichePosteGraph($fiche,
//                ["applications" => $applications, "competences" => $competences, "formations" => $formations, "activites" => $activites],
//                'bar', $date); ?>
<!--        </div>-->
<!--    </div>-->

    <!-- EXPERTISES LIEES A LA FICHE DE POSTE ------------------------------------------------------------------------->
    <?php echo $this->partial('partial/expertise', ['fiche' => $fiche, 'mode' => 'affichage'], [], true); ?>
+12 −12
Changes for module/Application/view/application/fiche-poste/editer.phtml: 12 added lines, 12 removed lines.
Original line number Diff line number Diff line
@@ -176,18 +176,18 @@ $this->headTitle("Modification de la fiche de poste #".$fiche->getId());

    <!-- GRAPH -------------------------------------------------------------------------------------------------------->

    <div class="row">
        <div class="col-md-6">
            <?php echo $this->fichePosteGraph($fiche,
                ["applications" => $applications, "competences" => $competences, "formations" => $formations, "activites" => $activites],
                'radar', $date); ?>
        </div>
        <div class="col-md-6">
            <?php echo $this->fichePosteGraph($fiche,
                ["applications" => $applications, "competences" => $competences, "formations" => $formations, "activites" => $activites],
                'bar', $date); ?>
        </div>
    </div>
<!--    <div class="row">-->
<!--        <div class="col-md-6">-->
<!--            --><?php //echo $this->fichePosteGraph($fiche,
//                ["applications" => $applications, "competences" => $competences, "formations" => $formations, "activites" => $activites],
//                'radar', $date); ?>
<!--        </div>-->
<!--        <div class="col-md-6">-->
<!--            --><?php //echo $this->fichePosteGraph($fiche,
//                ["applications" => $applications, "competences" => $competences, "formations" => $formations, "activites" => $activites],
//                'bar', $date); ?>
<!--        </div>-->
<!--    </div>-->

    <!-- EXPERTISES LIEES A LA FICHE DE POSTE ----------------------------------------------------------------------------->
    <?php echo $this->partial('partial/expertise', ['fiche' => $fiche, 'mode' => 'edition'], [], true); ?>
+146
Changes for module/Mailing/src/Mailing/Model/Db/MailType.php: 146 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php

namespace Mailing\Model\Db;

use UnicaenUtilisateur\Entity\HistoriqueAwareTrait;

class MailType {
    use HistoriqueAwareTrait;

    /** @var integer */
    private $id;
    /** @var string */
    private $code;
    /** @var string */
    private $libelle;
    /** @var string */
    private $description;
    /** @var integer */
    private $actif;

    /** @var string */
    private $sujet;
    /** @var string */
    private $corps;

    /**
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * @return string
     */
    public function getCode()
    {
        return $this->code;
    }

    /**
     * @param string $code
     * @return MailType
     */
    public function setCode($code)
    {
        $this->code = $code;
        return $this;
    }

    /**
     * @return string
     */
    public function getLibelle()
    {
        return $this->libelle;
    }

    /**
     * @param string $libelle
     * @return MailType
     */
    public function setLibelle($libelle)
    {
        $this->libelle = $libelle;
        return $this;
    }

    /**
     * @return string
     */
    public function getDescription()
    {
        return $this->description;
    }

    /**
     * @param string $description
     * @return MailType
     */
    public function setDescription($description)
    {
        $this->description = $description;
        return $this;
    }

    /**
     * @return string
     */
    public function getSujet()
    {
        return $this->sujet;
    }

    /**
     * @param string $sujet
     * @return MailType
     */
    public function setSujet($sujet)
    {
        $this->sujet = $sujet;
        return $this;
    }

    /**
     * @return string
     */
    public function getCorps()
    {
        return $this->corps;
    }

    /**
     * @param string $corps
     * @return MailType
     */
    public function setCorps($corps)
    {
        $this->corps = $corps;
        return $this;
    }

    /**
     * @return int
     */
    public function getActif()
    {
        return $this->actif;
    }

    /**
     * @param int $actif
     * @return MailType
     */
    public function setActif($actif)
    {
        $this->actif = $actif;
        return $this;
    }

    public function isActif() {
        return ($this->actif === 1);
    }

}
 No newline at end of file
+38
Changes for module/Mailing/src/Mailing/Model/Db/Mapping/Mailing.Model.Db.MailType.dcm.xml: 38 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
    <entity name="Mailing\Model\Db\MailType" table="mail_type">

        <id name="id" type="integer" column="id">
            <generator strategy="IDENTITY"/>
        </id>

        <field name="code"              type="string"   length="255"     column="code"                  nullable="false"  />
        <field name="libelle"           type="string"   length="1023"    column="libelle"               nullable="false"  />
        <field name="description"       type="string"   length="4096"    column="description"           nullable="true"  />
        <field name="actif"             type="integer"                   column="actif"                 nullable="false"  />

        <field name="sujet"             type="string"   length="4096"    column="sujet"                 nullable="true"  />
        <field name="corps"             type="string"   length="4096"    column="corps"                 nullable="true"  />

        <!-- HISTORIQUE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
        <field name="histoCreation"       type="datetime"     column="histo_creation"       nullable="true"/>
        <field name="histoModification"   type="datetime"     column="histo_modification"   nullable="true"/>
        <field name="histoDestruction"    type="datetime"     column="histo_destruction"    nullable="true"/>
        <many-to-one field="histoModificateur" target-entity="UnicaenUtilisateur\Entity\Db\User" fetch="LAZY">
            <join-columns>
                <join-column name="histo_modificateur_id" referenced-column-name="id"/>
            </join-columns>
        </many-to-one>
        <many-to-one field="histoDestructeur" target-entity="UnicaenUtilisateur\Entity\Db\User" fetch="LAZY">
            <join-columns>
                <join-column name="histo_destructeur_id" referenced-column-name="id"/>
            </join-columns>
        </many-to-one>
        <many-to-one field="histoCreateur" target-entity="UnicaenUtilisateur\Entity\Db\User" fetch="LAZY">
            <join-columns>
                <join-column name="histo_createur_id" referenced-column-name="id"/>
            </join-columns>
        </many-to-one>

    </entity>
</doctrine-mapping>