09/07/26 - 20h

Signed-off-by: Cherif <cbalde@mysy-training.com>
master_Elyos_FI
Cherif 2026-07-09 21:16:44 +02:00
parent 14c1dabc39
commit 0f6e4cd65c
5 changed files with 5469 additions and 13 deletions

View File

@ -4,15 +4,11 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="03/07/26 - 20h">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="05/07/26 - 20h">
<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$/email_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/email_mgt.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/groupe_inscrit_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/groupe_inscrit_mgt.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/partner_invoice.py" beforeDir="false" afterPath="$PROJECT_DIR$/partner_invoice.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/class_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/class_mgt.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/ela_user_account.py" beforeDir="false" afterPath="$PROJECT_DIR$/ela_user_account.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wrapper.py" beforeDir="false" afterPath="$PROJECT_DIR$/wrapper.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
@ -457,7 +453,7 @@
<option name="project" value="LOCAL" />
<updated>1747251650255</updated>
</task>
<option name="localTasksCounter" value="605" />
<option name="localTasksCounter" value="606" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -499,7 +495,6 @@
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="13/05/26 - 17h" />
<MESSAGE value="15/05/2026 - 17h30" />
<MESSAGE value="16/05/2026 - 13h30" />
<MESSAGE value="19/05/2026 - 20h30" />
@ -524,6 +519,7 @@
<MESSAGE value="27/06/26 - 18hs" />
<MESSAGE value="30/06/26 - 20h" />
<MESSAGE value="03/07/26 - 20h" />
<option name="LAST_COMMIT_MESSAGE" value="03/07/26 - 20h" />
<MESSAGE value="05/07/26 - 20h" />
<option name="LAST_COMMIT_MESSAGE" value="05/07/26 - 20h" />
</component>
</project>

File diff suppressed because it is too large Load Diff

View File

@ -2881,6 +2881,9 @@ def get_class(diction):
return False, " Impossible de récupérer la formation"
"""
Cette fonction recuperer les données d'une formation indépendamment de sont affichage sur la marketplace
"""

View File

@ -875,6 +875,7 @@ def get_user_account(diction):
if ("birthday" not in user.keys() or str(user['birthday']) == ""):
user['date_naissance'] = "01/01/1900"
#print(" ### user = ", user)
RetObject.append(JSONEncoder().encode(user))
return True, RetObject

View File

@ -747,9 +747,31 @@ def get_all_class_Given_partner_owner_recid_No_Login_With_Valide_Session(diction
user['categorie_display_session_private_catalog '] = local_class_categorie_display_session_private_catalog
local_session['cpf'] = user['cpf']
if( "img_url" in user.keys()):
local_session['img_url'] = user['img_url']
"""
09/07/2026
Recup de l'image de la formation :
"""
class_img_qry = { "type":"profil_class", "class_external_code":str(x['external_code']),
'related_collection_recid':str(x['_id']),
"related_collection":"myclass"}
print("### QRY img = ", class_img_qry)
image_ch_data = MYSY_GV.dbname['image_ch'].find_one(class_img_qry)
class_img = ""
if(image_ch_data and 'img' in image_ch_data.keys() and image_ch_data['img']):
decode = image_ch_data['img'].decode()
class_img = decode
user['class_img'] = class_img
if ("metier" in user.keys()):
local_session['metier'] = user['metier']
@ -765,9 +787,6 @@ def get_all_class_Given_partner_owner_recid_No_Login_With_Valide_Session(diction
if ("inscription_direct" in user.keys()):
local_session['inscription_direct'] = user['inscription_direct']
print(" SESSS ion local_session = ", local_session)
tab_session.append(local_session)