diff options
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 | } | ||
