public function getDetailByNum($numCmd) { $cmd = new Commande(); $result = $cmd->getDetailByNum($numCmd); return Response()->json($result, 200); }