15/06/2024 - 21h30
parent
9bc46cc073
commit
7e75677e2a
|
@ -1,11 +1,12 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="11/06/2024 - 23h30">
|
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="12/06/2024 - 21h30">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<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$/Dashbord_queries/factures_tbd_qries.py" beforeDir="false" afterPath="$PROJECT_DIR$/Dashbord_queries/factures_tbd_qries.py" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/Dashbord_queries/ressources_humaines_tbd_qries.py" beforeDir="false" afterPath="$PROJECT_DIR$/Dashbord_queries/ressources_humaines_tbd_qries.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$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/emargement.py" beforeDir="false" afterPath="$PROJECT_DIR$/emargement.py" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/Session_Formation.py" beforeDir="false" afterPath="$PROJECT_DIR$/Session_Formation.py" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
|
@ -76,13 +77,6 @@
|
||||||
<option name="presentableId" value="Default" />
|
<option name="presentableId" value="Default" />
|
||||||
<updated>1680804787304</updated>
|
<updated>1680804787304</updated>
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00282" summary="sss">
|
|
||||||
<created>1714748608159</created>
|
|
||||||
<option name="number" value="00282" />
|
|
||||||
<option name="presentableId" value="LOCAL-00282" />
|
|
||||||
<option name="project" value="LOCAL" />
|
|
||||||
<updated>1714748608160</updated>
|
|
||||||
</task>
|
|
||||||
<task id="LOCAL-00283" summary="vvvv">
|
<task id="LOCAL-00283" summary="vvvv">
|
||||||
<created>1714823572225</created>
|
<created>1714823572225</created>
|
||||||
<option name="number" value="00283" />
|
<option name="number" value="00283" />
|
||||||
|
@ -419,7 +413,14 @@
|
||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1718141094207</updated>
|
<updated>1718141094207</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="331" />
|
<task id="LOCAL-00331" summary="12/06/2024 - 21h30">
|
||||||
|
<created>1718220447607</created>
|
||||||
|
<option name="number" value="00331" />
|
||||||
|
<option name="presentableId" value="LOCAL-00331" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1718220447608</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="332" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="Vcs.Log.Tabs.Properties">
|
<component name="Vcs.Log.Tabs.Properties">
|
||||||
|
@ -461,7 +462,6 @@
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="VcsManagerConfiguration">
|
<component name="VcsManagerConfiguration">
|
||||||
<MESSAGE value="ddd" />
|
|
||||||
<MESSAGE value="17/05/2024 - 21h30" />
|
<MESSAGE value="17/05/2024 - 21h30" />
|
||||||
<MESSAGE value="sdf" />
|
<MESSAGE value="sdf" />
|
||||||
<MESSAGE value="18/05/2024 - 22h30" />
|
<MESSAGE value="18/05/2024 - 22h30" />
|
||||||
|
@ -486,6 +486,7 @@
|
||||||
<MESSAGE value="ssq" />
|
<MESSAGE value="ssq" />
|
||||||
<MESSAGE value="qqsd" />
|
<MESSAGE value="qqsd" />
|
||||||
<MESSAGE value="11/06/2024 - 23h30" />
|
<MESSAGE value="11/06/2024 - 23h30" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="11/06/2024 - 23h30" />
|
<MESSAGE value="12/06/2024 - 21h30" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="12/06/2024 - 21h30" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
|
@ -887,7 +887,6 @@ def TBD_FACTURE_01_Export_Dashbord_To_Excel(diction):
|
||||||
worksheet.write(row, column, no_html)
|
worksheet.write(row, column, no_html)
|
||||||
column += 1
|
column += 1
|
||||||
|
|
||||||
|
|
||||||
elif (my_user_dashbord['dashbord_internal_code'] == "tbd_facture_02"):
|
elif (my_user_dashbord['dashbord_internal_code'] == "tbd_facture_02"):
|
||||||
|
|
||||||
# Recuperation des colonne à exporter
|
# Recuperation des colonne à exporter
|
||||||
|
@ -1089,7 +1088,7 @@ def TBD_FACTURE_01_Export_Dashbord_To_Excel(diction):
|
||||||
worksheet.write(row, column, no_html)
|
worksheet.write(row, column, no_html)
|
||||||
column += 1
|
column += 1
|
||||||
|
|
||||||
if (my_user_dashbord['dashbord_internal_code'] == "tbd_facture_04"):
|
elif (my_user_dashbord['dashbord_internal_code'] == "tbd_facture_04"):
|
||||||
|
|
||||||
# Recuperation des colonne à exporter
|
# Recuperation des colonne à exporter
|
||||||
base_config_dashbord_data = MYSY_GV.dbname['base_config_dashbord'].find_one(
|
base_config_dashbord_data = MYSY_GV.dbname['base_config_dashbord'].find_one(
|
||||||
|
|
|
@ -411,7 +411,7 @@ def TBD_RH_01_Export_Dashbord_To_Csv(diction):
|
||||||
return local_status, local_retval
|
return local_status, local_retval
|
||||||
new_retval_data = local_retval
|
new_retval_data = local_retval
|
||||||
|
|
||||||
if (my_user_dashbord['dashbord_internal_code'] == "tbd_rh_02"):
|
elif (my_user_dashbord['dashbord_internal_code'] == "tbd_rh_02"):
|
||||||
local_status, local_retval = Get_Humain_Ressource_With_Planning_And_Cost(my_new_diction)
|
local_status, local_retval = Get_Humain_Ressource_With_Planning_And_Cost(my_new_diction)
|
||||||
if (local_status is False):
|
if (local_status is False):
|
||||||
return local_status, local_retval
|
return local_status, local_retval
|
||||||
|
@ -470,8 +470,6 @@ def TBD_RH_01_Export_Dashbord_To_Csv(diction):
|
||||||
flattened_record[str(local_fiels)] = answers_record_JSON[str(local_fiels)]
|
flattened_record[str(local_fiels)] = answers_record_JSON[str(local_fiels)]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
flattened_record['filtre_date_debut'] = str(session_start_date)
|
flattened_record['filtre_date_debut'] = str(session_start_date)
|
||||||
flattened_record['filtre_date_fin'] = str(session_end_date)
|
flattened_record['filtre_date_fin'] = str(session_end_date)
|
||||||
flattened_record['date_extraction'] = str(todays_date)
|
flattened_record['date_extraction'] = str(todays_date)
|
||||||
|
|
10809
Log/log_file.log
10809
Log/log_file.log
File diff suppressed because one or more lines are too long
1144
Session_Formation.py
1144
Session_Formation.py
File diff suppressed because it is too large
Load Diff
20
main.py
20
main.py
|
@ -8285,6 +8285,26 @@ def Prepare_and_Send_Facture_From_Session_By_Inscription_Id():
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
"""
|
||||||
|
API DE TEST FACTURATION 15/06/2024
|
||||||
|
"""
|
||||||
|
@app.route('/myclass/api/TEST_invoice_split_Invoice_Partner_From_Session_By_Inscription_Id/', methods=['POST','GET'])
|
||||||
|
@crossdomain(origin='*')
|
||||||
|
def TEST_invoice_split_Invoice_Partner_From_Session_By_Inscription_Id():
|
||||||
|
# On recupere le corps (payload) de la requete
|
||||||
|
payload = mycommon.strip_dictionary (request.form.to_dict())
|
||||||
|
print(" ### TEST_invoice_split_Invoice_Partner_From_Session_By_Inscription_Id : payload = ",str(payload))
|
||||||
|
|
||||||
|
file = []
|
||||||
|
if request.method == 'POST':
|
||||||
|
# Create variable for uploaded file
|
||||||
|
tab_files = []
|
||||||
|
for tmp in request.files.getlist("File"):
|
||||||
|
tab_files.append(tmp)
|
||||||
|
|
||||||
|
status, retval, invoice_ref = SF.TEST_invoice_split_Invoice_Partner_From_Session_By_Inscription_Id(tab_files, payload)
|
||||||
|
return jsonify(status=status, message=retval, invoice_ref=invoice_ref)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue