Arreglados fallos en literales

git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_Intranet/trunk/src@71 e2b1556b-49f8-d141-9351-52d6861a72d9
This commit is contained in:
David Arranz 2011-05-20 15:08:45 +00:00
parent 6eeb42d4aa
commit 685510d9ab
3 changed files with 5 additions and 4 deletions

View File

@ -92,7 +92,7 @@ if(!empty($_POST)) {
if($idPedido=="-1"){ if($idPedido=="-1"){
// Se he producido un fallo al insertar // Se he producido un fallo al insertar
$errores[]= "0"; $errores[]= "0";
$msg="No se ha podido agregar el pedido"; $msg="No se ha podido agregar la solicitud de oferta";
$tipo="error"; $tipo="error";
} else { } else {
$pedido=$listaPedidos->buscarPedido($idPedido); $pedido=$listaPedidos->buscarPedido($idPedido);

View File

@ -164,7 +164,7 @@ function eliminar_cliente(){
} }
function eliminar_pedido(){ function eliminar_pedido(){
salida = confirm("\xbfEst\xe1s seguro de que quieres eliminar este pedido?"); salida = confirm("\xbfEst\xe1s seguro de que quieres eliminar esta solicitud de oferta?");
return salida; return salida;
} }

View File

@ -30,7 +30,7 @@ if (!isset($variablesExtra)) $variablesExtra = "";
<ul id="tabnav"> <ul id="tabnav">
<li class="<?php if ($tipoOfertas == "") echo "activo"; <li class="<?php if ($tipoOfertas == "") echo "activo";
else echo "inactivo"; else echo "inactivo";
?>"><a href="<?php echo $destinoURL . "?byEstado=0" . $variablesExtra; ?>"><?php echo $locale['1067']; ?></a></li> ?>"><a href="<?php echo $destinoURL . "?byEstado=0" . $variablesExtra; ?>"><?php echo $locale['5108']; ?></a></li>
<li class="<?php if ($tipoOfertas == "110") echo "activo"; <li class="<?php if ($tipoOfertas == "110") echo "activo";
else echo "inactivo"; else echo "inactivo";
?>"><a href="<?php echo $destinoURL . "?byEstado=110" . $variablesExtra; ?>"><?php echo nombre_estado_oferta("110"); ?></a></li> ?>"><a href="<?php echo $destinoURL . "?byEstado=110" . $variablesExtra; ?>"><?php echo nombre_estado_oferta("110"); ?></a></li>
@ -117,7 +117,8 @@ if (count($listadeOfertas) == 0) {
echo "<tr>"; echo "<tr>";
if (($ofertaAct->getValor("gerente") == $usuario->getValor("oid")) || $usuario->tieneRol("1")) { if (($ofertaAct->getValor("gerente") == $usuario->getValor("oid")) || $usuario->tieneRol("1")) {
// Es el gerente de ese pedido, puede editarlo y eliminarlo // Es el gerente de ese pedido, puede editarlo y eliminarlo
echo '<td align="center"><a href="gestion_pedido.php?idPedido=' . $ofertaAct->getValor("oid") . '"><img src="css/edit.png" title="' . $locale['2017'] . '"/></a></td>'; //echo '<td align="center"><a href="gestion_oferta.php?idOferta=' . $ofertaAct->getValor("oid") . '"><img src="css/edit.png" title="' . $locale['2017'] . '"/></a></td>';
echo '<td align="center"><a href="#"><img src="css/edit.png" title="' . $locale['2017'] . '"/></a></td>';
echo "<td align=\"center\"><a href=\"#\" onclick=eliminarPedido('" . $ofertaAct->getValor("oid") . "') ><img src=\"css/eliminar.png\" title=\"" . $locale['2016'] . "\"/></a></td>"; echo "<td align=\"center\"><a href=\"#\" onclick=eliminarPedido('" . $ofertaAct->getValor("oid") . "') ><img src=\"css/eliminar.png\" title=\"" . $locale['2016'] . "\"/></a></td>";
} else { } else {
// No es el gerente no puede ni editarlo ni eliminarlo // No es el gerente no puede ni editarlo ni eliminarlo