<td><?php echo $model['usu_fono']; ?> </td> <td><?php echo $model['usu_email']; ?> </td> <td><?php echo $model['car_nombre']; ?> </td> <td><?php echo $model['emp_nombre']; ?> </td> <td> <?php echo BsHtml::Button(BsHtml::icon(BsHtml::GLYPHICON_TRASH) . ' Eliminar', array('color' => BsHtml::BUTTON_COLOR_PRIMARY, 'size' => BsHtml::BUTTON_SIZE_SMALL, 'data-target' => '#Eliminar' . $key, 'data-toggle' => 'modal')); $this->widget('bootstrap.widgets.BsModal', array('id' => 'Eliminar' . $key, 'header' => "¿Desea eliminar a '" . $model['usu_nombre'] . "' ?", 'content' => "<p>Se quitara de la lista " . $model['usu_nombre'] . "</p>", 'footer' => array(BsHtml::Button('Eliminar de todos modos', array('onclick' => "window.location.href='deleted?rut=" . $model['usu_rut'] . "'", 'color' => BsHtml::BUTTON_COLOR_PRIMARY)), BsHtml::button('Cancelar', array('data-dismiss' => 'modal'))))); ?> <?php echo BsHtml::Button(BsHtml::icon(BsHtml::GLYPHICON_EDIT) . ' Modificar', array('color' => BsHtml::BUTTON_COLOR_PRIMARY, 'size' => BsHtml::BUTTON_SIZE_SMALL, 'onclick' => "window.location.href='update?rut=" . $model['usu_rut'] . "'")); ?> </td> </tr> <?php } ?> </tbody> </table>
?> <tr> <td><?php echo $key + 1; ?> </td> <td><?php echo $model->emp_nombre; ?> </td> <td><?php echo $model->lic_fecha_creacion; ?> </td> <td><?php echo $model->lic_usos; ?> </td> <td> <?php echo BsHtml::Button(BsHtml::icon(BsHtml::GLYPHICON_TRASH) . ' Eliminar', array('color' => BsHtml::BUTTON_COLOR_PRIMARY, 'size' => BsHtml::BUTTON_SIZE_SMALL, 'data-target' => '#Eliminar' . $key, 'data-toggle' => 'modal')); $this->widget('bootstrap.widgets.BsModal', array('id' => 'Eliminar' . $key, 'header' => "¿Desea eliminar a '{$model->emp_nombre}' ?", 'content' => "<p>Se quitara de la lista {$model->emp_nombre}</p>", 'footer' => array(BsHtml::Button('Eliminar de todos modos', array('onclick' => "window.location.href='deleteLI/{$model->lic_id}'", 'color' => BsHtml::BUTTON_COLOR_PRIMARY)), BsHtml::button('Cancelar', array('data-dismiss' => 'modal'))))); echo BsHtml::Button(BsHtml::icon(BsHtml::GLYPHICON_EDIT) . ' Modificar', array('color' => BsHtml::BUTTON_COLOR_PRIMARY, 'size' => BsHtml::BUTTON_SIZE_SMALL, 'onclick' => "window.location.href='updateLI/{$model->lic_id}'")); ?> </td> </tr> <?php } ?> </tbody> </table>
?> </td> <td><?php echo $model->com_nombre; ?> </td> <td><?php echo $model->tel_mac; ?> </td> <td><?php echo $model->tel_activado ? 'SI' : 'NO'; ?> </td> <td><?php echo $model->emp_nombre; ?> </td> <td> <?php echo BsHtml::Button(BsHtml::icon(BsHtml::GLYPHICON_TRASH) . ' Eliminar', array('color' => BsHtml::BUTTON_COLOR_PRIMARY, 'size' => BsHtml::BUTTON_SIZE_SMALL, 'data-target' => '#Eliminar' . $key, 'data-toggle' => 'modal')); $this->widget('bootstrap.widgets.BsModal', array('id' => 'Eliminar' . $key, 'header' => "¿Desea eliminar a '{$model->tel_numero}' ?", 'content' => "<p>Se quitara de la lista {$model->tel_numero}</p>", 'footer' => array(BsHtml::Button('Eliminar de todos modos', array('onclick' => "window.location.href='deleted?rut={$model->emp_rut}&tel={$model->tel_numero}'", 'color' => BsHtml::BUTTON_COLOR_PRIMARY)), BsHtml::button('Cancelar', array('data-dismiss' => 'modal'))))); echo BsHtml::Button(BsHtml::icon(BsHtml::GLYPHICON_EDIT) . ' Modificar', array('color' => BsHtml::BUTTON_COLOR_PRIMARY, 'size' => BsHtml::BUTTON_SIZE_SMALL, 'onclick' => "window.location.href='update?rut={$model->emp_rut}&tel={$model->tel_numero}'")); ?> </td> </tr> <?php } ?> </tbody> </table>