diff options
| author | polo <ordipolo@gmx.fr> | 2023-12-23 10:00:24 +0100 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2023-12-23 10:00:24 +0100 |
| commit | a4d88fd1913758cc95b395eefcf5e9d730450382 (patch) | |
| tree | a7ffe3ab2816d7562cc967b5b4ef7c974dd7a0e2 /src/latex_templates | |
| parent | 78439b6a178e238ab8fb73d25567a85df78d6681 (diff) | |
| download | AppliGestionPHP-a4d88fd1913758cc95b395eefcf5e9d730450382.tar.gz AppliGestionPHP-a4d88fd1913758cc95b395eefcf5e9d730450382.tar.bz2 AppliGestionPHP-a4d88fd1913758cc95b395eefcf5e9d730450382.zip | |
devis payant, créer devis depuis facture, changement dans getIDsByIdClient(), suppression dépendance paquet latex "ulem", (string) dans setTelephone()
Diffstat (limited to 'src/latex_templates')
| -rw-r--r-- | src/latex_templates/devis.php | 7 | ||||
| -rw-r--r-- | src/latex_templates/originaux_pas_toucher/devis.tex | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/latex_templates/devis.php b/src/latex_templates/devis.php index 1bf2f94..ba6b635 100644 --- a/src/latex_templates/devis.php +++ b/src/latex_templates/devis.php | |||
| @@ -13,6 +13,10 @@ if($data['deplacement'] != 0) | |||
| 13 | { | 13 | { |
| 14 | $data['deplacement'] = ((string) $data['deplacement']) . '€'; | 14 | $data['deplacement'] = ((string) $data['deplacement']) . '€'; |
| 15 | } | 15 | } |
| 16 | if($data['prix_devis'] != 0) | ||
| 17 | { | ||
| 18 | $data['prix_devis'] = ((string) $data['prix_devis']) . '€'; | ||
| 19 | } | ||
| 16 | if($data['total_HT'] != 0) | 20 | if($data['total_HT'] != 0) |
| 17 | { | 21 | { |
| 18 | $data['total_HT'] = ((string) $data['total_HT']) . '€'; | 22 | $data['total_HT'] = ((string) $data['total_HT']) . '€'; |
| @@ -32,7 +36,6 @@ ob_start(); | |||
| 32 | \usepackage{xcolor} % texte en couleur | 36 | \usepackage{xcolor} % texte en couleur |
| 33 | \usepackage{tabularx} % dimensions des tableaux automatique | 37 | \usepackage{tabularx} % dimensions des tableaux automatique |
| 34 | \usepackage{tikz} % le rectangle | 38 | \usepackage{tikz} % le rectangle |
| 35 | \usepackage{ulem} % pour barrer | ||
| 36 | 39 | ||
| 37 | \begin{document} | 40 | \begin{document} |
| 38 | \setlength{\parindent}{0cm} % supprimer les alinéas | 41 | \setlength{\parindent}{0cm} % supprimer les alinéas |
| @@ -87,6 +90,8 @@ ob_start(); | |||
| 87 | 90 | ||
| 88 | Déplacement : \textcolor{vert}{<?= $data['deplacement'] ?>} | 91 | Déplacement : \textcolor{vert}{<?= $data['deplacement'] ?>} |
| 89 | 92 | ||
| 93 | Devis Payant : \textcolor{vert}{<?= $data['prix_devis'] ?>} | ||
| 94 | |||
| 90 | Total HT : \textcolor{vert}{<?= $data['total_HT'] ?>} | 95 | Total HT : \textcolor{vert}{<?= $data['total_HT'] ?>} |
| 91 | 96 | ||
| 92 | \textit{(TVA non applicable, article 293B du code général des impôts)} | 97 | \textit{(TVA non applicable, article 293B du code général des impôts)} |
diff --git a/src/latex_templates/originaux_pas_toucher/devis.tex b/src/latex_templates/originaux_pas_toucher/devis.tex index fa8ca79..e069308 100644 --- a/src/latex_templates/originaux_pas_toucher/devis.tex +++ b/src/latex_templates/originaux_pas_toucher/devis.tex | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | \usepackage{xcolor} % texte en couleur | 10 | \usepackage{xcolor} % texte en couleur |
| 11 | \usepackage{tabularx} % dimensions des tableaux automatique | 11 | \usepackage{tabularx} % dimensions des tableaux automatique |
| 12 | \usepackage{tikz} % le rectangle | 12 | \usepackage{tikz} % le rectangle |
| 13 | \usepackage{ulem} % pour barrer | ||
| 14 | 13 | ||
| 15 | \begin{document} | 14 | \begin{document} |
| 16 | \setlength{\parindent}{0cm} % supprimer les alinéas | 15 | \setlength{\parindent}{0cm} % supprimer les alinéas |
| @@ -65,6 +64,8 @@ | |||
| 65 | 64 | ||
| 66 | Déplacement : \textcolor{vert}{} | 65 | Déplacement : \textcolor{vert}{} |
| 67 | 66 | ||
| 67 | Devis Payant : \textcolor{vert}{} | ||
| 68 | |||
| 68 | Total HT : \textcolor{vert}{} | 69 | Total HT : \textcolor{vert}{} |
| 69 | 70 | ||
| 70 | \textit{(TVA non applicable, article 293B du code général des impôts)} | 71 | \textit{(TVA non applicable, article 293B du code général des impôts)} |
