-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
847751f
commit 89a9bf5
Showing
34 changed files
with
3,053 additions
and
2,629 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
78 changes: 78 additions & 0 deletions
78
src/app/pages/impresiones/imprimir-servicio/imprimir-servicio.component.css
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
.invoice-box { | ||
max-width: 100%; | ||
padding: 30px; | ||
font-size: 16px; | ||
font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; | ||
} | ||
|
||
.invoice-box table { | ||
width: 100%; | ||
line-height: inherit; | ||
text-align: left; | ||
} | ||
|
||
.invoice-box table td { | ||
vertical-align: top; | ||
} | ||
|
||
.invoice-box table tr td:nth-child(2) { | ||
text-align: right; | ||
} | ||
|
||
.invoice-box table tr.top table td { | ||
padding-bottom: 20px; | ||
} | ||
|
||
.invoice-box table tr.top table td.title { | ||
font-size: 45px; | ||
line-height: 45px; | ||
color: #333; | ||
} | ||
|
||
.invoice-box table tr.information table td { | ||
padding-bottom: 40px; | ||
} | ||
|
||
.invoice-box table tr.heading td { | ||
border-bottom: 1px solid #ddd; | ||
font-weight: bold; | ||
} | ||
|
||
.invoice-box table tr.details td { | ||
padding-bottom: 20px; | ||
} | ||
|
||
.invoice-box table tr.item.last td { | ||
border-bottom: none; | ||
} | ||
|
||
.invoice-box table tr.total td:nth-child(2) { | ||
font-weight: bold; | ||
} | ||
|
||
@media only screen and (max-width: 600px) { | ||
.invoice-box table tr.top table td { | ||
width: 100%; | ||
display: block; | ||
text-align: center; | ||
} | ||
|
||
.invoice-box table tr.information table td { | ||
width: 100%; | ||
display: block; | ||
text-align: center; | ||
} | ||
} | ||
/** RTL **/ | ||
.rtl { | ||
direction: rtl; | ||
font-family: Tahoma, "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; | ||
} | ||
|
||
.rtl table { | ||
text-align: right; | ||
} | ||
|
||
.rtl table tr td:nth-child(2) { | ||
text-align: left; | ||
} |
125 changes: 125 additions & 0 deletions
125
src/app/pages/impresiones/imprimir-servicio/imprimir-servicio.component.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
<div class="invoice-box"> | ||
<table cellpadding="0" cellspacing="0"> | ||
<tr class="top"> | ||
<td colspan="2"> | ||
<table> | ||
<tr> | ||
<td class="title"> | ||
<img | ||
src="https://firebasestorage.googleapis.com/v0/b/acr-motos.appspot.com/o/Logotipo.png?alt=media&token=fdd841c3-4197-4e37-918c-0d0e86863e5e" | ||
style="width:100px;"> | ||
</td> | ||
|
||
<td> | ||
Factura #: {{cantidadFacturas+1}}<br> | ||
Creada: {{ServicioImprimirFactura.Fecha}} | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
|
||
<tr class="information"> | ||
<td colspan="2"> | ||
<table> | ||
<tr> | ||
<td> | ||
ACR Motos.<br> | ||
Cruz Roja 20 mts. al Norte<br> | ||
Chichigalpa, Chinandega<br> | ||
acrmotosnic@gmail.com<br> | ||
23468367<br> | ||
RUC #: 0842006960000W | ||
</td> | ||
|
||
<td> | ||
Vendedor: {{ServicioImprimirFactura.Vendedor.Nombres}} {{ServicioImprimirFactura.Vendedor.Apellidos}}<br> | ||
Cliente: {{ServicioImprimirFactura.Cliente.NombreCompleto}}<br> | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
|
||
<tr class="heading"> | ||
<td> | ||
Método de Pago | ||
</td> | ||
|
||
<td> | ||
Monto | ||
</td> | ||
</tr> | ||
|
||
<tr class="details"> | ||
<td> | ||
{{ServicioImprimirFactura.TipoPago}} | ||
</td> | ||
|
||
<td> | ||
C${{ServicioImprimirFactura.ManoObra - ServicioImprimirFactura.Interes}} | ||
</td> | ||
</tr> | ||
|
||
<tr class="heading"> | ||
<td> | ||
Extras | ||
</td> | ||
|
||
<td> | ||
Monto | ||
</td> | ||
</tr> | ||
|
||
<tr class="details"> | ||
<td> | ||
Interés | ||
</td> | ||
|
||
<td> | ||
C${{ServicioImprimirFactura.Interes}} | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
<table class="table mx-auto" style="max-width: 100%; min-width: 80%;"> | ||
<thead> | ||
<tr> | ||
<th>Descripción</th> | ||
<th>Monto</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>{{ServicioImprimirFactura.Servicio.TipoServicio}} - {{ServicioImprimirFactura.Servicio.Nombre}} - | ||
{{ServicioImprimirFactura.MarcaDispositivo}} - {{ServicioImprimirFactura.ModeloDispositivo}}</td> | ||
<td>{{ServicioImprimirFactura.ManoObra}}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<div class="invoice-box mt-5"> | ||
<table cellpadding="0" cellspacing="0"> | ||
<tr class="information"> | ||
<td colspan="2"> | ||
<table> | ||
<tr> | ||
<td style="max-width: 50px;"> | ||
<hr style="color: black; background-color: black;"><br> | ||
<div class="text-center mt-0">ACR Motos</div> | ||
</td> | ||
|
||
<td> | ||
<b>SubTotal: C${{ServicioImprimirFactura.ManoObra}}</b><br> | ||
<b>Extras: C${{ServicioImprimirFactura.Interes}}</b><br> | ||
<b>Total: C${{ServicioImprimirFactura.ManoObra + ServicioImprimirFactura.Interes}}</b> | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
<div class="float-right"> | ||
<button (click)="navegar()" class="btn btn-primary m-3" id="btnRegresar">Regresar</button> | ||
<button (click)="imprimir()" class="btn btn-warning m-3" id="btnImprimir">Imprimir</button> | ||
</div> |
1 change: 1 addition & 0 deletions
1
src/app/pages/impresiones/imprimir-servicio/imprimir-servicio.component.min.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
81 changes: 81 additions & 0 deletions
81
src/app/pages/impresiones/imprimir-servicio/imprimir-servicio.component.scss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
.invoice-box { | ||
max-width: 100%; | ||
padding: 30px; | ||
font-size: 16px; | ||
font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; | ||
} | ||
|
||
.invoice-box table { | ||
width: 100%; | ||
line-height: inherit; | ||
text-align: left; | ||
} | ||
|
||
.invoice-box table td { | ||
//padding: 5px; | ||
vertical-align: top; | ||
} | ||
|
||
.invoice-box table tr td:nth-child(2) { | ||
text-align: right; | ||
} | ||
|
||
.invoice-box table tr.top table td { | ||
padding-bottom: 20px; | ||
} | ||
|
||
.invoice-box table tr.top table td.title { | ||
font-size: 45px; | ||
line-height: 45px; | ||
color: #333; | ||
} | ||
|
||
.invoice-box table tr.information table td { | ||
padding-bottom: 40px; | ||
} | ||
|
||
.invoice-box table tr.heading td { | ||
border-bottom: 1px solid #ddd; | ||
font-weight: bold; | ||
} | ||
|
||
.invoice-box table tr.details td { | ||
padding-bottom: 20px; | ||
} | ||
|
||
.invoice-box table tr.item.last td { | ||
border-bottom: none; | ||
} | ||
|
||
.invoice-box table tr.total td:nth-child(2) { | ||
font-weight: bold; | ||
} | ||
|
||
@media only screen and (max-width: 600px) { | ||
.invoice-box table tr.top table td { | ||
width: 100%; | ||
display: block; | ||
text-align: center; | ||
} | ||
|
||
.invoice-box table tr.information table td { | ||
width: 100%; | ||
display: block; | ||
text-align: center; | ||
} | ||
} | ||
|
||
/** RTL **/ | ||
.rtl { | ||
direction: rtl; | ||
font-family: Tahoma, "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; | ||
} | ||
|
||
.rtl table { | ||
text-align: right; | ||
} | ||
|
||
.rtl table tr td:nth-child(2) { | ||
text-align: left; | ||
} | ||
|
Oops, something went wrong.