Skip to content

Commit

Permalink
Show sales
Browse files Browse the repository at this point in the history
  • Loading branch information
Kev1nByte committed Jul 17, 2023
1 parent 786cd4d commit 86fd53d
Showing 1 changed file with 36 additions and 17 deletions.
53 changes: 36 additions & 17 deletions views/modulos/ventas.php
Expand Up @@ -54,36 +54,55 @@

<!-- CLIENTES -->

<tr>
<?php

$item = null;
$valor = null;

$clientes = ControladorClientes::ctrMostrarClientes($item, $valor);

<td>1</td>
foreach ($clientes as $key => $value) {

<td>1000123</td>

<td>Kevin Montero</td>
echo '<tr>
<td>'.($key+1).'</td>
<td>'.$value["nombre"].'</td>
<td>'.$value["documento"].'</td>
<td>'.$value["email"].'</td>
<td>'.$value["telefono"].'</td>
<td>'.$value["direccion"].'</td>
<td>'.$value["fecha_nacimiento"].'</td>
<td>'.$value["compras"].'</td>
<td>'.$value["ultima_compra"].'</td>
<td>Aldair Zapata</td>
<td>'.$value["fecha"].'</td>
<td>TC-123455676</td>
<td>
<td>$ 1,0000.00</td>
<div class="btn-group">
<td>$ 1,0180.00</td>
<button class="btn btn-warning btnEditarCliente" data-toggle="modal" data-target="#modalEditarCliente" idCliente="'.$value["id"].'"><i class="fa fa-pencil"></i></button>
<td>2023-01-10 12:05:22</td>
<td>
<button class="btn btn-danger btnEliminarCliente" idCliente="'.$value["id"].'"><i class="fa fa-times"></i></button>
<div class="btn-group">
</div>
<button class="btn btn-info"><i class="fa fa-print"></i></button>
<button class="btn btn-danger"><i class="fa fa-times"></i></button>
</td>
</div>
</tr>';

</td>
}

</tr>
?>

</tbody>

Expand Down

0 comments on commit 86fd53d

Please sign in to comment.