diff options
author | polo <ordipolo@gmx.fr> | 2023-09-01 12:00:23 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2023-09-01 12:00:23 +0200 |
commit | 45f1b99a1060ee43deb6055faef1f8b16b5d80a2 (patch) | |
tree | 2be0c73b839b220433280daaf29d41644ecd4851 /src/functions.php | |
parent | 6f4cc3afffde36a13618458ffda72e6104624f36 (diff) | |
download | AppliGestionPHP-45f1b99a1060ee43deb6055faef1f8b16b5d80a2.zip |
section 3 bientôt terminée
Diffstat (limited to 'src/functions.php')
-rw-r--r-- | src/functions.php | 12 |
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 | |||
145 | function 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 | } | ||