templates/kernel/user/widget/Widget-User-InvoicesSummary.html.twig line 1

Open in your IDE?
  1. {%  set info =  finance_service.invoiceSummary() %}
  2. <div class="widget style1 navy-bg-white">
  3.     <div class="row">
  4.         <div class="col-3">
  5.             <i class="fa fa-money fa-5x"></i>
  6.         </div>
  7.         <div class="col-9 text-right">
  8.             <h3 class="font-bold">{{ 'Invoices' | trans }}</h2>
  9.                 {{ 'Invoice.LastMonth' | trans }}:  {{ info.invoices_lastmonth }} / {{ info.contractbetween }}:
  10.                 <br>
  11.                 <a class="{%if (info.invoices_lastmonth + info.noinvoices_lastmonth) < info.contractbetween %}red{%endif%}" href="{{ path('invoice_multinew') }}" >
  12.             {{ 'Invoice.CreateMissing' | trans }}
  13.         </a>{% if info.noinvoices_lastmonth >0 %} ({{ info.noinvoices_lastmonth }} {{ 'Invoice.NotNeeded' | trans }}){% endif %}
  14. {% if info.neededmails > 0 %}
  15.     <br>
  16.         <a class="red"  href="{{ path('invoice_mails') }}" >
  17.             {{ 'Invoice.TotalToBeSend' | trans }}: {{ info.neededmails }}
  18.         </a> 
  19.         {% endif %}
  20.         </div>
  21.     </div>
  22. </div>