Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created May 3, 2021 22:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/b0e10300f31dbfb792137b565faf9909 to your computer and use it in GitHub Desktop.
Save parzibyte/b0e10300f31dbfb792137b565faf9909 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="es">
<head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Factura</title>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-xs-10 ">
<h1>Factura</h1>
</div>
<div class="col-xs-2">
<img class="img img-responsive" src="https://github.com/parzibyte.png" alt="Logotipo">
</div>
</div>
<hr>
<div class="row">
<div class="col-xs-10">
<h1 class="h6">Luis Cabrera Benito</h1>
<h1 class="h6">https://parzibyte.me/blog</h1>
</div>
<div class="col-xs-2 text-center">
<strong>Fecha</strong>
<br>
2021-05-03 <br>
<strong>Factura No.</strong>
<br>
1
</div>
</div>
<hr>
<div class="row text-center" style="margin-bottom: 2rem;">
<div class="col-xs-6">
<h1 class="h2">Cliente</h1>
<strong>Luis Cabrera Benito</strong>
</div>
<div class="col-xs-6">
<h1 class="h2">Remitente</h1>
<strong>Luis Cabrera Benito</strong>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<table class="table table-condensed table-bordered table-striped">
<thead>
<tr>
<th>Descripción</th>
<th>Cantidad</th>
<th>Precio unitario</th>
<th>Total</th>
</tr>
</thead>
<tbody>
{{tablaProductos}}
</tbody>
<tfoot>
<tr>
<td colspan="3" class="text-right">Subtotal</td>
<td>{{subtotal}}</td>
</tr>
<tr>
<td colspan="3" class="text-right">Descuento</td>
<td>{{descuento}}</td>
</tr>
<tr>
<td colspan="3" class="text-right">Subtotal con descuento</td>
<td>{{subtotalConDescuento}}</td>
</tr>
<tr>
<td colspan="3" class="text-right">Impuestos</td>
<td>{{impuestos}}</td>
</tr>
<tr>
<td colspan="3" class="text-right">
<h4>Total</h4>
</td>
<td>
<h4>{{total}}</h4>
</td>
</tr>
</tfoot>
</table>
</div>
</div>
<div class="row">
<div class="col-xs-12 text-center">
<p class="h5">Gracias por su compra</p>
</div>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment