diff --git a/css/main.css b/css/main.css index 178e2e3..d48102f 100755 --- a/css/main.css +++ b/css/main.css @@ -7,10 +7,6 @@ body { font-size: .95rem; } -.container-fluid { - width: 83%; -} - .bg-yellow { background-color: #f0c30f; } @@ -41,4 +37,39 @@ header.header { .text-blue { color: #06468d; +} + +table.table tr th.border-right { + border-right: 2px solid #dee2e6; +} + +table.table thead th { + border-top: none; +} + +table.table tbody { + border-bottom: 2px solid #dee2e6; +} + +table.table tr.salir:hover { + background-color: #fff; +} +table.table tr.table-responsive { + display: table-row; +} + +.fa.fa-circle { + color: #ededed; +} +.fa.fa-plus { + color: #06468d; +} +.fa-stack { + cursor: pointer; +} + +@media (min-width: 576px) { + .container-fluid { + width: 83%; + } } \ No newline at end of file diff --git a/js/main.js b/js/main.js index 7f4dc2d..1335ebc 100755 --- a/js/main.js +++ b/js/main.js @@ -57,9 +57,8 @@ function crear_detalles_pedido(nro,ido){ } } /*ARMO PANTALLA*/ - //var detallesList = '
'; - var detallesList ='
'; + var detallesList =''; ido.after(detallesList); @@ -120,7 +119,7 @@ function llenar_lista_pedido() for (var i = 0; i < response.CLIENTE.length ; i++){ var math=parseInt(response.CLIENTE[i].total)/100; - $('.lista-pedido').append("
  • Pedido nª :

    "+response.CLIENTE[i].pedido+"

    CLIENTE :

    "+response.CLIENTE[i].cliente+" "+response.CLIENTE[i].nomcli+"

    Total:$

    "+parseInt(response.CLIENTE[i].total)/100+"


    ver mas

  • "); + $('.lista-pedido').append(""); } $(".oculto").click(function() { @@ -148,9 +147,9 @@ function llenar_lista_pedido() var n_cli = $('#'+v_numcli+'').text(); var nom_cli = $('#'+v_nomcli+'').text(); var total = $('#'+v_total+'').text(); - $('#pedido').text("Pedido: "+ped); + $('#pedido').text("# "+ped); $('#cliente').text("Cliente: "+n_cli); - $('#total').text("Total $ :"+total); + $('#total').text("Total: $"+total); // "PVE_" + "Suc" + <"+suc+"> + "_" + + + "_" + + ".pdf" //var _href = $('#descarga').attr("href"); $('#descarga').attr("href",'../pdf/PVE_Suc'+suc+'_PE40_'+ped+'.pdf'); diff --git a/users/index.php b/users/index.php index 57ccc57..e188e33 100755 --- a/users/index.php +++ b/users/index.php @@ -29,10 +29,9 @@ xmlrequest->{'STATUS'}=="OK") { $_SESSION['loggedin'] = true; $_SESSION['username'] = $username; @@ -43,7 +42,6 @@ if ($ConDMUG->xmlrequest->{'STATUS'}=="OK") { header("Location: ../index.html"); die(); } -*/ ?> @@ -87,291 +85,293 @@ if ($ConDMUG->xmlrequest->{'STATUS'}=="OK") { -
    +

    Pedidos de venta abiertos

    -
      -
    • -
      Pedido nª : -

      10000003

      CLIENTE : -

      100004 Consumidor Final

      Total:$ -

      100079.84

      -
      -
      - -
      -
    cod artDescripcionCantUxBPrecioTotal ItemRentaP.Lista
    '; for (var i = 0; i < response.document.pedido.detped.length ; i++) { detallesList +=''; @@ -75,7 +74,7 @@ function crear_detalles_pedido(nro,ido){ detallesList += '
    ';*/ } detallesList+='
    COD ARTDescripciónCantUxBPrecioTotal ItemRentaP.Lista
    '+response.document.pedido.detped[i].dep_art+''+response.document.pedido.detped[i].dep_des+''+response.document.pedido.detped[i].dep_cant+''+response.document.pedido.detped[i].dep_udad+'$'+response.document.pedido.detped[i].dep_prec+''+response.document.pedido.detped[i].totitem+''+response.document.pedido.detped[i].rentaitem+''+response.document.pedido.detped[i].dep_plista+'
    '; - detallesList += ''; + detallesList += '
    "+response.CLIENTE[i].pedido+""+response.CLIENTE[i].cliente+" "+response.CLIENTE[i].nomcli+"$"+parseInt(response.CLIENTE[i].total)/100+"
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    cod artDescripcionCantUxBPrecioTotal ItemRentaP.Lista
    3609CAMPAGNOLA X 170 ATUN ACEITE10,000b$156,090037461,6041,90156,0900
    3601CAMPAGNOLA X 170 ATUN NATURAL2,000b$154,98897439,4740,90154,9889
    3244LEDESMA X 1 AZUCAR2,000b$57,66861153,3716,1057,6686
    4107ALA X 1 ARROZ DOBLE BOLSA2,000b$106,00332120,0722,00106,0033
    79829/ORO X 50 BIZC. ARROZ DULCE2,000b$31,69841901,9034,7631,6984
    7718AGUILA X 100 CHOC/TAZA NEGRO2,000b$105,96703179,0120,00105,9670
    41199/ORO X 200 GALL.SCONCITOS2,000b$40,49631619,8534,7640,4963
    4803ARLISTAN X 100 CAFE INST.10,000b$156,914018829,6834,76156,9140
    4209DON SATUR X 140 TALITA 1,000b$35,0997701,9935,0035,0997
    17921DON SATUR X 200 MADALENAS VAINILLA10,000b$42,52424252,4235,0042,5242
    17922DON SATUR X 220 MADALENAS RELL DDL5,000b$42,52422126,2135,0042,5242
    16772T/MANIA X 1 RAVIOLES RIC/VERD.20,000b$166,00723320,1424,26166,0072
    13387DURACEL AAA X 2U PILAS10,000b$88,50547080,4320,0088,5054
    8106DURACELL AA X 2 PILAS10,000b$74,11135928,9020,0074,1113
    3338MENOYO X 1 VINAGRE VINO1,000b$104,24511250,9434,37104,2451
    15015DOS ANCLAS X 1 VINAGRE VINO1,000b$77,8308933,9736,8277,8308
    12739S/FILOMENA X 750 ESPUM. BRUT1,000b$129,9782779,87S/C129,9782
    - -
    - -
    -
  • -
    Pedido nª : -

    10000004

    CLIENTE : -

    101097 Autoservicio Miguelito

    Total:$ -

    607838.66

    -
    -
    -
    ver mas
    -
  • -
    - -
    +
    + + + + + + + + + + + -
    - + + + + + + + + + + + + + --> + +
    Pedido #ClienteTotal
    10000003100004 Consumidor Final$100079.84
    + + + + +
    10000004101097 Autoservicio Miguelito$607838.66
    + + + + +
    +
    +
    + Pedido seleccionado: +
    + +
    - - - - - - - - - @@ -387,9 +387,8 @@ if ($ConDMUG->xmlrequest->{'STATUS'}=="OK") { - + -