{% set info = finance_service.invoiceSummary() %}
<div class="widget style1 navy-bg-white">
<div class="row">
<div class="col-3">
<i class="fa fa-money fa-5x"></i>
</div>
<div class="col-9 text-right">
<h3 class="font-bold">{{ 'Invoices' | trans }}</h2>
{{ 'Invoice.LastMonth' | trans }}: {{ info.invoices_lastmonth }} / {{ info.contractbetween }}:
<br>
<a class="{%if (info.invoices_lastmonth + info.noinvoices_lastmonth) < info.contractbetween %}red{%endif%}" href="{{ path('invoice_multinew') }}" >
{{ 'Invoice.CreateMissing' | trans }}
</a>{% if info.noinvoices_lastmonth >0 %} ({{ info.noinvoices_lastmonth }} {{ 'Invoice.NotNeeded' | trans }}){% endif %}
{% if info.neededmails > 0 %}
<br>
<a class="red" href="{{ path('invoice_mails') }}" >
{{ 'Invoice.TotalToBeSend' | trans }}: {{ info.neededmails }}
</a>
{% endif %}
</div>
</div>
</div>