<th>Implantation</th>
<th>Employé</th>
<th>Poste</th>
- <th>Salaire</th>
- <th>Salaire EUR</th>
</tr>
<tr class="gris-bkg">
<td>{{ ancien_dossier.classement|default:"" }}</td>
<td>{{ ancien_dossier.poste.implantation }}</td>
<td>{{ dossier.employe }}</td>
<td>{{ ancien_dossier.poste.nom }}</td>
- {% with ancien_dossier.get_salaire as salaire %}
- <td>{{ salaire }}</td>
- <td>{{ salaire.montant_euros_float|floatformat:2 }} EUR</td>
- {% endwith %}
</tr>
{% if ancien_dossier and ancien_dossier.remunerations.all.count > 0 %}
<tr>
<td colspan="1">
Rémunération
</td>
- <td colspan="6">
+ <td colspan="4">
{% rh_remun_form_for_year ancien_dossier %}
</td>
</tr>
<th>Implantation</th>
<th>Employé</th>
<th>Poste</th>
- <th>Salaire</th>
- <th>Salaire EUR</th>
</tr>
<tr>
<td>{{ precedent_titulaire.classement|default:"" }}</td>
<td>{{ precedent_titulaire.poste.implantation }}</td>
<td>{{ precedent_titulaire.employe }}</td>
<td>{{ precedent_titulaire.poste.nom }}</td>
- {% with precedent_titulaire.get_salaire as salaire %}
- <td>{{ salaire }}</td>
- <td>{{ salaire.montant_euros_float|floatformat:2 }} EUR</td>
- {% endwith %}
</tr>
{% if precedent_titulaire and precedent_titulaire.remunerations.all.count > 0 %}
<tr>
<td colspan="1">
Rémunération
</td>
- <td colspan="6">
+ <td colspan="4">
{% rh_remun_form_for_year precedent_titulaire %}
</td>
</tr>
<th>Implantation</th>
<th>Employé</th>
<th>Poste</th>
- <th>Salaire</th>
- <th>Salaire EUR</th>
</tr>
{% for dc in comparaisons %}
<tr class="gris-bkg">
<td>{{ dc.implantation }}</td>
<td>{{ dc.personne }}</td>
<td>{{ dc.poste }}</td>
- <td>{{ dc.montant|floatformat:0 }} {{ dc.devise.code }}</td>
- <td>{{ dc.montant_euros }} EUR</td>
</tr>
{% if dc.dossier_comparaison_remunerations.count > 0 %}
<tr>
<td colspan="1">
Rémunération
</td>
- <td colspan="6">
+ <td colspan="4">
{% dossier_cmp_remun_form dc %}
</td>
</tr>
<th>Statut</th>
<th>Poste</th>
<th>Implantation</th>
- <th>Rémunération totale sans les charges patronales</th>
- <th>EUR</th>
</tr>
{% for poste_connexe in comparaisons_internes.all %}
<tr>
<td>{{ poste_connexe.statut }}</td>
<td>{{ poste_connexe.nom }}</td>
<td>{{ poste_connexe.implantation }}</td>
- <td>{{ poste_connexe.montant|floatformat:0 }} {{ poste_connexe.devise.code }}</td>
- <td>{{ poste_connexe.montant_euros }} €</td>
</tr>
{% if poste_connexe.poste_comparaison_remunerations.count > 0 %}
<tr>
- <td colspan="1">
+ <td>
Rémunération
</td>
- <td colspan="6">
+ <td colspan="3">
{% poste_cmp_remun_form poste_connexe %}
</td>
</tr>
model=rh.Remuneration,
)
- def _get_qs(inst, year=year):
+ year = year or (
+ dossier.date_fin.year if
+ dossier.date_fin else
+ datetime.date.today().year)
- if year == None:
- year = (
- inst.instance.date_fin.year if
- inst.instance.date_fin else
- datetime.date.today().year)
+ def _get_qs(inst, year=year):
year_start = datetime.date(year, 1, 1)
year_end = datetime.date(year, 12, 31)