From 084264d336fa9156e1b26196d3936eb3cf2c9782 Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 9 Oct 2026 17:45:25 +0200 Subject: =?UTF-8?q?Client::controlForm()=20filtre=20un=20client=20sans=20n?= =?UTF-8?q?om=20ou=20code=20client,=20=C3=A9crire=20"gratuit"=20pour=20un?= =?UTF-8?q?=20devis=20gratuit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/latex_templates/devis.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/latex_templates/devis.php') diff --git a/src/latex_templates/devis.php b/src/latex_templates/devis.php index b686d22..34c0dd3 100644 --- a/src/latex_templates/devis.php +++ b/src/latex_templates/devis.php @@ -22,6 +22,10 @@ if($data['total_HT'] != 0) $data['total_HT'] = ((string) $data['total_HT']) . '€'; } +if($data['prix_devis'] === 0){ // un float est fait juste avant + $data['prix_devis'] = "gratuit"; +} + ob_start(); ?> \documentclass{report} @@ -90,7 +94,7 @@ ob_start(); Déplacement : \textcolor{vert}{} - Devis Payant : \textcolor{vert}{} + Prix Devis : \textcolor{vert}{} Total HT : \textcolor{vert}{} -- cgit v1.2.3