27/12/2022 - 16h00

master
cherif 2022-12-27 16:23:51 +01:00
parent 1afd2081c9
commit 4e5fb5e8ce
3 changed files with 763 additions and 11 deletions

View File

@ -1,13 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="1122d9e2-679f-46d6-8c4f-97e9ae4041b5" name="Changes" comment="24/12/2022 - 15h00">
<list default="true" id="1122d9e2-679f-46d6-8c4f-97e9ae4041b5" name="Changes" comment="27/12/2022 - 11h00">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Inscription_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/Inscription_mgt.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Session_Formation.py" beforeDir="false" afterPath="$PROJECT_DIR$/Session_Formation.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/class_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/class_mgt.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/prj_common.py" beforeDir="false" afterPath="$PROJECT_DIR$/prj_common.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -171,7 +168,14 @@
<option name="project" value="LOCAL" />
<updated>1671890429738</updated>
</task>
<option name="localTasksCounter" value="15" />
<task id="LOCAL-00015" summary="27/12/2022 - 11h00">
<created>1672136528048</created>
<option name="number" value="00015" />
<option name="presentableId" value="LOCAL-00015" />
<option name="project" value="LOCAL" />
<updated>1672136528048</updated>
</task>
<option name="localTasksCounter" value="16" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -199,7 +203,8 @@
<MESSAGE value="20/12/22 - 11h30" />
<MESSAGE value="20/12/22 - 15h30" />
<MESSAGE value="24/12/2022 - 15h00" />
<option name="LAST_COMMIT_MESSAGE" value="24/12/2022 - 15h00" />
<MESSAGE value="27/12/2022 - 11h00" />
<option name="LAST_COMMIT_MESSAGE" value="27/12/2022 - 11h00" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>

View File

@ -712,6 +712,10 @@ def DownloadParticipantsList(diction):
local_data['titre_formation'] = local_formation['title']
local_data['debut_session'] = local_session ['date_debut']
local_data['fin_session'] = local_session['date_fin']
local_data['prenom'] = retval['prenom']
local_data['nom'] = retval['nom']
local_data['email'] = retval['email']
@ -724,6 +728,12 @@ def DownloadParticipantsList(diction):
adresse = retval['adresse']
local_data['adresse'] = adresse
formateur = ""
if ("formateur" in local_session.keys()):
if (local_session['formateur']):
formateur = local_session['formateur']
local_data['formateur'] = formateur
code_postal = ""
if ("code_postal" in retval.keys()):
if (retval['code_postal']):
@ -1008,11 +1018,18 @@ def PrintAttendeeDetail_perSession(diction):
my_retrun_dict['status'] = local_Insc_retval['status']
my_retrun_dict['price'] = local_Insc_retval['price']
my_retrun_dict['inscription_validation_date'] = local_Insc_retval['inscription_validation_date']
my_retrun_dict['evaluation'] = local_Insc_retval['eval_eval']
my_retrun_dict['note_eval'] = local_Insc_retval['eval_note']
my_retrun_dict['date_eval'] = str(local_Insc_retval['eval_date'])[0:10]
if ("inscription_validation_date" in local_Insc_retval.keys()):
my_retrun_dict['inscription_validation_date'] = local_Insc_retval['inscription_validation_date']
if ("eval_eval" in local_Insc_retval.keys()):
my_retrun_dict['evaluation'] = local_Insc_retval['eval_eval']
if ("eval_note" in local_Insc_retval.keys()):
my_retrun_dict['note_eval'] = local_Insc_retval['eval_note']
if ("eval_date" in local_Insc_retval.keys()):
my_retrun_dict['date_eval'] = str(local_Insc_retval['eval_date'])[0:10]
v = local_Insc_retval['_id'].generation_time
my_retrun_dict['created_date'] = str(v.strftime("%d/%m/%Y"))
@ -1338,7 +1355,7 @@ def SendAttendeeCertification(diction):
my_retrun_dict['prenom'] = local_Insc_retval['prenom']
my_retrun_dict['employeur'] = local_Insc_retval['employeur']
my_retrun_dict['telephone'] = local_Insc_retval['telephone']
my_retrun_dict['formateur'] = session_formation['formateur']
my_retrun_dict['email'] = local_Insc_retval['email']
# Recuperation des infotrmations de la formation

File diff suppressed because one or more lines are too long