30/05/23 - 22h

master
cherif 2023-05-30 22:17:19 +02:00
parent 19575ec64e
commit 4fe38cd0e8
3 changed files with 10704 additions and 19 deletions

View File

@ -1,15 +1,10 @@
<?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="28/05/23 - 15h">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="29/0523 - 20h">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/GlobalVariable.py" beforeDir="false" afterPath="$PROJECT_DIR$/GlobalVariable.py" 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$/Template/MySy_Evaluation_Class_tpl.html" beforeDir="false" afterPath="$PROJECT_DIR$/Template/MySy_Evaluation_Class_tpl.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/email_inscription_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/email_inscription_mgt.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" beforeDir="false" afterPath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/prj_common.py" beforeDir="false" afterPath="$PROJECT_DIR$/prj_common.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/email_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/email_mgt.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -262,7 +257,14 @@
<option name="project" value="LOCAL" />
<updated>1685281037292</updated>
</task>
<option name="localTasksCounter" value="29" />
<task id="LOCAL-00029" summary="29/0523 - 20h">
<created>1685386019275</created>
<option name="number" value="00029" />
<option name="presentableId" value="LOCAL-00029" />
<option name="project" value="LOCAL" />
<updated>1685386019275</updated>
</task>
<option name="localTasksCounter" value="30" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -277,7 +279,6 @@
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="07/04/23 - 9h" />
<MESSAGE value="07/04/23 - 11h" />
<MESSAGE value="10/04/23 - 17h" />
<MESSAGE value="14/04/23 - 23h" />
@ -302,6 +303,7 @@
<MESSAGE value="23/05/23 - 23h" />
<MESSAGE value="25/05/23 - 17h" />
<MESSAGE value="28/05/23 - 15h" />
<option name="LAST_COMMIT_MESSAGE" value="28/05/23 - 15h" />
<MESSAGE value="29/0523 - 20h" />
<option name="LAST_COMMIT_MESSAGE" value="29/0523 - 20h" />
</component>
</project>

File diff suppressed because one or more lines are too long

View File

@ -1972,18 +1972,18 @@ def ManualSendInvoiceEmailRIB_PortCities(diction):
body = {
"params": {"order_id": "ST-230405001",
"date_order": ": 11/04/2023",
"total_ht": "7 750",
"tva": "1 550",
"total_ttc": "9 300",
"total_ht": "13 750",
"tva": "2 750",
"total_ttc": "16 500",
"client_name": "Freelance Informatique",
"client_address": "34 rue Laffitte",
"client_zip_ville": "75009 Paris",
"client_pays": "France",
"packs": "Chef de projet Odoo - Sur site",
"detail_packs": "Avignon - Siège CAPL ",
"qty": "6 jrs",
"qty": "14 jrs",
"unit_price": "750 €",
"montant": "4 500 €",
"montant": "10 500 €",
"packs2": "Chef de projet Odoo - A distance",
"detail_packs2": "Roissy en brie - Siège MTT ",
@ -1991,9 +1991,9 @@ def ManualSendInvoiceEmailRIB_PortCities(diction):
"unit_price2": "650 €",
"montant2": "3 200 €",
"invoice_id": "FACT_230500030",
"invoice_date": "01/05/2023",
"due_date": "01/05/2022",
"invoice_id": "FACT_230600031",
"invoice_date": "01/06/2023",
"due_date": "01/06/2023",
"orign_order": "Contrat ST-230405001",
}
}
@ -2027,7 +2027,7 @@ def ManualSendInvoiceEmailRIB_PortCities(diction):
#print(" ### body 22 = ", body)
sourceHtml = template.render(json_data=body["params"])
orig_file_name = "invoice_FACT_230400030.pdf"
orig_file_name = "invoice_FACT_230600031.pdf"
outputFilename = str(MYSY_GV.INVOICE_DIRECTORY) + str(orig_file_name)
# open output file for writing (truncated binary)