Spaces:
Sleeping
Sleeping
EL GHAFRAOUI AYOUB
commited on
Commit
·
f50fae0
1
Parent(s):
140ef90
app/services/__pycache__/invoice_service.cpython-312.pyc
CHANGED
Binary files a/app/services/__pycache__/invoice_service.cpython-312.pyc and b/app/services/__pycache__/invoice_service.cpython-312.pyc differ
|
|
app/templates/index.html
CHANGED
@@ -785,7 +785,7 @@ function sortItemsByDescriptionAndLength(items) {
|
|
785 |
const tvaEnabled = document.querySelector("#tvaSwitch").checked;
|
786 |
|
787 |
const tax = tvaEnabled ? (totalHT * 0.20).toFixed(2) : "0.00";
|
788 |
-
const totalTTC = tvaEnabled ? (totalHT * 1.20).toFixed(2) :
|
789 |
|
790 |
document.querySelector("#totalHT").value = formattedTotalHT;
|
791 |
document.querySelector("#tax").value = tax;
|
|
|
785 |
const tvaEnabled = document.querySelector("#tvaSwitch").checked;
|
786 |
|
787 |
const tax = tvaEnabled ? (totalHT * 0.20).toFixed(2) : "0.00";
|
788 |
+
const totalTTC = tvaEnabled ? (totalHT * 1.20).toFixed(2) : "0.00";
|
789 |
|
790 |
document.querySelector("#totalHT").value = formattedTotalHT;
|
791 |
document.querySelector("#tax").value = tax;
|
sql_app.db
ADDED
Binary file (28.7 kB). View file
|
|