Browse Source

Inicio del remaquetado y ajustes

master
Nicolas Soreian 3 years ago
parent
commit
564ca45a92
  1. 993
      css/main.css
  2. BIN
      images/logo.png
  3. 70
      index.html
  4. 4
      js/main.js
  5. 329
      users/index.php

993
css/main.css
File diff suppressed because it is too large
View File

BIN
images/logo.png

After

Width: 230  |  Height: 100  |  Size: 26 KiB

70
index.html

@ -27,69 +27,39 @@
<link rel="stylesheet" type="text/css" href="css/main.css"> <link rel="stylesheet" type="text/css" href="css/main.css">
<!--===============================================================================================--> <!--===============================================================================================-->
</head> </head>
<body style="width:100%; height:100%;">
<div id="mybackground" >
<div id="myPreContent"><div class="loader"></div></div>
<body>
<header class="bg-yellow header">
<div class="container-fluid">
<div class="mx-auto text-center col-sm-2 order-1">
<a href="/"><img class="logo" src="../images/logo.png" alt="Trapal" width="170" height="74"></a>
</div> </div>
<div class="limiter" style="width:100%; height:100%;">
<div class="limiter" style=" margin-top: 0px;">
<!-- <div class="container-login100" style="background-image: url('images/bg-05.jpg'); width:100%; height:100%;">
-->
<div class="container-login100" >
<div class="wrap-login100 correcting" style="background:cadetblue!important;">
<form class="login100-form validate-form" action="./users/index.php" method="post">
<!--<span class="login100-form-logo">
<img src="images/icons/wine1.png" class="img-responsive" style="width:90%" alt="Dioniosio">
</span>-->
</div>
</header>
<span class="login100-form-title p-b-34 p-t-27">
Pedidos de Ventas Especiales
</span>
<main>
<div class="col-sm-3 mx-auto">
<form class="validate-form col-sm-10 mx-auto text-center" action="./users/index.php" method="post">
<h2 class="h5 text-blue mb-4">Pedidos de ventas especiales</h2>
<div class="wrap-input100 validate-input" data-validate = "Ingresar usuario">
<input class="input100" type="text" name="username" placeholder="Usuario" autocomplete="off">
<div class="form-group validate-input" data-validate = "Ingresar usuario">
<input class="input100 w-100" type="text" required name="username" placeholder="Usuario" autocomplete="off">
<span class="focus-input100" data-placeholder="&#xf207;"></span> <span class="focus-input100" data-placeholder="&#xf207;"></span>
</div> </div>
<div class="wrap-input100 validate-input" data-validate="Ingresar contraseña">
<input class="input100" id="mypass" type="text" name="pass" placeholder="Contraseña" autocomplete="off">
<div class="form-group validate-input" data-validate="Ingresar contraseña">
<input class="input100 w-100" id="mypass" type="text" required name="pass" placeholder="Contraseña" autocomplete="off">
<span class="focus-input100" data-placeholder="&#xf191;"></span> <span class="focus-input100" data-placeholder="&#xf191;"></span>
</div> </div>
<div id="chbox" style="padding-left: 60%;">
<div class="contact100-form-checkbox">
<input class="input-checkbox100" id="ckb1" type="checkbox" name="remember-me" >
<label class="label-checkbox100" for="ckb1">
Ver contraseña
</label></div>
</div>
<div class="container-login100-form-btn">
<button class="login100-form-btn" type="submit" formtarget="_self">
Login
</button>
<div class="form-check text-right">
<input type="checkbox" name="remember-me" class="form-check-input input-checkbox100" id="ckb1">
<label class="form-check-label small text-muted" for="ckb1">Ver contraseña</label>
</div> </div>
<div class="text-center p-t-90">
<a class="txt1" href="http://www.mcanet.com.ar">
<img src="images/icons/mcanet.png" class="img-responsive" style="width:20%" alt="Dioniosio">
</a>
</div>
<button type="submit" class="btn btn-secondary mt-4 w-75" formtarget="_self">Ingresar</button>
</form> </form>
</div> </div>
</div>
</div>
<div id="dropDownSelect1"></div>
</main>
<!--===============================================================================================--> <!--===============================================================================================-->
<script src="vendor/jquery/jquery-3.2.1.min.js"></script> <script src="vendor/jquery/jquery-3.2.1.min.js"></script>

4
js/main.js

@ -120,7 +120,7 @@ function llenar_lista_pedido()
for (var i = 0; i < response.CLIENTE.length ; i++){ for (var i = 0; i < response.CLIENTE.length ; i++){
var math=parseInt(response.CLIENTE[i].total)/100; var math=parseInt(response.CLIENTE[i].total)/100;
$('.lista-pedido').append("<li class='col-sm-12 col-md-12 col-mb-12 col-lg-12 text-center list-group-item list-group-item-secondary consulta' style='border: 3px solid ;' id="+response.CLIENTE[i].pedido+" ><div> Pedido nª : <p style='display: inline;' id='ped_"+response.CLIENTE[i].pedido+"'>"+response.CLIENTE[i].pedido+"</p> CLIENTE : <p style='display: inline;'id='numcli_"+response.CLIENTE[i].pedido+"'>"+response.CLIENTE[i].cliente+" "+response.CLIENTE[i].nomcli+"</p > Total:$ <p style='display: inline;' id='total_"+response.CLIENTE[i].pedido+"'>"+parseInt(response.CLIENTE[i].total)/100+"</p></div><br><div id=hide_"+response.CLIENTE[i].pedido+" class='oculto'><u>ver mas</u></div></li><br>");
$('.lista-pedido').append("<li class='list-group-item consulta' id="+response.CLIENTE[i].pedido+" ><div> Pedido nª : <p style='display: inline;' id='ped_"+response.CLIENTE[i].pedido+"'>"+response.CLIENTE[i].pedido+"</p> CLIENTE : <p style='display: inline;'id='numcli_"+response.CLIENTE[i].pedido+"'>"+response.CLIENTE[i].cliente+" "+response.CLIENTE[i].nomcli+"</p > Total:$ <p style='display: inline;' id='total_"+response.CLIENTE[i].pedido+"'>"+parseInt(response.CLIENTE[i].total)/100+"</p></div><br><div id=hide_"+response.CLIENTE[i].pedido+" class='oculto'><u>ver mas</u></div></li><br>");
} }
$(".oculto").click(function() { $(".oculto").click(function() {
@ -139,8 +139,6 @@ function llenar_lista_pedido()
$(".consulta").click(function() { $(".consulta").click(function() {
var oID = $(this).attr("id"); var oID = $(this).attr("id");
$(".consulta").removeClass("border-success");
$( '#'+oID+'' ).addClass( "border-success" );
v_ped="ped_"+oID; v_ped="ped_"+oID;
v_numcli="numcli_"+oID; v_numcli="numcli_"+oID;

329
users/index.php

@ -26,13 +26,13 @@
<link rel="stylesheet" type="text/css" href="../css/util.css"> <link rel="stylesheet" type="text/css" href="../css/util.css">
<link rel="stylesheet" type="text/css" href="../css/main.css"> <link rel="stylesheet" type="text/css" href="../css/main.css">
<!--===============================================================================================--> <!--===============================================================================================-->
</head> </head>
<?php <?php
require_once '../prgdmug/login.php';
//require_once '../prgdmug/login.php';
$_SESSION['loggedin'] = true;
$_SESSION['username'] = 'Nixo';
/*
if ($ConDMUG->xmlrequest->{'STATUS'}=="OK") { if ($ConDMUG->xmlrequest->{'STATUS'}=="OK") {
$_SESSION['loggedin'] = true; $_SESSION['loggedin'] = true;
$_SESSION['username'] = $username; $_SESSION['username'] = $username;
@ -43,44 +43,295 @@ if ($ConDMUG->xmlrequest->{'STATUS'}=="OK") {
header("Location: ../index.html"); header("Location: ../index.html");
die(); die();
} }
*/
?> ?>
<body style="width:100%; height:100%;">
<div id="mybackground" style="background:blue!important;">
<!--<div id="myPreContent"><div class="loader">Loading...</div></div>-->
</div>
<div class="limiter " style="margin-top:50px;width:100%; height:100%;">
<div class="container-login100">
<nav class="navbar navbar-expand bg-dark navbar-dark fixed-top ">
<div class="navbar-brand" style="margin-right: 1em;" >Pedidos de Ventas</div>
<div id="myMenuDiv" class="" style="position: fixed; right:3%; " >
<div id="myMenuIcon" class="menuIcon" style=" width: 24px; height: 24px;"></div>
<body>
<header class="bg-yellow header">
<div class="container-fluid">
<div class="row align-items-center justify-content-between">
<div class="col-4 col-sm-2 order-1">
<a href="/"><img class="logo" src="../images/logo.png" alt="Trapal" width="170" height="74"></a>
</div> </div>
</nav>
<div class="form-group">
<label for="exampleFormControlSelect1"><h4>Seleccione Sucursal</h4></label>
<div class="col-12 col-md-6 offset-0 offset-md-1 order-4 order-md-2 mt-3 mt-sm-0">
<div class="form-group mb-0">
<select class="form-control sucursal" id="sucursal"> <select class="form-control sucursal" id="sucursal">
<option disabled selected>Seleccione Sucursal</option>
<option value="1">Banfield</option> <option value="1">Banfield</option>
<option value="4">Monte Grande</option> <option value="4">Monte Grande</option>
</select> </select>
</div>
</div>
<div class="col-5 col-md-3 col-lg-2 offset-lg-1 order-2">
<div class="d-none d-md-block text-right">
<a class="btn btn-secondary btn-sm btn-block" href="logout.php">
<?php print $_SESSION['username'] ?>
<i class="fa fa-times ml-2" aria-hidden="true"></i>
</a>
</div>
</div>
<div class="col-2 d-md-none ml-2 order-3 mb-3 p-0 text-right">
<div class="navbar-light">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#mainNavbar"><span class="navbar-toggler-icon"></span></button>
</div>
</div>
</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'] ?>
<i class="fa fa-times ml-2" aria-hidden="true"></i>
</a>
</div>
</div>
</header>
<main>
<div class="container-fluid">
<h3 class="text-blue mb-4">Pedidos de venta abiertos</h3>
<ul class="lista-pedido p-0">
<li class="list-group-item consulta" id="10000003">
<div> Pedido :
<p style="display: inline;" id="ped_10000003">10000003</p> CLIENTE :
<p style="display: inline;" id="numcli_10000003">100004 Consumidor Final</p> Total:$
<p style="display: inline;" id="total_10000003">100079.84</p>
</div>
<br> <br>
<h3 class="text-center">Pedidos de venta abiertos</h3>
<div id="hide_10000003" class="oculto" style="display: none;"><u>ver mas</u></div>
<div class="col-12 salir">
<table class="table table-sm col-sm-12 col-md-12 col-mb-12 col-lg-12 text-center ">
<thead class="thead-dark">
<tr>
<th scope="col">cod art</th>
<th scope="col">Descripcion</th>
<th scope="col">Cant</th>
<th scope="col">UxB</th>
<th scope="col">Precio</th>
<th scope="col">Total Item</th>
<th scope="col">Renta</th>
<th scope="col">P.Lista</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">3609</small></th>
<td><small style="color: #6c757d;">CAMPAGNOLA X 170 ATUN ACEITE</small></td>
<td><small style="color: #6c757d;">10,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$156,0900</small></td>
<td><small style="color: #6c757d;">37461,60</small></td>
<td><small style="color: #6c757d;">41,90</small></td>
<td><small style="color: #6c757d;">156,0900</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">3601</small></th>
<td><small style="color: #6c757d;">CAMPAGNOLA X 170 ATUN NATURAL</small></td>
<td><small style="color: #6c757d;">2,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$154,9889</small></td>
<td><small style="color: #6c757d;">7439,47</small></td>
<td><small style="color: #6c757d;">40,90</small></td>
<td><small style="color: #6c757d;">154,9889</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">3244</small></th>
<td><small style="color: #6c757d;">LEDESMA X 1 AZUCAR</small></td>
<td><small style="color: #6c757d;">2,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$57,6686</small></td>
<td><small style="color: #6c757d;">1153,37</small></td>
<td><small style="color: #6c757d;">16,10</small></td>
<td><small style="color: #6c757d;">57,6686</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">4107</small></th>
<td><small style="color: #6c757d;">ALA X 1 ARROZ DOBLE BOLSA</small></td>
<td><small style="color: #6c757d;">2,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$106,0033</small></td>
<td><small style="color: #6c757d;">2120,07</small></td>
<td><small style="color: #6c757d;">22,00</small></td>
<td><small style="color: #6c757d;">106,0033</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">7982</small></th>
<td><small style="color: #6c757d;">9/ORO X 50 BIZC. ARROZ DULCE</small></td>
<td><small style="color: #6c757d;">2,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$31,6984</small></td>
<td><small style="color: #6c757d;">1901,90</small></td>
<td><small style="color: #6c757d;">34,76</small></td>
<td><small style="color: #6c757d;">31,6984</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">7718</small></th>
<td><small style="color: #6c757d;">AGUILA X 100 CHOC/TAZA NEGRO</small></td>
<td><small style="color: #6c757d;">2,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$105,9670</small></td>
<td><small style="color: #6c757d;">3179,01</small></td>
<td><small style="color: #6c757d;">20,00</small></td>
<td><small style="color: #6c757d;">105,9670</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">4119</small></th>
<td><small style="color: #6c757d;">9/ORO X 200 GALL.SCONCITOS</small></td>
<td><small style="color: #6c757d;">2,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$40,4963</small></td>
<td><small style="color: #6c757d;">1619,85</small></td>
<td><small style="color: #6c757d;">34,76</small></td>
<td><small style="color: #6c757d;">40,4963</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">4803</small></th>
<td><small style="color: #6c757d;">ARLISTAN X 100 CAFE INST.</small></td>
<td><small style="color: #6c757d;">10,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$156,9140</small></td>
<td><small style="color: #6c757d;">18829,68</small></td>
<td><small style="color: #6c757d;">34,76</small></td>
<td><small style="color: #6c757d;">156,9140</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">4209</small></th>
<td><small style="color: #6c757d;">DON SATUR X 140 TALITA </small></td>
<td><small style="color: #6c757d;">1,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$35,0997</small></td>
<td><small style="color: #6c757d;">701,99</small></td>
<td><small style="color: #6c757d;">35,00</small></td>
<td><small style="color: #6c757d;">35,0997</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">17921</small></th>
<td><small style="color: #6c757d;">DON SATUR X 200 MADALENAS VAINILLA</small></td>
<td><small style="color: #6c757d;">10,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$42,5242</small></td>
<td><small style="color: #6c757d;">4252,42</small></td>
<td><small style="color: #6c757d;">35,00</small></td>
<td><small style="color: #6c757d;">42,5242</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">17922</small></th>
<td><small style="color: #6c757d;">DON SATUR X 220 MADALENAS RELL DDL</small></td>
<td><small style="color: #6c757d;">5,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$42,5242</small></td>
<td><small style="color: #6c757d;">2126,21</small></td>
<td><small style="color: #6c757d;">35,00</small></td>
<td><small style="color: #6c757d;">42,5242</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">16772</small></th>
<td><small style="color: #6c757d;">T/MANIA X 1 RAVIOLES RIC/VERD.</small></td>
<td><small style="color: #6c757d;">20,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$166,0072</small></td>
<td><small style="color: #6c757d;">3320,14</small></td>
<td><small style="color: #6c757d;">24,26</small></td>
<td><small style="color: #6c757d;">166,0072</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">13387</small></th>
<td><small style="color: #6c757d;">DURACEL AAA X 2U PILAS</small></td>
<td><small style="color: #6c757d;">10,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$88,5054</small></td>
<td><small style="color: #6c757d;">7080,43</small></td>
<td><small style="color: #6c757d;">20,00</small></td>
<td><small style="color: #6c757d;">88,5054</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">8106</small></th>
<td><small style="color: #6c757d;">DURACELL AA X 2 PILAS</small></td>
<td><small style="color: #6c757d;">10,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$74,1113</small></td>
<td><small style="color: #6c757d;">5928,90</small></td>
<td><small style="color: #6c757d;">20,00</small></td>
<td><small style="color: #6c757d;">74,1113</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">3338</small></th>
<td><small style="color: #6c757d;">MENOYO X 1 VINAGRE VINO</small></td>
<td><small style="color: #6c757d;">1,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$104,2451</small></td>
<td><small style="color: #6c757d;">1250,94</small></td>
<td><small style="color: #6c757d;">34,37</small></td>
<td><small style="color: #6c757d;">104,2451</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">15015</small></th>
<td><small style="color: #6c757d;">DOS ANCLAS X 1 VINAGRE VINO</small></td>
<td><small style="color: #6c757d;">1,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$77,8308</small></td>
<td><small style="color: #6c757d;">933,97</small></td>
<td><small style="color: #6c757d;">36,82</small></td>
<td><small style="color: #6c757d;">77,8308</small></td>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row"><small style="color: #6c757d;">12739</small></th>
<td><small style="color: #6c757d;">S/FILOMENA X 750 ESPUM. BRUT</small></td>
<td><small style="color: #6c757d;">1,000</small></td>
<td><small style="color: #6c757d;">b</small></td>
<td><small style="color: #6c757d;">$129,9782</small></td>
<td><small style="color: #6c757d;">779,87</small></td>
<td><small style="color: #6c757d;">S/C</small></td>
<td><small style="color: #6c757d;">129,9782</small></td>
</tr>
</tbody>
</table>
<button type="button" id="10000003" class="btn btn-primary btn-lg btn-block alta">Confirmar Pedido</button>
</div>
</li>
<br>
<li class="col-sm-12 col-md-12 col-mb-12 col-lg-12 text-center list-group-item list-group-item-secondary consulta" style="border: 3px solid ;" id="10000004">
<div> Pedido :
<p style="display: inline;" id="ped_10000004">10000004</p> CLIENTE :
<p style="display: inline;" id="numcli_10000004">101097 Autoservicio Miguelito</p> Total:$
<p style="display: inline;" id="total_10000004">607838.66</p>
</div>
<br>
<div id="hide_10000004" class="oculto"><u>ver mas</u></div>
</li>
<br> <br>
<ul class="list-group lista-pedido ">
</ul> </ul>
<br> <br>
@ -105,15 +356,10 @@ if ($ConDMUG->xmlrequest->{'STATUS'}=="OK") {
<br>--> <br>-->
<br> <br>
<button type="button" class="btn btn-primary btn-lg btn-block">Confirmar Todos</button> <button type="button" class="btn btn-primary btn-lg btn-block">Confirmar Todos</button>
</div>
<div id="myNavy" class="myNav12 invisible" style="width:200px;height:65px; ">
<ul class="navbar-nav justify-content-end">
<li class="nav-item">
<a class="nav-link" style="text-align: center;" href="logout.php"><img src="../images/icons/salir.png" class="rounded" style=" width: 20px; height: 20px;" alt=""> &nbsp; Salir</a>
</li>
</ul>
</div> </div>
</main>
@ -141,12 +387,9 @@ if ($ConDMUG->xmlrequest->{'STATUS'}=="OK") {
<!--===============================================================================================--> <!--===============================================================================================-->
<script src="../vendor/countdowntime/countdowntime.js"></script> <script src="../vendor/countdowntime/countdowntime.js"></script>
<!--===============================================================================================--> <!--===============================================================================================-->
<script src="../js/main.js"></script>
<!-- <script src="../js/main.js"></script> -->
<!--===============================================================================================--> <!--===============================================================================================-->
</body> </body>
</html> </html>
Loading…
Cancel
Save