summaryrefslogtreecommitdiff
path: root/src/functions.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2023-09-01 12:00:23 +0200
committerpolo <ordipolo@gmx.fr>2023-09-01 12:00:23 +0200
commit45f1b99a1060ee43deb6055faef1f8b16b5d80a2 (patch)
tree2be0c73b839b220433280daaf29d41644ecd4851 /src/functions.php
parent6f4cc3afffde36a13618458ffda72e6104624f36 (diff)
downloadAppliGestionPHP-45f1b99a1060ee43deb6055faef1f8b16b5d80a2.zip
section 3 bientôt terminée
Diffstat (limited to 'src/functions.php')
-rw-r--r--src/functions.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/functions.php b/src/functions.php
index c847403..47961f2 100644
--- a/src/functions.php
+++ b/src/functions.php
@@ -140,15 +140,3 @@ function getServices(Clients $Client)
140 return $PrestaList[$input]; 140 return $PrestaList[$input];
141 } 141 }
142} 142}
143
144
145function makeTexAndPdf(Object $Object)
146{
147 if(get_class($Object) !== 'EnveloppeVersoLatex')
148 {
149 makeFolder($Object->getLatexPath());
150 makeFolder($Object->getPdfPath());
151 }
152 makeFile($Object->getLatexPath(), $Object->getFileName(), $Object->getLatex()); // fichier .tex
153 latexToPdf($Object->getLatexPath(), $Object->getFileName(), $Object->getPdfPath()); // fichier .pdf avec pdflatex
154}