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

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. <!DOCTYPE html>
  2. <html lang="es">
  3. <head>
  4. <title>Pedidos de Ventas Especiales</title>
  5. <meta charset="UTF-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <!--===============================================================================================-->
  8. <!--<link rel="icon" type="image/png" href="../images/icons/favicon.ico"/>-->
  9. <!--===============================================================================================-->
  10. <link rel="stylesheet" type="text/css" href="../vendor/bootstrap/css/bootstrap.min.css">
  11. <!--===============================================================================================-->
  12. <link rel="stylesheet" type="text/css" href="../fonts/font-awesome-4.7.0/css/font-awesome.min.css">
  13. <!--===============================================================================================-->
  14. <link rel="stylesheet" type="text/css" href="../fonts/iconic/css/material-design-iconic-font.min.css">
  15. <!--===============================================================================================-->
  16. <link rel="stylesheet" type="text/css" href="../vendor/animate/animate.css">
  17. <!--===============================================================================================-->
  18. <link rel="stylesheet" type="text/css" href="../vendor/css-hamburgers/hamburgers.min.css">
  19. <!--===============================================================================================-->
  20. <link rel="stylesheet" type="text/css" href="../vendor/animsition/css/animsition.min.css">
  21. <!--===============================================================================================-->
  22. <link rel="stylesheet" type="text/css" href="../vendor/select2/select2.min.css">
  23. <!--===============================================================================================-->
  24. <link rel="stylesheet" type="text/css" href="../vendor/daterangepicker/daterangepicker.css">
  25. <!--===============================================================================================-->
  26. <link rel="stylesheet" type="text/css" href="../css/util.css">
  27. <link rel="stylesheet" type="text/css" href="../css/main.css">
  28. <!--===============================================================================================-->
  29. </head>
  30. <?php
  31. require_once '../prgdmug/login.php';
  32. //$_SESSION['loggedin'] = true;
  33. //$_SESSION['username'] = 'Test';
  34. if ($ConDMUG->xmlrequest->{'STATUS'}=="OK") {
  35. $_SESSION['loggedin'] = true;
  36. $_SESSION['username'] = $username;
  37. $_SESSION['start'] = time();
  38. $_SESSION['expire'] = $_SESSION['start'] + (5 * 60);
  39. } else {
  40. session_destroy();
  41. header("Location: ../index.html");
  42. die();
  43. }
  44. ?>
  45. <body>
  46. <header class="bg-yellow header">
  47. <div class="container-fluid">
  48. <div class="row align-items-center justify-content-between">
  49. <div class="col-4 col-sm-2 order-1">
  50. <a href="/"><img class="logo" src="../images/logo.png" alt="Trapal" width="170" height="74"></a>
  51. </div>
  52. <div class="col-12 col-md-6 offset-0 offset-md-1 order-4 order-md-2 mt-3 mt-sm-0">
  53. <div class="form-group mb-0">
  54. <select class="form-control sucursal" id="sucursal">
  55. <option disabled selected>Seleccione Sucursal</option>
  56. <option value="1">Banfield</option>
  57. <option value="4">Monte Grande</option>
  58. </select>
  59. </div>
  60. </div>
  61. <div class="col-5 col-md-3 col-lg-2 offset-lg-1 order-2">
  62. <div class="d-none d-md-block text-right">
  63. <a class="btn btn-secondary btn-sm btn-block" href="logout.php">
  64. <?php print $_SESSION['username'] ?>
  65. <i class="fa fa-times ml-2" aria-hidden="true"></i>
  66. </a>
  67. </div>
  68. </div>
  69. <div class="col-2 d-md-none ml-2 order-3 mb-3 p-0 text-right">
  70. <div class="navbar-light">
  71. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#mainNavbar"><span class="navbar-toggler-icon"></span></button>
  72. </div>
  73. </div>
  74. </div>
  75. <div class="collapse navbar-collapse justify-content-start mt-3" id="mainNavbar">
  76. <a class="btn btn-secondary btn-sm btn-block" href="logout.php">
  77. <?php print $_SESSION['username'] ? $_SESSION['username'] : 'Cerrar sesión' ?>
  78. <i class="fa fa-times ml-2" aria-hidden="true"></i>
  79. </a>
  80. </div>
  81. </div>
  82. </header>
  83. <main class="mb-4 pb-4">
  84. <div class="container-fluid">
  85. <h3 class="text-blue mb-4">Pedidos de venta abiertos</h3>
  86. <div class="bg-white p-3 my-4 table-responsive">
  87. <table class="table table-hover">
  88. <thead>
  89. <tr>
  90. <th class="border-right text-blue" scope="col">Pedido #</th>
  91. <th class="border-right text-blue" scope="col">Cliente</th>
  92. <th class="border-right text-blue" scope="col">Total</th>
  93. <th class="col-1" scope="col"></th>
  94. </tr>
  95. </thead>
  96. <tbody class="lista-pedido">
  97. <!--
  98. <tr class='consulta' id="10000003">
  99. <th class="border-right py-4" scope="row">10000003</th>
  100. <td class="border-right py-4">100004 Consumidor Final</td>
  101. <td class="border-right py-4">$100079.84</td>
  102. <td class="py-4 text-center"><div id="hide_10000003" class='oculto'>
  103. <span class="fa-stack fa-lg">
  104. <i class="fa fa-circle fa-stack-2x"></i>
  105. <i class="fa fa-plus fa-stack-1x fa-inverse"></i>
  106. </span>
  107. </div></td>
  108. </tr>
  109. <tr class="salir table-responsive">
  110. <td colspan="4" class="p-0 pb-4">
  111. <table class="table table-sm">
  112. <thead class="font-weight-bold">
  113. <tr>
  114. <th scope="col">COD ART</th>
  115. <th scope="col">Descripción</th>
  116. <th scope="col">Cant</th>
  117. <th scope="col">UxB</th>
  118. <th scope="col">Precio</th>
  119. <th scope="col">Total Item</th>
  120. <th scope="col">Renta</th>
  121. <th scope="col">P.Lista</th>
  122. </tr>
  123. </thead>
  124. <tbody>
  125. <tr>
  126. <th scope="row"><small style="color: #6c757d;">3609</small></th>
  127. <td><small style="color: #6c757d;">CAMPAGNOLA X 170 ATUN ACEITE</small></td>
  128. <td><small style="color: #6c757d;">10,000</small></td>
  129. <td><small style="color: #6c757d;">b</small></td>
  130. <td><small style="color: #6c757d;">$156,0900</small></td>
  131. <td><small style="color: #6c757d;">37461,60</small></td>
  132. <td><small style="color: #6c757d;">41,90</small></td>
  133. <td><small style="color: #6c757d;">156,0900</small></td>
  134. </tr>
  135. </tbody>
  136. <tbody>
  137. <tr>
  138. <th scope="row"><small style="color: #6c757d;">3601</small></th>
  139. <td><small style="color: #6c757d;">CAMPAGNOLA X 170 ATUN NATURAL</small></td>
  140. <td><small style="color: #6c757d;">2,000</small></td>
  141. <td><small style="color: #6c757d;">b</small></td>
  142. <td><small style="color: #6c757d;">$154,9889</small></td>
  143. <td><small style="color: #6c757d;">7439,47</small></td>
  144. <td><small style="color: #6c757d;">40,90</small></td>
  145. <td><small style="color: #6c757d;">154,9889</small></td>
  146. </tr>
  147. </tbody>
  148. <tbody>
  149. <tr>
  150. <th scope="row"><small style="color: #6c757d;">3244</small></th>
  151. <td><small style="color: #6c757d;">LEDESMA X 1 AZUCAR</small></td>
  152. <td><small style="color: #6c757d;">2,000</small></td>
  153. <td><small style="color: #6c757d;">b</small></td>
  154. <td><small style="color: #6c757d;">$57,6686</small></td>
  155. <td><small style="color: #6c757d;">1153,37</small></td>
  156. <td><small style="color: #6c757d;">16,10</small></td>
  157. <td><small style="color: #6c757d;">57,6686</small></td>
  158. </tr>
  159. </tbody>
  160. <tbody>
  161. <tr>
  162. <th scope="row"><small style="color: #6c757d;">4107</small></th>
  163. <td><small style="color: #6c757d;">ALA X 1 ARROZ DOBLE BOLSA</small></td>
  164. <td><small style="color: #6c757d;">2,000</small></td>
  165. <td><small style="color: #6c757d;">b</small></td>
  166. <td><small style="color: #6c757d;">$106,0033</small></td>
  167. <td><small style="color: #6c757d;">2120,07</small></td>
  168. <td><small style="color: #6c757d;">22,00</small></td>
  169. <td><small style="color: #6c757d;">106,0033</small></td>
  170. </tr>
  171. </tbody>
  172. <tbody>
  173. <tr>
  174. <th scope="row"><small style="color: #6c757d;">7982</small></th>
  175. <td><small style="color: #6c757d;">9/ORO X 50 BIZC. ARROZ DULCE</small></td>
  176. <td><small style="color: #6c757d;">2,000</small></td>
  177. <td><small style="color: #6c757d;">b</small></td>
  178. <td><small style="color: #6c757d;">$31,6984</small></td>
  179. <td><small style="color: #6c757d;">1901,90</small></td>
  180. <td><small style="color: #6c757d;">34,76</small></td>
  181. <td><small style="color: #6c757d;">31,6984</small></td>
  182. </tr>
  183. </tbody>
  184. <tbody>
  185. <tr>
  186. <th scope="row"><small style="color: #6c757d;">7718</small></th>
  187. <td><small style="color: #6c757d;">AGUILA X 100 CHOC/TAZA NEGRO</small></td>
  188. <td><small style="color: #6c757d;">2,000</small></td>
  189. <td><small style="color: #6c757d;">b</small></td>
  190. <td><small style="color: #6c757d;">$105,9670</small></td>
  191. <td><small style="color: #6c757d;">3179,01</small></td>
  192. <td><small style="color: #6c757d;">20,00</small></td>
  193. <td><small style="color: #6c757d;">105,9670</small></td>
  194. </tr>
  195. </tbody>
  196. <tbody>
  197. <tr>
  198. <th scope="row"><small style="color: #6c757d;">4119</small></th>
  199. <td><small style="color: #6c757d;">9/ORO X 200 GALL.SCONCITOS</small></td>
  200. <td><small style="color: #6c757d;">2,000</small></td>
  201. <td><small style="color: #6c757d;">b</small></td>
  202. <td><small style="color: #6c757d;">$40,4963</small></td>
  203. <td><small style="color: #6c757d;">1619,85</small></td>
  204. <td><small style="color: #6c757d;">34,76</small></td>
  205. <td><small style="color: #6c757d;">40,4963</small></td>
  206. </tr>
  207. </tbody>
  208. <tbody>
  209. <tr>
  210. <th scope="row"><small style="color: #6c757d;">4803</small></th>
  211. <td><small style="color: #6c757d;">ARLISTAN X 100 CAFE INST.</small></td>
  212. <td><small style="color: #6c757d;">10,000</small></td>
  213. <td><small style="color: #6c757d;">b</small></td>
  214. <td><small style="color: #6c757d;">$156,9140</small></td>
  215. <td><small style="color: #6c757d;">18829,68</small></td>
  216. <td><small style="color: #6c757d;">34,76</small></td>
  217. <td><small style="color: #6c757d;">156,9140</small></td>
  218. </tr>
  219. </tbody>
  220. <tbody>
  221. <tr>
  222. <th scope="row"><small style="color: #6c757d;">4209</small></th>
  223. <td><small style="color: #6c757d;">DON SATUR X 140 TALITA </small></td>
  224. <td><small style="color: #6c757d;">1,000</small></td>
  225. <td><small style="color: #6c757d;">b</small></td>
  226. <td><small style="color: #6c757d;">$35,0997</small></td>
  227. <td><small style="color: #6c757d;">701,99</small></td>
  228. <td><small style="color: #6c757d;">35,00</small></td>
  229. <td><small style="color: #6c757d;">35,0997</small></td>
  230. </tr>
  231. </tbody>
  232. <tbody>
  233. <tr>
  234. <th scope="row"><small style="color: #6c757d;">17921</small></th>
  235. <td><small style="color: #6c757d;">DON SATUR X 200 MADALENAS VAINILLA</small></td>
  236. <td><small style="color: #6c757d;">10,000</small></td>
  237. <td><small style="color: #6c757d;">b</small></td>
  238. <td><small style="color: #6c757d;">$42,5242</small></td>
  239. <td><small style="color: #6c757d;">4252,42</small></td>
  240. <td><small style="color: #6c757d;">35,00</small></td>
  241. <td><small style="color: #6c757d;">42,5242</small></td>
  242. </tr>
  243. </tbody>
  244. <tbody>
  245. <tr>
  246. <th scope="row"><small style="color: #6c757d;">17922</small></th>
  247. <td><small style="color: #6c757d;">DON SATUR X 220 MADALENAS RELL DDL</small></td>
  248. <td><small style="color: #6c757d;">5,000</small></td>
  249. <td><small style="color: #6c757d;">b</small></td>
  250. <td><small style="color: #6c757d;">$42,5242</small></td>
  251. <td><small style="color: #6c757d;">2126,21</small></td>
  252. <td><small style="color: #6c757d;">35,00</small></td>
  253. <td><small style="color: #6c757d;">42,5242</small></td>
  254. </tr>
  255. </tbody>
  256. <tbody>
  257. <tr>
  258. <th scope="row"><small style="color: #6c757d;">16772</small></th>
  259. <td><small style="color: #6c757d;">T/MANIA X 1 RAVIOLES RIC/VERD.</small></td>
  260. <td><small style="color: #6c757d;">20,000</small></td>
  261. <td><small style="color: #6c757d;">b</small></td>
  262. <td><small style="color: #6c757d;">$166,0072</small></td>
  263. <td><small style="color: #6c757d;">3320,14</small></td>
  264. <td><small style="color: #6c757d;">24,26</small></td>
  265. <td><small style="color: #6c757d;">166,0072</small></td>
  266. </tr>
  267. </tbody>
  268. <tbody>
  269. <tr>
  270. <th scope="row"><small style="color: #6c757d;">13387</small></th>
  271. <td><small style="color: #6c757d;">DURACEL AAA X 2U PILAS</small></td>
  272. <td><small style="color: #6c757d;">10,000</small></td>
  273. <td><small style="color: #6c757d;">b</small></td>
  274. <td><small style="color: #6c757d;">$88,5054</small></td>
  275. <td><small style="color: #6c757d;">7080,43</small></td>
  276. <td><small style="color: #6c757d;">20,00</small></td>
  277. <td><small style="color: #6c757d;">88,5054</small></td>
  278. </tr>
  279. </tbody>
  280. <tbody>
  281. <tr>
  282. <th scope="row"><small style="color: #6c757d;">8106</small></th>
  283. <td><small style="color: #6c757d;">DURACELL AA X 2 PILAS</small></td>
  284. <td><small style="color: #6c757d;">10,000</small></td>
  285. <td><small style="color: #6c757d;">b</small></td>
  286. <td><small style="color: #6c757d;">$74,1113</small></td>
  287. <td><small style="color: #6c757d;">5928,90</small></td>
  288. <td><small style="color: #6c757d;">20,00</small></td>
  289. <td><small style="color: #6c757d;">74,1113</small></td>
  290. </tr>
  291. </tbody>
  292. <tbody>
  293. <tr>
  294. <th scope="row"><small style="color: #6c757d;">3338</small></th>
  295. <td><small style="color: #6c757d;">MENOYO X 1 VINAGRE VINO</small></td>
  296. <td><small style="color: #6c757d;">1,000</small></td>
  297. <td><small style="color: #6c757d;">b</small></td>
  298. <td><small style="color: #6c757d;">$104,2451</small></td>
  299. <td><small style="color: #6c757d;">1250,94</small></td>
  300. <td><small style="color: #6c757d;">34,37</small></td>
  301. <td><small style="color: #6c757d;">104,2451</small></td>
  302. </tr>
  303. </tbody>
  304. <tbody>
  305. <tr>
  306. <th scope="row"><small style="color: #6c757d;">15015</small></th>
  307. <td><small style="color: #6c757d;">DOS ANCLAS X 1 VINAGRE VINO</small></td>
  308. <td><small style="color: #6c757d;">1,000</small></td>
  309. <td><small style="color: #6c757d;">b</small></td>
  310. <td><small style="color: #6c757d;">$77,8308</small></td>
  311. <td><small style="color: #6c757d;">933,97</small></td>
  312. <td><small style="color: #6c757d;">36,82</small></td>
  313. <td><small style="color: #6c757d;">77,8308</small></td>
  314. </tr>
  315. </tbody>
  316. <tbody>
  317. <tr>
  318. <th scope="row"><small style="color: #6c757d;">12739</small></th>
  319. <td><small style="color: #6c757d;">S/FILOMENA X 750 ESPUM. BRUT</small></td>
  320. <td><small style="color: #6c757d;">1,000</small></td>
  321. <td><small style="color: #6c757d;">b</small></td>
  322. <td><small style="color: #6c757d;">$129,9782</small></td>
  323. <td><small style="color: #6c757d;">779,87</small></td>
  324. <td><small style="color: #6c757d;">S/C</small></td>
  325. <td><small style="color: #6c757d;">129,9782</small></td>
  326. </tr>
  327. </tbody>
  328. </table>
  329. <button type="button" id="10000003" class="btn btn-outline-success btn-block col-sm-2 font-weight-bold my-4 alta">Confirmar pedido</button>
  330. </td>
  331. </tr>
  332. <tr class='consulta' id="10000003">
  333. <th class="border-right py-4" scope="row">10000003</th>
  334. <td class="border-right py-4">100004 Consumidor Final</td>
  335. <td class="border-right py-4">$100079.84</td>
  336. <td class="py-4 text-center"><div id="hide_10000003" class='oculto'>
  337. <span class="fa-stack fa-lg">
  338. <i class="fa fa-circle fa-stack-2x"></i>
  339. <i class="fa fa-plus fa-stack-1x fa-inverse"></i>
  340. </span>
  341. </div></td>
  342. </tr>
  343. <tr class='consulta' id="10000004">
  344. <th class="border-right py-4" scope="row">10000004</th>
  345. <td class="border-right py-4">101097 Autoservicio Miguelito</td>
  346. <td class="border-right py-4">$607838.66</td>
  347. <td class="py-4 text-center"><div id="hide_10000004" class='oculto'>
  348. <span class="fa-stack fa-lg">
  349. <i class="fa fa-circle fa-stack-2x"></i>
  350. <i class="fa fa-plus fa-stack-1x fa-inverse"></i>
  351. </span>
  352. </div></td>
  353. </tr>
  354. -->
  355. </tbody>
  356. </table>
  357. </div>
  358. <div class="my-4 py-4">
  359. <span class="text-blue h5">Pedido seleccionado:</span> <span id="pedido"></span> <span id="cliente"></span> <span class="d-none" id="total"></span>
  360. </div>
  361. <button type="button" class="btn btn-success btn-block col-sm-2 font-weight-bold my-4">Confirmar Todos</button>
  362. </div>
  363. </main>
  364. <!--===============================================================================================<-->
  365. <script src="../vendor/jquery/jquery-3.2.1.min.js"></script>
  366. <!--===============================================================================================-->
  367. <script src="../vendor/animsition/js/animsition.min.js"></script>
  368. <!--===============================================================================================-->
  369. <script src="../vendor/bootstrap/js/popper.js"></script>
  370. <script src="../vendor/bootstrap/js/bootstrap.min.js"></script>
  371. <!--===============================================================================================-->
  372. <script src="../vendor/select2/select2.min.js"></script>
  373. <!--===============================================================================================-->
  374. <script src="../vendor/daterangepicker/moment.min.js"></script>
  375. <script src="../vendor/daterangepicker/daterangepicker.js"></script>
  376. <!--===============================================================================================-->
  377. <script src="../vendor/countdowntime/countdowntime.js"></script>
  378. <!--===============================================================================================-->
  379. <script src="../js/main.js"></script>
  380. <!--===============================================================================================-->
  381. </body>
  382. </html>