public static function descriptif() { //var_dump($_GET['commande']); $commande = getCommande($_GET['commande']); //var_dump($commande); require BASE_DIR . '/views/descriptif_admin.phtml'; }
public static function une_commande() { if (isset($_POST['afficheUncommande'])) { $uneCommande = getCommande($_POST['commande_id']); } require BASE_DIR . '/views/une_commande.phtml'; }