From ea5955a1847f64fb81e35100c5859afa77e6e048 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Wed, 15 May 2024 10:43:01 +0200 Subject: [PATCH] TVA improve test --- include/lib/itva_popup.class.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/lib/itva_popup.class.php b/include/lib/itva_popup.class.php index b88118cfa..2d67a9611 100644 --- a/include/lib/itva_popup.class.php +++ b/include/lib/itva_popup.class.php @@ -184,15 +184,16 @@ class ITva_Popup extends HtmlInput static public function test_me() { - $a = new IPopup('popup_tva'); - $a->set_title('Choix de la tva'); - echo $a->input(); + $tva = new ITva_Popup("tva1"); $tva->with_button(true); // We can add a label for the code $tva->add_label('code'); $tva->js = 'onchange="set_tva_label(this);"'; echo $tva->input(); + + echo '
'; echo $tva->dbutton(); + } }