Use GLOBAL_CHARGE_PERCENT instead of hardcoded value

This commit is contained in:
alazo 2018-05-02 14:53:18 +02:00 committed by Claude Paroz
parent a0562849cd
commit 62a05dcf76

View file

@ -881,7 +881,7 @@ def imputations_export(request):
teacher.last_name, teacher.first_name, teacher.previous_report,
activities['tot_ens'], 'Ens. prof.', activities['tot_mandats'] + activities['tot_formation'],
'Accompagnement', activities['tot_paye'], 'Charge globale',
'{0:.2f}'.format(activities['tot_paye']/21.50),
'{0:.2f}'.format(activities['tot_paye']/settings.GLOBAL_CHARGE_PERCENT),
teacher.next_report,
]
values.extend(imputations.values())