} ?> <th>Imagen</th> <th>Producto</th> <th>Cantidad</th> <th>Precio</th> <th>Importe</th> <th>Estado</th> </tr> </tfoot> <tbody> <?php foreach ($objeto->getPartidas() as $p) { $partida->setIdpartida($p); $partida->getFromDatabase(); $producto->setIdproducto($partida->getIdproducto()); $producto->getFromDatabase(); ?> <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>
</tr></table> </td> </tr> </table> </div> <script type="text/javascript"> var ProductMaster = <?php echo json_encode($productMaster); ?> ; $(document).ready(function(){ <?php if ($objeto->getPartidas() !== false) { foreach ($objeto->getPartidas() as $p) { $part = new Modpartida(); $part->setIdpartida($p); $part->getFromDatabase(); ?> Pedido.ActualizaPartidaCantidad(<?php echo $part->getIdproducto(); ?> ,<?php echo $part->getCantidad(); ?> ); <?php } } ?> }); </script>