Skip to content

Commit

Permalink
Merge pull request #5 from thefantas/master
Browse files Browse the repository at this point in the history
Agregamos hora si existe y el % de IGV
  • Loading branch information
giansalex authored Nov 27, 2018
2 parents b0ba887 + a83bde8 commit 30781c3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Report/Templates/invoice.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
<tr>
<td width="60%" align="left">
<strong>Fecha Emisión: </strong> {{ doc.fechaEmision|date('d/m/Y') }}
{% if doc.fechaEmision|date('H:i:s') != '00:00:00' %} {{ doc.fechaEmision|date('H:i:s') }} {% endif %}
{% if doc.fecVencimiento is defined and doc.fecVencimiento %}
<br><br><strong>Fecha Vencimiento: </strong> {{ doc.fecVencimiento|date('d/m/Y') }}
{% endif %}
Expand Down Expand Up @@ -263,12 +264,12 @@
</tr>
{% endif %}
<tr>
<td align="right"><strong>IGV:</strong></td>
<td align="right"><strong>I.G.V. {% if params.user.numIGV is defined %} {{ params.user.numIGV }}{% endif %}%:</strong></td>
<td width="120" align="right"><span>{{ moneda }} {{ doc.mtoIGV|n_format }}</span></td>
</tr>
{% if doc.mtoISC %}
<tr>
<td align="right"><strong>ISC:</strong></td>
<td align="right"><strong>I.S.C.:</strong></td>
<td width="120" align="right"><span>{{ moneda }} {{ doc.mtoISC|n_format }}</span></td>
</tr>
{% endif %}
Expand Down Expand Up @@ -333,4 +334,4 @@
</td>
</tr>
</tbody></table>
</body></html>
</body></html>

0 comments on commit 30781c3

Please sign in to comment.