templates/lettreDeMission/lettreDeMission.html.twig line 1

Open in your IDE?
  1. <html>
  2.     <head>
  3.         <title>(Projet) de Lettre de Missions</title>
  4.         <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  5.         <style>
  6.             /* CSS Document */
  7.             body {
  8.                 font-family: Arial;
  9.                 font-size: 12px;
  10.                 margin: 0;
  11.                 line-height: 16px;
  12.             }
  13.             .bloc_tete {
  14.                 text-align: center;
  15.             }
  16.             .bloc_title {
  17.                 background-color: #C0C0C0;
  18.                 border: 1px solid black;
  19.                 text-align: center;
  20.             }
  21.             .bloc_validationfonctionnelle {
  22.                 border: 1px solid black;
  23.                 padding: 5px;
  24.                 text-align: left;
  25.             }
  26.             .centered_bloc {
  27.                 padding: 5px;
  28.                 text-align: justify;
  29.             }
  30.             .bloc_contexte {
  31.                 background-color: #C0C0C0;
  32.                 border: 1px solid black;
  33.             }
  34.             .bloc_contexte td {
  35.                 text-align: center;
  36.                 font-size: 9px;
  37.                 font-style: italic;
  38.             }
  39.             .title {
  40.                 font-size: 12px;
  41.                 font-weight: bold;
  42.             }
  43.             .bold {
  44.                 font-weight: bold;
  45.             }
  46.             .italic {
  47.                 font-style: italic;
  48.             }
  49.             .underline {
  50.                 text-decoration: underline;
  51.             }
  52.             .right {
  53.                 float: right;
  54.             }
  55.             td {
  56.                 padding-bottom: 0px;
  57.                 padding-top: 0px;
  58.                 padding-left: 0px;
  59.                 padding-right: 0px;
  60.             }
  61.             .myTd {
  62.                 padding-bottom: 5px;
  63.                 padding-top: 5px;
  64.                 padding-left: 5px;
  65.                 padding-right: 5px;
  66.             }
  67.             .om_tab td {
  68.                 padding-bottom: 0px;
  69.                 padding-top: 0px;
  70.                 font-size: 13px;
  71.             }
  72.             .tabul {
  73.                 margin-left: 10px;
  74.             }
  75.             .space {
  76.                 margin-left: 10px;
  77.             }
  78.             .action_table {
  79.                 background-color: white; /* #C0C0C0; */
  80.                 font-size: 10px;
  81.                 border-collapse: collapse;
  82.                 border: 2px solid #000000;
  83.             }
  84.             .action_table2 {
  85.                 background-color: white; /* #C0C0C0; */
  86.                 font-size: 10px;
  87.                 border-collapse: collapse;
  88.             }
  89.             .action_table > thead {
  90.                 text-align: center;
  91.             }
  92.             .action_table > thead > tr > td {
  93.                 padding: 0px 0px 0px 0px;
  94.             }
  95.             .action_table > tbody > tr > td {
  96.                 padding: 0 5px 0 5px;
  97.                 text-align: center;
  98.             }
  99.             .action_table > tbody > tr > td.action {
  100.                 padding: 5px 0 5px 0;
  101.             }
  102.             .action_table td.row-odd {
  103.                 background-color: white;
  104.             }
  105.             .action_table td.row-even {
  106.                 background-color: white; /* #C0C0C0; */
  107.             }
  108.             .action_table td, .action_table th {
  109.                 border: 1px solid black;
  110.             }
  111.             .action_table td div, .action_table th div {
  112.                 page-break-inside: avoid;
  113.             }
  114.             .action_table tr.breaker {
  115.                 page-break-after: always;
  116.             }
  117.             .yellow1 {
  118.                 background-color: white;
  119.                 text-align: center;
  120.             }
  121.             .green1 {
  122.                 background-color: white;
  123.                 text-align: center;
  124.             }
  125.             .gray1 {
  126.                 background-color: #C0C0C0; /* #58FAD0; */
  127.             }
  128.             .blue1 {
  129.                 background-color: white; /* #6699FF;  #5882FA; */
  130.                 text-align: center;
  131.             }
  132.             .white {
  133.                 background-color: #fff;
  134.                 text-align: left;
  135.                 padding: 0 2px;
  136.             }
  137.             .end_label {
  138.                 font-size: 10px;
  139.                 text-align: center;
  140.                 bottom: 0;
  141.             }
  142.             .red2 {
  143.                 color: red;
  144.             }
  145.             .header_bilan {
  146.                 background-color: #C0C0C0;
  147.                 border: 1px solid black;
  148.                 padding: 10px 0px;
  149.                 text-align: center;
  150.             }
  151.             .sous-action-lib span{margin-top:5px;margin-bottom:40px;line-height: 12px;}
  152.             /***** Footer *****/
  153.             {# #footer {
  154.                 border-top: 1px solid #333;
  155.                 font-family: "Arial";
  156.                 font-size: 10px;
  157.                 margin: 0;
  158.                 line-height: 16px;
  159.             } #}
  160.              /***** Footer *****/
  161.         #footer
  162.         {
  163.             border-top: 1px solid #333;
  164.             font-size: 10px;
  165.             margin:    0;
  166.             line-height: 16px;
  167.             width : 100%;
  168.             position: absolute;
  169.             bottom : 30px;
  170.             padding-top : 30px;
  171.         }
  172.         #footer .date
  173.         {
  174.             float: left;
  175.         }
  176.         #footer .num
  177.         {
  178.             float: right;
  179.         }
  180.         #footer p
  181.         {
  182.             text-align: center;
  183.             padding : 0px;
  184.             margin: 0px;
  185.         }
  186.         #footer .numerotation
  187.         {
  188.             float: right;
  189.         }
  190.         </style>
  191.     </head>
  192.     <body backtop="0mm" backbottom="10mm" backleft="0mm" backright="0mm">
  193.     {% if synthese.ListeAction|length > 0 %}
  194.          <page_footer>
  195.             <table class="footer">
  196.                 <tr>
  197.                     <td style="width:730px; text-align: right">
  198.                         page [[page_cu]]/[[page_nb]]
  199.                     </td>
  200.                 </tr>
  201.             </table>
  202.         </page_footer>      
  203.         <div class="bloc_tete">
  204.             <img src="{{ url_logo_path }}" width="165" height="103"/>
  205.              <p align="center"> {{ entete }}</p>
  206.         </div>
  207.         <br>
  208.         <div class="bloc_title">
  209.             <br/>
  210.             <span style="font-family:Arial;font-size:15px;font-weight:bold;">{% if (signataire) %} Lettre de missions {% else %} Projet de Lettre de mission {% endif %}</span>
  211.             <br/>
  212.             <span style="font-family:Arial;font-size:10px;">
  213.                 {% if synthese.infoPlm.matricule is defined %}  n°{{ synthese.infoPlm.matricule }} {% endif %}
  214.             </span>
  215.             <br/>
  216.             <p style="font-family:Arial;font-size:13px;font-weight:bold;">
  217.                 {{ synthese.infoCts.civilite }} {{ synthese.infoCts.nom }} {{ synthese.infoCts.prenom }}
  218.             </p>
  219.             <span style="font-family:Arial;font-size:13px;font-weight:bold; margin-bottom: 4px;"> 
  220.                     {#{ synthese.infoCts.poste|socleRh(synthese.infoCts.poste) }#}<br/>
  221.                     {#{ synthese.infoCts.federation }#}
  222.                     {{ synthese.infoCts.affectation }}                
  223.              </span>
  224.             <br/>
  225.             <br/>
  226.         </div>
  227.         
  228.         <br/>
  229.         <page_footer>
  230.             <table class="footer">
  231.                 <tr>
  232.                     <td style="width:730px; text-align: right">
  233.                         page [[page_cu]]/[[page_nb]]
  234.                     </td>
  235.                 </tr>
  236.             </table>
  237.         </page_footer>
  238.  
  239.          <p style="text-align: justify;">
  240.             Vous êtes agent de l'Etat affecté en qualité de Conseiller(ère) Technique Sportif(ive) 
  241.             exerçant ses missions auprès de la {% if synthese.infoCts.federation is defined %}  {{ synthese.infoCts.federation}} {% endif %} .<br/>
  242.             Votre emploi est :{% if synthese.infoCts.poste is defined %}
  243.                                                  {% set socleRh = synthese.infoCts.poste|socleRh %}
  244.                                                    {% if socleRh is defined %}
  245.                                                     {{ socleRh }}
  246.                                                      {% endif %}
  247.                             {% endif %}
  248.             <br/>
  249.             Vous y intervenez sur les disciplines : 
  250.             {% if discipline is defined %}
  251.             <ul>
  252.                 {% for discipline in discipline %}
  253.                     <li>{{ discipline }}</li>
  254.                 {% endfor %}
  255.             </ul> 
  256.             {% endif %}
  257.             <br />
  258.             {{txt1|raw|nl2br}}
  259.         </p>
  260.         
  261.       <p style="text-align: justify;">
  262.             La présente lettre de missions vous est notifiée pour une durée maximum de quatre
  263.             années.<br/>
  264.             Elle entrera en effet le {% if synthese.infoPlm.DateDebut is defined %}  
  265.             {{ synthese.infoPlm.DateDebut|date('d/m/Y') }} {% endif %} 
  266.             et est prévu pour prendre fin au plus tard 
  267.             le {% if synthese.infoPlm.DateFin is defined %} {{ synthese.infoPlm.DateFin|date('d/m/Y') }}. {% endif %}<br/>
  268.             Elle pourra être révisée en tant que de besoin au cours de l’olympiade.<br/>
  269.         </p>
  270.        <p style="text-align: justify;">
  271.             Selon cette lettre de missions, votre fonction principale est : 
  272.             <strong>{% if f_principale is defined %} {{f_principale}} {% endif %}</strong> 
  273.             {% if f_compl is defined %} et votre fonction secondaire est : <strong>{{f_compl}}</strong> {% endif %}
  274.             <br/>
  275.             <br/>
  276.             <strong>Le périmètre de vos activités s’organise comme suit :</strong><br/>
  277.             Activités régionales :{% if synthese.ToralRegional is defined %} {{ synthese.ToralRegional }} %  {% endif %}   
  278.             Activités nationales : {% if synthese.TotalNation is defined %} {{ synthese.TotalNation }} % {% endif %}  <br/>
  279.             Le lieu principal où s’exerce votre activité est : {% if lieu is defined %} {{ lieu }} {% endif %} <br/>
  280.             {{adresse}}
  281.             <br/>
  282.             Région : {{localisation}}
  283.             <br/>
  284.             <strong>Votre activité peut vous amener à vous déplacer :</strong><br/>
  285.             Pour ce faire vous bénéficiez d’une autorisation permanente de déplacement valable sur le périmètre :
  286.     {% if synthese.infoPlm is defined and synthese.infoPlm.cadreGeneral is defined %}
  287.             {% set perimetre = synthese.infoPlm.cadreGeneral|perimetre %}
  288.         {% if perimetre is defined %}
  289.             {{ perimetre}}
  290.         {% endif %}
  291.     {% endif %}
  292.              <br>
  293.             Celle-ci est modifiable autant que de besoin par le Directeur Technique National sur demande écrite à la direction des sports.
  294.         </p>
  295.          <strong>Lors de vos déplacements à l’étranger vous devez respecter le cadre suivant :</strong>
  296.         <p style="text-align: justify;"> {{txt2|raw|nl2br}}</p>
  297.         <strong>Dans l’exercice de vos activités, vous êtes soumis à un ensemble d’obligations auxquelles vous êtes tenu de vous conformer :</strong>
  298.         <p style="text-align: justify;"> {{txt3|raw|nl2br}}</p>
  299.         <strong>Le détail des activités de votre lettre de missions est le suivant :</strong> <br/>
  300.         <br/>
  301.       <page backtop="0mm" backbottom="10mm" backleft="0mm" backright="0mm">
  302.          <page_footer>
  303.             <table class="footer">
  304.                 <tr>
  305.                     <td style="width:730px; text-align: right">
  306.                         page [[page_cu]]/[[page_nb]]
  307.                     </td>
  308.                 </tr>
  309.             </table>
  310.         </page_footer>    
  311.           <page_header>
  312.             <div style="margin-top: -70px;">
  313.                 <div id="bloc_header" class="bloc_contexte" align="right">
  314.                     <table style="width:700px; height: 72px;">
  315.                         <tr>
  316.                             <td width="500" valign="left" align="left">
  317.                                 <span style="font-family:Arial;font-size:12px">
  318.                                     <b>(Projet) de lettre de missions de</b> {{ synthese.infoCts.civilite }} {{ synthese.infoCts.nom }} {{ synthese.infoCts.prenom }}
  319.                                     <br/><b>Affecté à :</b> {{ synthese.infoCts.affectation }}<br/>
  320.                                      {{ synthese.infoCts.federation }} 
  321.                                         {% if synthese.infoCts.poste is defined %}
  322.                                          {% set socleRh = synthese.infoCts.poste|socleRh %}
  323.                                          {% if socleRh is defined %}
  324.                                             {{ socleRh }}
  325.                                         {% endif %}
  326.                                         {% endif %}
  327.                                 </span>
  328.                             </td>
  329.                             <td width="190px;" align="right" valign="right">
  330.                                 <span style="font-family:Arial;font-size:12px;font-weight:bold;margin-top: 10px;margin-left:10px;">
  331.                                     n°{{ synthese.infoPlm.matricule }}</span>
  332.                             </td>
  333.                         </tr>
  334.                     </table>
  335.                 </div>
  336.             </div>
  337.         </page_header> 
  338.        <table class="action_table">
  339.             <tr class="gray1 bold" width="585">
  340.                 <td width="250" class="myTd">Fonction</td>
  341.                 <td width="305" class="myTd">Activité</td>
  342.                 <td width="20" class="gray1 myTd">REG</td>
  343.                 <td width="20" class="gray1 myTd">NAT</td>
  344.                 <td width="20" class="gray1 myTd">TOTAL</td>
  345.             </tr>
  346.             {% for listAction in synthese.ListeAction %}
  347.              {% if listAction.code_action is defined %}
  348.                 {% if listAction.code_action != "FOR" %}
  349.                 <tr class="bold" swidth="585">
  350.                     <td width="555" colspan="2" class="gray1 action myTd"
  351.                         style="font-size:12px;text-align:left;">Action
  352.                         n°{{ listAction.num_action }} {{ listAction.libAction }}</td>
  353.                     <td width="20" class="gray1 myTd" align="center">{{ listAction.quoReg }} </td>
  354.                     <td width="20" class="gray1 myTd" align="center">{{ listAction.quoNat }}</td>
  355.                     <td width="20" class="gray1 myTd" align="center">{{ listAction.quoReg + listAction.quoNat }}</td>
  356.                 </tr>
  357.                 {% endif %}
  358.             {% endif %}
  359.             {% if listAction.code_action is defined %}
  360.                 {% if listAction.code_action == "FOR" %}
  361.                 <tr class="bold" swidth="585">
  362.                     <td width="555" colspan="2" class="gray1 action myTd"
  363.                         style="font-size:12px;text-align:left;">Action
  364.                         n°{{ listAction.num_action }} {{ listAction.libAction }}</td>
  365.                     <td width="20" class="gray1 myTd" align="center"></td>
  366.                     <td width="20" class="gray1 myTd" align="center"></td>
  367.                     <td width="20"class="gray1 myTd" align="center"></td>
  368.                 </tr>
  369.                 <tr  width="585">
  370.                     <td colspan="5" class="myTd"
  371.                         style="font-size:10px;text-align:left;" width="555">
  372.                         <I>Les activités de formation et de développement de carrière de l’agent sont inscrites dans 
  373.                         un plan de formation individuel validé avec le supérieur hiérarchique qui en fixe les modalités et le volume. 
  374.                         Elles ne sont pas prises en compte dans la quotité des missions</I>
  375.                     </td>
  376.                 </tr>
  377.                {% endif %}
  378.             {% endif %}
  379.                 {% for listSousAction in listAction.listeSousAction %}
  380.                     <tr width="585">
  381.                         <td width="250;" style="font-size: 10px;" class="myTd" >{{ listSousAction.Libelle }}</td>
  382.                         <td colspan="5" valign="top" width="305">
  383.                             <table style="border:0px;border-collapse: collapse; padding-top:0px;border: none; border-color:#ededed " border="0">
  384.                                 {% for listeActivite in listSousAction.listeActivite %}
  385.                                     <tr style="border-collapse: collapse;border: none;" width="305">
  386.                                         <td class="sous-action-lib myTd" width="308" style="font-size: 10px;border-collapse: collapse; border-top: none;border-left:none;">
  387.                                             {% if not listeActivite.masquerLibelle %}
  388.                                             <span>{{ listeActivite.libelleActivite }}</span>
  389.                                             {% endif %}
  390.                                             <br><span style="text-indent: 10px;"><br></span>
  391.                                         </td>
  392.                                         {% if listAction.code_action is defined %}
  393.                                             {% if listAction.code_action != "FOR" %}
  394.                                             <td width="40" class="green1" style="border-top: none;border-collapse: collapse;"><span style="line-height: 14px;vertical-align: center;margin-top: 5px;border-top: none;">{{ listeActivite.quoReg }}</span></td>
  395.                                             <td width="40" class="yellow1" style="border-top: none;border-collapse: collapse;"><span style="line-height: 14px;vertical-align: center;margin-top: 5px;border-top: none;">{{ listeActivite.quoNat }}</span></td>
  396.                                             <td width="40" class="blue1" style="border-top: none;border-collapse: collapse;"><span style="line-height: 14px;vertical-align: center;margin-top: 5px;">{{ listeActivite.quoReg + listeActivite.quoNat }}</span></td>
  397.                                             {% else %}
  398.                                             <td width="40" class="gray1" style="border-top: none;border-collapse: collapse;"></td>
  399.                                             <td width="40" class="gray1" style="border-top: none;border-collapse: collapse;"></td>
  400.                                             <td width="40" class="gray1" style="border-top: none;border-collapse: collapse;"></td>
  401.                                             {% endif %}
  402.                                         {% endif %}
  403.                                     </tr>
  404.                                 {% endfor %}
  405.                             </table>
  406.                         </td>
  407.                      </tr>
  408.                 {% endfor %}
  409.             {% endfor %}
  410.         </table> 
  411.         <br/><br/>
  412.         <strong>Votre mission doit respecter les directives suivantes communes à tous les CTS de la fédération et fixées par le DTN,</strong>
  413.         <p style="text-align: justify;">{{txt5|raw|nl2br}}</p>
  414.          <strong>
  415.             En outre, l’exercice de votre mission devra se faire selon les indications suivantes :
  416.         </strong>
  417.         <p style="text-align: justify;">{{precision|raw|nl2br}}</p>
  418.        <strong>
  419.             Votre mission doit respecter les directives suivantes communes à tous les CTS de votre service,
  420.         </strong>
  421.         <p style="text-align: justify;">{{txt7|raw|nl2br}}</p>
  422.         <strong>
  423.             En outre, l’exercice de votre mission devra se faire selon les instructions suivantes :
  424.         </strong>
  425.         <p style="text-align: justify;">{{superieur_hierarchique|raw|nl2br}}</p>
  426.         <strong>
  427.            Enfin, votre mission doit respecter les instructions nationales données par la direction des sports.
  428.         </strong>
  429.         <p style="text-align: justify;">{{txt4|raw|nl2br}}</p>
  430.          <nobreak> 
  431.          {% if projetLettreMission.IdWorkflow.IdWorkflow == 7 %}
  432.             <div class="bloc_validationfonctionnelle" height="300">
  433.                 <div style="font-size: 11px;"><strong>Validation fonctionnelle</strong></div>
  434.                 <div style="font-size: 10px">Le directeur technique national atteste que les missions confiées à l’agent ont été élaborées sur la base
  435.                     de ses propositions - article R131.22 du code du sport - et après échange avec l’agent concerné.<br/><br/></div>
  436.                 <div style="font-size: 10px">Cette lettre de missions, qui entre dans le cadre des directives techniques nationales de la fédération
  437.                     incluant les données du projet fédéral et les orientations ministérielles, est validée par le directeur
  438.                     technique national en tant que responsable fonctionnel de l’agent.</div>
  439.                 <table height="500">
  440.                     <tr width="370" >
  441.                         <td width="50%">
  442.                             <div class="bloc_sign" style="text-align:left;">
  443.                                 <p style="text-align:left;">
  444.                                     {% if signataireDtn.civilite is defined %} {{ signataireDtn.civilite }} {% endif %} 
  445.                                     {% if signataireDtn.prenom is defined %}{{ signataireDtn.prenom }}{% endif %} 
  446.                                     {% if signataireDtn.nom is defined %}{{ signataireDtn.nom }}{% endif %}
  447.                                     <br>
  448.                                     {% if signataireDtn.federation is defined %}{{ signataireDtn.federation }}{% endif %}
  449.                                     <br/><br/>
  450.                                     {% if signataireDtn.path is defined %}
  451.                                         {% if signataireDtn.path %}
  452.                                             <img src="{{ signataireDtn.path }}">
  453.                                         {% endif %}
  454.                                     {% else %}
  455.                                         <br />
  456.                                         <br />
  457.                                     {% endif %}
  458.                                 </p>
  459.                             </div>
  460.                         </td>
  461.                         <td width="50%">
  462.                         {% if(signataire is defined) %}
  463.                             {% if(signataire) %}
  464.                             <div class="bloc_sign" style="text-align:right;">
  465.                                 <p style="text-align:right;">
  466.                                     {% if signataire.civilite is defined %} {{ signataire.civilite }} {% endif %} 
  467.                                     {% if signataire.nom is defined %}{{ signataire.nom }}{% endif %}
  468.                                     {% if signataire.prenom is defined %}{{ signataire.prenom }}{% endif %},
  469.                                     le {% if signataire.dateSignature is defined %} {{ signataire.dateSignature|date("d/m/Y") }} {% endif %}
  470.                                     <br/>
  471.                                     {% if signataire.fonction is defined %}{{ signataire.fonction }}{% endif %}<br/>
  472.                                     <br/><br/>
  473.                                     {% if signataire.path is defined %}
  474.                                         {% if signataire.path %}
  475.                                             <img src="{{ signataire.path }}">
  476.                                         {% endif %}
  477.                                     {% else %}
  478.                                         
  479.                                     {% endif %}
  480.                                     {% if signataire.sup %}
  481.                                         Supérieur hiérarchique<br/>
  482.                                         <br/><br/>
  483.                                     {% endif %}
  484.                                 </p>
  485.                             </div>
  486.                         {% else %}
  487.                             <div class="bloc_sign" style="text-align:right;">
  488.                                 <p style="text-align:right;">
  489.                                     {% if userInfor.direction is defined %} {{ userInfor.direction }} {% endif %}
  490.                                     <br/>
  491.                                     {% if userInfor.civilite is defined %} {{ userInfor.civilite }} {% endif %} {% if userInfor.prenom is defined %}{{ userInfor.prenom }}{% endif %} {% if userInfor.nom is defined %}{{ userInfor.nom  }}{% endif %}
  492.                                     <br>
  493.                                     {% if userInfor.civilite is defined %} Le {{ "now"|date("d/m/Y") }} {% endif %}
  494.                                     <br/><br/>
  495.                                 </p>
  496.                             </div>
  497.                         {% endif %}
  498.                         {% endif %}
  499.                         </td>
  500.                     </tr>
  501.                 </table>
  502.                 La présente lettre de missions est validée et signée par l’autorité compétente.
  503.                 <br /> <br /> <br /><br />
  504.             </div>
  505.         {% endif %}
  506.         
  507.         </nobreak>
  508.         </page>
  509.  
  510.     {% else %} 
  511.         Le fichier PDF n'a pas pu être généré correctement,<br/>
  512. car aucune action n'est enregistrée pour le dossier de l'agent. Saisissez et enregistrez les missions de l'agent avant de renouveler votre demande d'édition.
  513.      {% endif %} 
  514.     <div id="footer" >
  515.     <p style="text-align:left">
  516.     {% if footer is defined %}
  517.         {% for element in footer %}
  518.             {% if element != '' %}
  519.                 <p align="center"> {{ element }}</p>
  520.             {% endif %}
  521.         {% endfor %}
  522.     {% endif %}
  523.     </p>
  524.     </div>
  525.     </body>
  526. </html>