Inclure les permanences dans le solde horaire
Some checks are pending
CI - Tests et Syntax / lint-and-test (push) Waiting to run
Some checks are pending
CI - Tests et Syntax / lint-and-test (push) Waiting to run
This commit is contained in:
parent
3257c9c8f1
commit
67ad5c568b
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ def time_tracking():
|
|||
})
|
||||
# Solde restant selon la règle de l'agent : objectif - prévu - retards
|
||||
# + heures supplémentaires + formations.
|
||||
balance_minutes = config.minutes_to_work - sum(item["planned"] for item in monthly_summary) - sum(item["retard"] for item in monthly_summary) + sum(item["supplementaire"] for item in monthly_summary) + sum(item["formation"] for item in monthly_summary)
|
||||
balance_minutes = config.minutes_to_work - planned - sum(item["retard"] for item in monthly_summary) + sum(item["supplementaire"] for item in monthly_summary) + sum(item["formation"] for item in monthly_summary)
|
||||
return render_template(
|
||||
"planning/time_tracking.html", year=year, period_start=period_start, period_end=period_end, time_config=config, templates=templates,
|
||||
assignments=assignments, closures=closures, permanence_options=permanence_options, permanence_groups=permanence_groups, entries=entries,
|
||||
|
|
|
|||
Loading…
Reference in a new issue