<tr> <?php if ($this->modsesion->hasPermisoHijo(49) && $statusPartidaActualizable) { ?> <td> <?php $acc2 = $this->modflujo->getAcciones($this->config->item('idflujopartida'), $partida->getStatus()); if ($acc2 !== false) { ?> <div class="btn-group"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> Acciones <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu" id="accionesPartida<?php echo $partida->getIdpartida(); ?> "> <?php foreach ($acc2 as $acc) { ?> <li onclick="Pedido.cambiaEstadoPartida(<?php echo $partida->getIdpartida(); ?> ,<?php echo $acc["idaccion"]; ?> )"> <a href="#"><?php echo $acc["nombre"]; ?>