dostoyevski Posted February 16, 2023 Share Posted February 16, 2023 (edited) Je souhaite afficher une liste de commandes avec leur TVA correspondante dans une grille dans le backoffice d'un module. Mais je ne sais pas comment afficher les éléments dans une grille. Ceci est ma fonction getConfigForm. Je souhaite que les champs de type "texte" soient affichés dans une grille. protected function getConfigForm() { return array( 'form' => array( 'legend' => array( 'title' => $this->l('Settings'), 'icon' => 'icon-cogs' ), 'input' => array( array( 'type' => 'text', 'label' => $this->l('Hello'), 'name' => 'my_date_desde', 'required' => true, ), array( 'type' => 'text', 'label' => $this->l('Goodbye'), 'name' => 'my_date_hasta', 'required' => true, ), array( 'type' => 'text', 'label' => $this->l('Iva'), 'name' => 'iva', ) ), 'submit' => array( 'title' => $this->l('Export to excel'), 'class' => 'button btn btn-default pull-right', 'name' => 'submitButton', ) ), ); } Edited February 16, 2023 by dostoyevski (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now