fix_9.4.45 #605
|
@ -494,7 +494,8 @@ def formation_list_table(formation_id=None, args={}):
|
|||
else:
|
||||
f["date_fin_dernier_sem"] = ""
|
||||
f["annee_dernier_sem"] = ""
|
||||
locked = formation_has_locked_sems(f["formation_id"])
|
||||
formation: Formation = Formation.query.get_or_404(f["formation_id"])
|
||||
locked = formation.has_locked_sems()
|
||||
#
|
||||
if locked:
|
||||
but_locked = lockicon
|
||||
|
|
Loading…
Reference in New Issue