Created
June 24, 2020 04:59
-
-
Save parzibyte/54022644871e80fe0878a3d2c87a2ccb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table class="table table-bordered"> | |
<thead> | |
<tr> | |
<th>ID</th> | |
<th>Código</th> | |
<th>Descripción</th> | |
<th>Precio de compra</th> | |
<th>Precio de venta</th> | |
<th>Existencia</th> | |
</tr> | |
</thead> | |
<tbody> | |
<?php foreach ($productos as $producto) { ?> | |
<tr> | |
<td><?php echo $producto->id ?></td> | |
<td><?php echo $producto->codigo ?></td> | |
<td><?php echo $producto->descripcion ?></td> | |
<td><?php echo $producto->precioCompra ?></td> | |
<td><?php echo $producto->precioVenta ?></td> | |
<td><?php echo $producto->existencia ?></td> | |
</tr> | |
<?php } ?> | |
</tbody> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment