You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

394 lines
19 KiB

<!DOCTYPE html>
<html lang="es">
<head>
<title>Pedidos de Ventas Especiales</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->
<!--<link rel="icon" type="image/png" href="../images/icons/favicon.ico"/>-->
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="../vendor/bootstrap/css/bootstrap.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="../fonts/font-awesome-4.7.0/css/font-awesome.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="../fonts/iconic/css/material-design-iconic-font.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="../vendor/animate/animate.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="../vendor/css-hamburgers/hamburgers.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="../vendor/animsition/css/animsition.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="../vendor/select2/select2.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="../vendor/daterangepicker/daterangepicker.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="../css/util.css">
<link rel="stylesheet" type="text/css" href="../css/main.css">
<!--===============================================================================================-->
</head>
<?php
require_once '../prgdmug/login.php';
//$_SESSION['loggedin'] = true;
//$_SESSION['username'] = 'Test';
if ($ConDMUG->xmlrequest->{'STATUS'}=="OK") {
$_SESSION['loggedin'] = true;
$_SESSION['username'] = $username;
$_SESSION['start'] = time();
$_SESSION['expire'] = $_SESSION['start'] + (5 * 60);
} else {
session_destroy();
header("Location: ../index.html");
die();
}
?>
<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 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">
<option disabled selected>Seleccione Sucursal</option>
<option value="1">Banfield</option>
<option value="4">Monte Grande</option>
</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'] ? $_SESSION['username'] : 'Cerrar sesión' ?>
<i class="fa fa-times ml-2" aria-hidden="true"></i>
</a>
</div>
</div>
</header>
<main class="mb-4 pb-4">
<div class="container-fluid">
<h3 class="text-blue mb-4">Pedidos de venta abiertos</h3>
<div class="bg-white p-3 my-4 table-responsive">
<table class="table table-hover">
<thead>
<tr>
<th class="border-right text-blue" scope="col">Pedido #</th>
<th class="border-right text-blue" scope="col">Cliente</th>
<th class="border-right text-blue" scope="col">Total</th>
<th class="col-1" scope="col"></th>
</tr>
</thead>
<tbody class="lista-pedido">
<!--
<tr class='consulta' id="10000003">
<th class="border-right py-4" scope="row">10000003</th>
<td class="border-right py-4">100004 Consumidor Final</td>
<td class="border-right py-4">$100079.84</td>
<td class="py-4 text-center"><div id="hide_10000003" class='oculto'>
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-plus fa-stack-1x fa-inverse"></i>
</span>
</div></td>
</tr>
<tr class="salir table-responsive">
<td colspan="4" class="p-0 pb-4">
<table class="table table-sm">
<thead class="font-weight-bold">
<tr>
<th scope="col">COD ART</th>
<th scope="col">Descripción</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-outline-success btn-block col-sm-2 font-weight-bold my-4 alta">Confirmar pedido</button>
</td>
</tr>
<tr class='consulta' id="10000003">
<th class="border-right py-4" scope="row">10000003</th>
<td class="border-right py-4">100004 Consumidor Final</td>
<td class="border-right py-4">$100079.84</td>
<td class="py-4 text-center"><div id="hide_10000003" class='oculto'>
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-plus fa-stack-1x fa-inverse"></i>
</span>
</div></td>
</tr>
<tr class='consulta' id="10000004">
<th class="border-right py-4" scope="row">10000004</th>
<td class="border-right py-4">101097 Autoservicio Miguelito</td>
<td class="border-right py-4">$607838.66</td>
<td class="py-4 text-center"><div id="hide_10000004" class='oculto'>
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-plus fa-stack-1x fa-inverse"></i>
</span>
</div></td>
</tr>
-->
</tbody>
</table>
</div>
<div class="my-4 py-4">
<span class="text-blue h5">Pedido seleccionado:</span> <span id="pedido"></span> <span id="cliente"></span> <span class="d-none" id="total"></span>
</div>
<button type="button" class="btn btn-success btn-block col-sm-2 font-weight-bold my-4">Confirmar Todos</button>
</div>
</main>
<!--===============================================================================================<-->
<script src="../vendor/jquery/jquery-3.2.1.min.js"></script>
<!--===============================================================================================-->
<script src="../vendor/animsition/js/animsition.min.js"></script>
<!--===============================================================================================-->
<script src="../vendor/bootstrap/js/popper.js"></script>
<script src="../vendor/bootstrap/js/bootstrap.min.js"></script>
<!--===============================================================================================-->
<script src="../vendor/select2/select2.min.js"></script>
<!--===============================================================================================-->
<script src="../vendor/daterangepicker/moment.min.js"></script>
<script src="../vendor/daterangepicker/daterangepicker.js"></script>
<!--===============================================================================================-->
<script src="../vendor/countdowntime/countdowntime.js"></script>
<!--===============================================================================================-->
<script src="../js/main.js"></script>
<!--===============================================================================================-->
</body>
</html>