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(); + } }