master
cherif 2024-06-20 19:14:59 +02:00
parent 90e2e3551f
commit fc65785d63
3 changed files with 6204 additions and 12 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="17/06/2024 - 21h30">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="18/06/2024 - 21h30">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" 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" />
@ -74,13 +74,6 @@
<option name="presentableId" value="Default" />
<updated>1680804787304</updated>
</task>
<task id="LOCAL-00285" summary="05/05/2024 - 13h30">
<created>1714909797952</created>
<option name="number" value="00285" />
<option name="presentableId" value="LOCAL-00285" />
<option name="project" value="LOCAL" />
<updated>1714909797953</updated>
</task>
<task id="LOCAL-00286" summary="05/05/2024 - 17h30">
<created>1714923761168</created>
<option name="number" value="00286" />
@ -417,7 +410,14 @@
<option name="project" value="LOCAL" />
<updated>1718656591746</updated>
</task>
<option name="localTasksCounter" value="334" />
<task id="LOCAL-00334" summary="18/06/2024 - 21h30">
<created>1718744595262</created>
<option name="number" value="00334" />
<option name="presentableId" value="LOCAL-00334" />
<option name="project" value="LOCAL" />
<updated>1718744595263</updated>
</task>
<option name="localTasksCounter" value="335" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -459,7 +459,6 @@
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="18/05/2024 - 22h30" />
<MESSAGE value="19/05/2024 - 22h15" />
<MESSAGE value="20/05/2024 - 14h00" />
<MESSAGE value="20/05/2024 - 22h00" />
@ -484,6 +483,7 @@
<MESSAGE value="12/06/2024 - 21h30" />
<MESSAGE value="15/06/2024 - 21h30" />
<MESSAGE value="17/06/2024 - 21h30" />
<option name="LAST_COMMIT_MESSAGE" value="17/06/2024 - 21h30" />
<MESSAGE value="18/06/2024 - 21h30" />
<option name="LAST_COMMIT_MESSAGE" value="18/06/2024 - 21h30" />
</component>
</project>

File diff suppressed because one or more lines are too long

View File

@ -11084,7 +11084,17 @@ def Invoice_Splited_Partner_From_Session_By_Inscription_Id( diction):
partner_invoice_header_data['total_header_toutes_taxes'] = str(round(split_invoice_part_FLOAT + (tva_value * split_invoice_part_FLOAT)/100, 2))
partner_invoice_header_data['invoice_header_type'] = "facture"
partner_invoice_header_data['comment'] = "Montant total HT = "+str(total_ht)+"\n Type partage facture = "+str(split_type)+"\n Part de la facture = "+str(split_invoice_part)
text_comment = "Montant total HT = "+str(total_ht)
if( str(split_type) == "percent"):
text_comment = text_comment + "\nType partage facture : POURCENTAGE \nMontant de la facture = "+str(split_invoice_part)
elif (str(split_type) == "fixe"):
text_comment = text_comment + "\nType partage facture : MONTANT \nMontant de la facture = "+str(split_invoice_part)
else :
text_comment = text_comment + "\nType partage facture : INCONNU \nMontant de la facture = "+str(split_invoice_part)
partner_invoice_header_data['order_header_comment'] = text_comment
partner_invoice_header_data['annotation'] = text_comment
partner_invoice_header_data['split_type'] = split_type
partner_invoice_header_data['split_invoice_part'] = str(split_invoice_part)