<commit_before>{% extends 'base.html.twig' %}
{% block title %}Validation de congés {% endblock %}
{% block body %}
<!-- Présentation de la liste des congés disponibles --> 



<!-- Présentation de la liste des demandes avec leur statut -->
<div class="row">
    <div class="box col-md-12">
    <div class="box-inner">
    <div class="box-header well" data-original-title="">
        <h2><i class="glyphicon glyphicon-user"></i> Liste des demandes</h2>

       
    </div>
    <div class="box-content">
    <table class="table table-striped table-bordered bootstrap-datatable datatable responsive">
    <thead>
    <tr>
        <th>Utilisateur</th>
        <th>Type de congé</th>
		
		<th>Détail</th>
        <th>Type de contrat</th>
		<th>Nombre de jours</th>
        <th>Actions</th>
    </tr>
    </thead>
    <tbody>
	<h1>{{ val }}</h1>
    <h1>{{ error_msg }}</h1>
    {% for entity in data %}
    <tr>
	{% set nbA = 0.0 %}
	{% set nbN = 0.0 %}
	{% set nbN1 = 0.0 %}
	
	{% set alertM1 = 0 %}
	
	{% for entityBis in entity.user.userLeaveMonths %}
		{% if entityBis.leaveType == entity.leaveType %}
			{% set nbA = nbA + entityBis.nbAvailable - entityBis.nbUsed %}
			
			{% if entityBis.year == -1 %}
				{% set nbN1 = nbN1 + entityBis.nbAvailable - entityBis.nbUsed %}
			{% else %}
				{% set nbN = nbN + entityBis.nbAvailable - entityBis.nbUsed %}
				{% if entityBis.nbUsed > 0 %}
					{% if entity.leaveType.uniqueName == 'CP'  %}
						{% set alertM1=1 %}
					{% endif %}
				{% endif %}
			{% endif %}
		{% endif %}<commit_msg>toujours pareil<commit_after>{% extends 'base.html.twig' %}
{% block title %}Validation de congés {% endblock %}
{% block body %}
<!-- Présentation de la liste des congés disponibles --> 



<!-- Présentation de la liste des demandes avec leur statut -->
<div class="row">
    <div class="box col-md-12">
    <div class="box-inner">
    <div class="box-header well" data-original-title="">
        <h2><i class="glyphicon glyphicon-user"></i> Liste des demandes</h2>

       
    </div>
    <div class="box-content">
    <table class="table table-striped table-bordered bootstrap-datatable datatable responsive">
    <thead>
    <tr>
        <th>Utilisateur</th>
        <th>Type de congé</th>
		
		<th>Détail</th>
        <th>Type de contrat</th>
		<th>Nombre de jours</th>
        <th>Actions</th>
    </tr>
    </thead>
    <tbody>
	<h1>{{ val }}</h1>
    <h1>{{ error_msg }}</h1>
    {% for entity in data %}
    <tr>
	{% set nbA = 0.0 %}
	{% set nbN = 0.0 %}
	{% set nbN1 = 0.0 %}
	
	{% set alertM1 = 0 %}
	
	{% for entityBis in entity.user.userLeaveMonths %}
		{% if entityBis.leaveType == entity.leaveType %}
			{% set nbA = nbA + entityBis.nbAvailable - entityBis.nbUsed %}
			
			{% if entityBis.year == -1 %}
				{% set nbN1 = nbN1 + entityBis.nbAvailable - entityBis.nbUsed %}
			{% else %}
				{% set nbN = nbN + entityBis.nbAvailable - entityBis.nbUsed %}
				{% if entityBis.nbUsed > 0.0 %}
					{% if entity.leaveType.uniqueName == 'CP'  %}
						{% set alertM1=1 %}
					{% endif %}
				{% endif %}
			{% endif %}
		{% endif %}
{'fraction_non_alphanumeric': 0.17942894224529526, 'fraction_numerical': 0.015249837767683322, 'mean_word_length': 2.5724217844727693, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2013252', 'n_tokens_mistral': 1355, 'n_tokens_neox': 1132, 'n_words': 265}