. * * Vue table pour les achats * * @package vues */ $this->load->view('bs_header'); $this->load->view('bs_menu'); $this->load->view('bs_banner'); echo '
'; echo heading("Gestion des achats", 3); echo form_hidden('controller_url', controller_url($controller), '"id"="controller_url"'); $attrs = array( 'controller' => $controller, 'actions' => array ('edit', 'delete'), 'fields' => array('id', 'date', 'produit', 'quantite', 'prix_unit', 'prix', 'description', 'pilote', 'facture'), 'mode' => ($has_modification_rights) ? "rw" : "ro", 'class' => "datatable table"); echo $this->gvvmetadata->table("vue_achats", $attrs, ""); echo '
'; ?>