Browse Source

Fixes menores

master
Nicolas Soreian 3 years ago
parent
commit
075c2c44ce
  1. 2
      js/main.js
  2. 2
      users/index.php

2
js/main.js

@ -76,7 +76,7 @@ function crear_detalles_pedido(nro,ido){
detallesList+='</tbody></table >';
detallesList += '<button type="button" id='+response.document.pedido.cap_ped+' class="btn btn-outline-success btn-block col-sm-2 font-weight-bold my-4 alta">Confirmar pedido</button></td></tr>';
ido.after(detallesList);
ido.parent().after(detallesList);
$( ".alta" ).click(function() {
//var suc = document.getElementById("sucursal").value;

2
users/index.php

@ -77,7 +77,7 @@ if ($ConDMUG->xmlrequest->{'STATUS'}=="OK") {
</div>
<div class="collapse navbar-collapse justify-content-start mt-3" id="mainNavbar">
<a class="btn btn-secondary btn-sm btn-block" href="logout.php">
<?php print $_SESSION['username'] ?>
<?php print $_SESSION['username'] ? $_SESSION['username'] : 'Cerrar sesión' ?>
<i class="fa fa-times ml-2" aria-hidden="true"></i>
</a>
</div>

Loading…
Cancel
Save