templates/MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig line 1

Open in your IDE?
  1. {% extends 'MDS/GreenPatioBundle/base-events.html.twig' %}
  2.     {% block pagetitleinterno %}
  3.         <div class="page-title">
  4.             <h4><i class="icon-calendar3 position-left"></i> <span class="text-semibold">{% trans %}Events{% endtrans %}</span> - {% trans %}Proposal{% endtrans %}</h4>
  5.         </div>
  6.     {% endblock %}
  7.     {% block breadcrumbs %}
  8.         <ul class="breadcrumb">
  9.             <li><a href="/"><i class="icon-home2 position-left"></i>{% trans %}Home{% endtrans %}</a></li>
  10.             <li class="active"><i class="icon-file-text2 position-left"></i>{% trans %}Deposit Invoice{% endtrans %}</li>
  11.         </ul>
  12.     {% endblock %}
  13.     {% block contentProposal %}
  14.         {% for flashMessage in app.session.flashbag.get('mensajeinvoicedepositservices') %}
  15.             <div class="hidden alertFlashMensaje" data-mensaje="{{ flashMessage }}"></div>
  16.         {% endfor %}
  17.         {% for flashMessage in app.session.flashbag.get('mensajeinvoicedepositserviceserror') %}
  18.             <div class="hidden alertFlashMensajeError" data-mensajeerror="{{ flashMessage }}"></div>
  19.         {% endfor %}
  20.         <div class="row proposals" id="proposal-invoice-deposit">
  21.             <div class="container">
  22.                 <div class="row">
  23.                     <div class="col-xs-12">
  24.                         <div class="panel">
  25.                             <div class="panel-heading bg-teal-300">
  26.                                 <h5 class="panel-title">
  27.                                     <a href="#" class="btn btn-link btn-float has-text" data-toggle="modal" data-target="#modal_number_admin_invoiced">
  28.                                         {% if type == 'Invoice Rec' %}
  29.                                             {{ type|trans }} No.: R{{ number }}
  30.                                         {% else %}
  31.                                             {% if number != 275 %}
  32.                                                 {{ type|trans }} No.: {{ number }}
  33.                                             {% else %}
  34.                                                 {{ type|trans }} No.: 273
  35.                                             {% endif %}
  36.                                         {% endif %}
  37.                                     </a>
  38.                                 </h5>
  39.                                 <div class="heading-elements">
  40.                                     <ul class="icons-list">
  41.                                         <li class="dropdown">
  42.                                             {% if type == 'Proforma'%}
  43.                                                 <a class="label label-transparent text-white padding-3" href="#" data-toggle="dropdown" aria-expanded="true">
  44.                                                     {% trans %}Proformas Disponibles{% endtrans %} <i class="icon-menu9 position-right"></i>
  45.                                                 </a>
  46.                                             {% else %}
  47.                                                 <a class="label label-transparent text-white padding-3" href="#" data-toggle="dropdown" aria-expanded="true">
  48.                                                     {% trans %}Available Invoices{% endtrans %} <i class="icon-menu9 position-right"></i>
  49.                                                 </a>
  50.                                             {% endif %}
  51.                                             <ul class="dropdown-menu dropdown-menu-right bg-teal-400">
  52.                                                 {% if type == 'Proforma'%}
  53.                                                     {% for pro in proformas %}
  54.                                                         <li><a href="/reservations-greenpatio/reservations/invoice/viewnewprof/{{ pro.id }}"><i class="icon-file-eye2 pull-right"></i>{% trans %}Proforma{% endtrans %}: {{ pro.prefix }}-{{ pro.id }}</a></li>
  55.                                                     {% endfor %}
  56.                                                 {% else %}
  57.                                                     {% for inv in invoice %}
  58.                                                         {% if inv.type == 'Invoice' %}
  59.                                                             <li><a href="/reservations-greenpatio/reservations/invoice/viewnew/{{ inv.id }}"><i class="icon-file-eye2 pull-right"></i>{% trans %}Invoice{% endtrans %}: {{ inv.number }}</a></li>
  60.                                                         {% else %}
  61.                                                             <li><a href="/reservations-greenpatio/reservations/invoice/viewrec/{{ inv.id }}"><i class="icon-file-check2 pull-right"></i>{% trans %}Corrective Invoice{% endtrans %}: {{ inv.number }}</a></li>
  62.                                                         {% endif %}
  63.                                                     {% endfor %}
  64.                                                 {% endif %}
  65.                                             </ul>
  66.                                         </li>
  67.                                     </ul>
  68.                                     <ul class="icons-list" style="margin-top: 0px;">
  69.                                         <li>
  70.                                             <a class="btn bg-brown-600 btn-block" href="/reservations-greenpatio/selinvoice/{{ id }}">{% trans %}Cotización{% endtrans %}</a>
  71.                                         </li>
  72.                                         <li>
  73.                                             <a class="btn bg-success-800 btn-block" href="/reservations-greenpatio/editsimple/{{ id }}">{% trans %}Volver a Reserva{% endtrans %}</a>
  74.                                         </li>
  75.                                         {% if fid is not null and (app.session.get('_modules').madmin == 1 or is_granted('ROLE_ADMIN')) %}
  76.                                             {% if boolToRec %} {# Solo se puede hacer 1 factura rectificativa #}
  77.                                                 <li>
  78.                                                     <a class="btn bg-danger-800 btn-block" href="/reservations-greenpatio/invoicerec/{{ fid }}">{% trans %}Rectificar Factura{% endtrans %}</a>
  79.                                                 </li>
  80.                                             {% endif %}
  81.                                         {% endif %}
  82.                                         <li>
  83.                                             {% if type == 'Proforma'%}
  84.                                                 <a target="_blank" class="btn bg-danger-300 btn-block" href="/pdf/greenpatioinvprof/P/{{ fid }}">{% trans %}Pdf Proforma{% endtrans %}</a>
  85.                                             {% else %}
  86.                                                 {% if type == 'Invoice'%}
  87.                                                     <a target="_blank" class="btn bg-danger-300 btn-block" href="/pdf/greenpatioinvprof/I/{{ fid }}">{% trans %}Pdf Invoice{% endtrans %}</a>
  88.                                                 {% else %}
  89.                                                     <a target="_blank" class="btn bg-danger-300 btn-block" href="/pdf/greenpatioinvprof/R/{{ fid }}">{% trans %}Pdf Rectificativa{% endtrans %}</a>
  90.                                                 {% endif %}
  91.                                             {% endif %}
  92.                                         </li>
  93.                                         <li>
  94.                                             {% if type == 'Proforma'%}
  95.                                                 <a target="_blank" class="btn bg-orange-300 btn-block" href="/reservations-greenpatio/reservations/invoice/invoice-proforma/print/P/{{ fid }}">{% trans %}Print Proforma{% endtrans %}</a>
  96.                                             {% else %}
  97.                                                 {% if type == 'Invoice Rec'%}
  98.                                                     <a target="_blank" class="btn bg-orange-300 btn-block" href="/reservations-greenpatio/reservations/invoice/invoice-proforma/print/R/{{ fid }}">{% trans %}Print Invoice{% endtrans %}</a>
  99.                                                 {% else %}
  100.                                                     {% if type == 'Invoice'%}
  101.                                                         <a target="_blank" class="btn bg-orange-300 btn-block" href="/reservations-greenpatio/reservations/invoice/invoice-proforma/print/I/{{ fid }}">{% trans %}Print Invoice{% endtrans %}</a>
  102.                                                     {% endif %}
  103.                                                 {% endif %}
  104.                                             {% endif %}
  105.                                         </li>
  106.                                         {% if app.session.get('_modules').madmin == 1 or is_granted('ROLE_ADMIN') or user.id == 82 %}     {# ********************* MODIFICAR EL 82 POR EL GRUPO DE GREENPATIO ********************* #}
  107.                                             {#<li>#}
  108.                                                 {#<a class="btn bg-danger-800 btn-block" href="/reservations-greenpatio/reservations/invoicedepositdelete/invoice/{{ id }}/{{ fid }}">{% trans %}Delete Invoice{% endtrans %}</a>#}
  109.                                             {#</li>#}
  110.                                         {% endif %}
  111.                                     </ul>
  112.                                 </div>
  113.                             </div>
  114.                         </div>
  115.                         <br>
  116.                         {% if (datasupplier.lounge is defined) or (datasupplier.service is defined) or (datasupplier.payment is defined) %}
  117.                             <div class="panel">
  118.                                 <div class="panel-body">
  119.                                     <div class="col-xs-2">
  120.                                         <img class="img-responsive center-block" src="/{{ company.picture }}" alt="">
  121.                                     </div>
  122.                                     <div class="col-xs-4 margen-15">
  123.                                         <div class="col-xs-12"><b>{{ company.company }}</b></div>
  124.                                         <div class="col-xs-12"><b>CIF.: {{ company.idDocument }}</b></div>
  125.                                         <div class="col-xs-12"><b>{% trans %}Date{% endtrans %}: {{ date|date("d/m/Y") }}</b></div>
  126.                                         <div class="col-xs-12"><b>
  127.                                             {% if type == 'Invoice' %}
  128.                                                 {#{{ type|trans }} No.: {{ number }}#}
  129.                                                 {#Por orden de Esteban Rincon se hace esta modificacion, debido a un error del agente Gabriela Bracho se necesitan 2 facturas con el #273#}
  130.                                                 {% if number != 275 %}
  131.                                                     {{ type|trans }} No.: {{ number }}
  132.                                                 {% else %}
  133.                                                     {{ type|trans }} No.: 273
  134.                                                 {% endif %}
  135.                                             {% else %}
  136.                                                 {% if type == 'Invoice Rec' %}
  137.                                                     {{ type|trans }}, No.: R{{ number }}
  138.                                                     <br>
  139.                                                     <a>{% trans %}This invoice rectifies the invoice{% endtrans %} No.: {{ invoiceIdToRec }}</a>
  140.                                                 {% else %}
  141.                                                     {{ type|trans }} No.: {{ number }}
  142.                                                 {% endif %}
  143.                                             {% endif %}
  144.                                             </b>
  145.                                         </div>
  146.                                     </div>
  147.                                     <div class="col-xs-6 margen-10 border-esp redondo padding-3">
  148.                                         {#{% for client in clients %}#}
  149.                                             {#<div class="col-xs-12"><b>{% trans %}Client{% endtrans %}: {{ client.name }}</b></div>#}
  150.                                             {#<div class="col-xs-12"><b>{% trans %}Address{% endtrans %}:  {{ client.address }}, {{ client.addressNumber }} {{ client.region.region }} {{ client.population.city }} - {{ client.zipCode }}, {{ client.country.country }}</b></div>#}
  151.                                             {#<div class="col-xs-12"><b>{% trans %}Document{% endtrans %}: {{ client.typeDocument }}: {{ client.idDocument }}</b></div>#}
  152.                                         {#{% endfor %}#}
  153.                                         <div class="col-xs-12"><b>{% trans %}Client{% endtrans %}: {{ clientName }}</b></div>
  154.                                         <div class="col-xs-12"><b>{% trans %}Address{% endtrans %}:  {{ clientAddress }}</b></div>
  155.                                         <div class="col-xs-12"><b>{% trans %}Document{% endtrans %}: {{ clientDocument }}</b></div>
  156.                                     </div>
  157.                                 </div>
  158.                             </div>
  159.                             {% if datasupplier.lounge is defined %}
  160.                                 <div class="panel">
  161.                                     <div class="panel-heading">
  162.                                         <div class="panel-title">
  163.                                             <h5><b>{% trans %}Lounge{% endtrans %}</b></h5>
  164.                                         </div>
  165.                                     </div>
  166.                                     <div class="panel-body">
  167.                                         <table class="table table-striped">
  168.                                             <thead>
  169.                                             <tr>
  170.                                                 {#<th class="text-center">{% trans %}Facturar{% endtrans %}</th>#}
  171.                                                 <th class="text-center">{% trans %}Name{% endtrans %}</th>
  172.                                                 <th class="text-center">{% trans %}Unit Price{% endtrans %}</th>
  173.                                                 <th class="text-center">{% trans %}Units{% endtrans %}</th>
  174.                                                 {#<th class="text-center">{% trans %}Pax{% endtrans %}</th>#}
  175.                                                 <th class="text-center">{% trans %}Date{% endtrans %}</th>
  176.                                                 <th class="text-center">{% trans %}Price{% endtrans %}</th>
  177.                                                 <th class="text-center">{% trans %}Vat{% endtrans %}</th>
  178.                                                 <th class="text-center">{% trans %}Total{% endtrans %}</th>
  179.                                             </tr>
  180.                                             </thead>
  181.                                             <tbody>
  182.                                                 {% for itemslounge in datasupplier.lounge %}
  183.                                                 <tr>
  184.                                                     <td class="text-center">{{ itemslounge.loungeName }}
  185.                                                         {% if itemslounge.type is not null %}
  186.                                                             ( {{ itemslounge.type }} )
  187.                                                         {% endif %}
  188.                                                     </td>
  189.                                                     <td class="text-center">
  190.                                                         {{ itemslounge.servicePrice|number_format(2, '.', ',')  }} {{ currency }}
  191.                                                     </td>
  192.                                                     <td class="text-center">
  193.                                                         {{ itemslounge.qty }}
  194.                                                     </td>
  195.                                                     <td class="text-center">
  196.                                                         {{ itemslounge.dateStart|date('d/m/Y') }} - {{  itemslounge.dateEnd|date('d/m/Y') }}
  197.                                                     </td>
  198.                                                     <td class="text-center">
  199.                                                         <label style="padding-top: 7px" id="loungesPrice_{{ itemslounge.id }}">{{ itemslounge.servicePrice|number_format(2, '.', ',') }}</label> {{ currency }}
  200.                                                     </td>
  201.                                                     <td class="text-center">
  202.                                                         <label style="padding-top: 7px" id="loungesVat_{{ itemslounge.id }}">{{ itemslounge.iva }}</label> %
  203.                                                     </td>
  204.                                                     <td class="text-center">
  205.                                                         <label style="padding-top: 7px" id="loungesSubtotal_{{ itemslounge.id }}">{{ itemslounge.subtotalLounge|number_format(2, '.', ',') }}</label> {{ currency }}
  206.                                                     </td>
  207.                                                 </tr>
  208.                                             {% endfor %}
  209.                                             </tbody>
  210.                                         </table>
  211.                                     </div>
  212.                                     <div class="panel-footer">
  213.                                         <div class="col-xs-12 text-center">
  214.                                             {% if datasupplier.lounge is not empty %}
  215.                                                 <div class="col-xs-offset-7 col-xs-3">
  216.                                                     <b class="text-success">{% trans %}Net Amount{% endtrans %}</b>
  217.                                                     <br>
  218.                                                     <b>
  219.                                                         <label id="netAmountLounge"> <strong>{{ datasupplier.loungeSubTotal.neto|number_format(2, '.', ',') }}</strong></label>
  220.                                                         {{ currency }}
  221.                                                     </b>
  222.                                                 </div>
  223.                                                 <div class="col-xs-2 col-xs-3">
  224.                                                     <b class="text-success">{% trans %}Total{% endtrans %}</b>
  225.                                                     <br>
  226.                                                     <b>
  227.                                                         <label id="totalAmountLounge"> <strong>{{ datasupplier.loungeSubTotal.sumSubT|number_format(2, '.', ',') }}</strong></label>
  228.                                                         {{ currency }}
  229.                                                     </b>
  230.                                                 </div>
  231.                                             {% endif %}
  232.                                         </div>
  233.                                     </div>
  234.                                 </div>
  235.                             {% endif %}
  236.                             {% if datasupplier.service is defined %}
  237.                                 <div class="panel">
  238.                                     <div class="panel-heading">
  239.                                         <div class="panel-title">
  240.                                             <h5><b>{% trans %}Services{% endtrans %}</b></h5>
  241.                                         </div>
  242.                                     </div>
  243.                                     <div class="panel-body">
  244.                                         <table class="table table-striped">
  245.                                             <thead>
  246.                                             <tr>
  247.                                                 <th class="text-center">{% trans %}Name{% endtrans %}</th>
  248.                                                 <th class="text-center">{% trans %}Type{% endtrans %}</th>
  249.                                                 <th class="text-center">{% trans %}Unit Price{% endtrans %}</th>
  250.                                                 <th class="text-center">{% trans %}Units{% endtrans %}</th>
  251.                                                 <th class="text-center">{% trans %}Pax{% endtrans %}</th>
  252.                                                 <th class="text-center">{% trans %}Date{% endtrans %}</th>
  253.                                                 <th class="text-center">{% trans %}Price{% endtrans %}</th>
  254.                                                 <th class="text-center">{% trans %}Vat{% endtrans %}</th>
  255.                                                 <th class="text-center">{% trans %}Total{% endtrans %}</th>
  256.                                             </tr>
  257.                                             </thead>
  258.                                             <tbody>
  259.                                             {% for itemsservice in datasupplier.service %}
  260.                                                 <tr>
  261.                                                     <td class="text-center">{{ itemsservice.serviceName }}</td>
  262.                                                     <td class="text-center">{{ itemsservice.serviceType }}</td>
  263.                                                     <td class="text-center">{{ itemsservice.precioUnit|number_format(2, '.', ',')  }} {{ currency }}</td>
  264.                                                     <td class="text-center">{{ itemsservice.qty }}</td>
  265.                                                     <td class="text-center">{{ itemsservice.pax }}</td>
  266.                                                     <td class="text-center">{{ itemsservice.date }}</td>
  267.                                                     <td class="text-center">
  268.                                                         <label style="padding-top: 7px" id="servicePrice_{{ itemsservice.id }}">{{ itemsservice.subneto|number_format(2, '.', ',') }}</label> {{ currency }}
  269.                                                     </td>
  270.                                                     <td class="text-center">
  271.                                                         <label style="padding-top: 7px" id="serviceVat_{{ itemsservice.id }}">{{ itemsservice.iva }}</label>%
  272.                                                     </td>
  273.                                                     <td class="text-center">
  274.                                                         <label style="padding-top: 7px" id="serviceSubtotal_{{ itemsservice.id }}">{{ itemsservice.subtotal|number_format(2, '.', ',') }}</label> {{ currency }}
  275.                                                     </td>
  276.                                                 </tr>
  277.                                             {% endfor %}
  278.                                             </tbody>
  279.                                         </table>
  280.                                     </div>
  281.                                     <div class="panel-footer">
  282.                                         <div class="col-xs-12 text-center">
  283.                                             {% if datasupplier.service is not empty %}
  284.                                                 <div class="col-xs-offset-7 col-xs-3">
  285.                                                     <b class="text-success">{% trans %}Net Amount{% endtrans %}</b>
  286.                                                     <br>
  287.                                                     <b>
  288.                                                         <label id="netAmountService"> <strong>{{ datasupplier.serviceSubTotal.neto|number_format(2, '.', ',') }}</strong></label>
  289.                                                         {{ currency }}
  290.                                                     </b>
  291.                                                 </div>
  292.                                                 <div class="col-xs-2">
  293.                                                     <b class="text-success">{% trans %}Total{% endtrans %}</b>
  294.                                                     <br>
  295.                                                     <b>
  296.                                                         <label id="totalAmountService"> <strong>{{ datasupplier.serviceSubTotal.sumSubT|number_format(2, '.', ',') }}</strong></label>
  297.                                                         {{ currency }}
  298.                                                     </b>
  299.                                                 </div>
  300.                                             {% endif %}
  301.                                         </div>
  302.                                     </div>
  303.                                 </div>
  304.                             {% endif %}
  305.                             {% if datasupplier.payment is defined %}
  306.                                 <div class="panel">
  307.                                     <div class="panel-body">
  308.                                         <div class="panel-title">
  309.                                             <h5><b>{% trans %}Payments of Invoice{% endtrans %}</b></h5>
  310.                                         </div>
  311.                                         <table class="table table-striped">
  312.                                             <thead>
  313.                                             <tr>
  314.                                                 <th class="text-center">{% trans %}Way to pay{% endtrans %}</th>
  315.                                                 <th class="text-center">{% trans %}Date payment{% endtrans %}</th>
  316.                                                 <th class="text-center">{% trans %}Net{% endtrans %}</th>
  317.                                                 <th class="text-center">{% trans %}Vat{% endtrans %}</th>
  318.                                                 <th class="text-center">{% trans %}Total{% endtrans %}</th>
  319.                                             </tr>
  320.                                             </thead>
  321.                                             <tbody>
  322.                                                 {% for itemsPayment in datasupplier.payment %}
  323.                                                     <tr>
  324.                                                         <td class="text-center">{{ itemsPayment.wayToPay }}</td>
  325.                                                         <td class="text-center">{{ itemsPayment.datePayAt|date('d/m/Y') }}</td>
  326.                                                         <td class="text-center">
  327.                                                             <label style="padding-top: 7px" id="netAmountPayment_{{ itemsPayment.id }}">{{ itemsPayment.amount|number_format(2, '.', ',') }}</label> {{ currency }}
  328.                                                         </td>
  329.                                                         <td class="text-center">{{ itemsPayment.vat }}</td>
  330.                                                         <td class="text-center">{{ itemsPayment.amountTotal|number_format(2, '.', ',') }}</td>
  331.                                                     </tr>
  332.                                                 {% endfor %}
  333.                                             </tbody>
  334.                                         </table>
  335.                                     </div>
  336.                                     <div class="panel-footer">
  337.                                         <div class="col-xs-12 text-center">
  338.                                             {% if datasupplier.payment is not empty %}
  339.                                                 <div class="col-xs-9"></div>
  340.                                                 <div class="col-xs-2"><b class="text-success">{% trans %}Total{% endtrans %}</b><br>
  341.                                                     {% if type == 'Invoice Rec' %}
  342.                                                         <b>
  343.                                                             <label id="totalAmountPayment"> <strong>{{ datasupplier.paymentSubTotal.sumSubT|abs|number_format(2, '.', ',') }}</strong></label>
  344.                                                             {{ currency }}
  345.                                                         </b>
  346.                                                     {% else %}
  347.                                                         <b>
  348.                                                             <label id="totalAmountPayment"> <strong>{{ datasupplier.paymentSubTotal.sumSubT|number_format(2, '.', ',') }}</strong></label>
  349.                                                             {{ currency }}
  350.                                                         </b>
  351.                                                     {% endif %}
  352.                                                 </div>
  353.                                             {% endif %}
  354.                                         </div>
  355.                                     </div>
  356.                                 </div>
  357.                             {% endif %}
  358.                             <div class="panel">
  359.                                 <div class="panel-body">
  360.                                     <div class="col-xs-12 ">
  361.                                         <div class="col-xs-12 ">
  362.                                             <div class="col-xs-8 text-right"><b class="text-success">{% trans %}Total Before Vat{% endtrans %}:</b></div>
  363.                                             <div class="col-xs-4 text-right alert-info"><b>{{ totales_neto|number_format(2, '.', ',')  }}{{ currency }}</b></div>
  364.                                         </div>
  365.                                         <div class="col-xs-12">
  366.                                             <hr>
  367.                                         </div>
  368.                                         <div class="col-xs-12">
  369.                                             <div class="col-xs-10 text-right"><b class="text-success">{% trans %}Vat{% endtrans %}%:</b></div>
  370.                                             <div class="col-xs-2 text-right"><b class="text-success">{% trans %}Vat{% endtrans %}:</b></div>
  371.                                         </div>
  372.                                         <div class="col-xs-12">
  373.                                             {% if bases_imponibles.ivaMontoVeintiUno is defined %}
  374.                                                 <div class="col-xs-10 text-right"><b>21 % :</b></div>
  375.                                                 <div class="col-xs-2 text-right"><b>{{ bases_imponibles.ivaMontoVeintiUno|number_format(2, '.', ',')  }}{{ currency }}</b></div>
  376.                                             {% endif %}
  377.                                             {% if bases_imponibles.ivaMontoDiez is defined %}
  378.                                                 <div class="col-xs-10 text-right"><b>10 % :</b></div>
  379.                                                 <div class="col-xs-2 text-right"><b>{{ bases_imponibles.ivaMontoDiez|number_format(2, '.', ',')  }}{{ currency }}</b></div>
  380.                                             {% endif %}
  381.                                         </div>
  382.                                         <div class="col-xs-12">
  383.                                             <hr>
  384.                                         </div>
  385.                                         <div class="col-xs-12">
  386.                                             <div class="col-xs-8 text-right"><b class="text-success">{% trans %}Total{% endtrans %}:</b></div>
  387.                                             <div class="col-xs-4 text-right alert-info"><b>{{ totales|number_format(2, '.', ',')  }}{{ currency }}</b></div>
  388.                                         </div>
  389.                                         <div class="col-xs-12">
  390.                                             <hr>
  391.                                         </div>
  392.                                     </div>
  393.                                 </div>
  394.                             </div>
  395.                             <div class="panel">
  396.                                 <div class="panel-body">
  397.                                     <div class="col-xs-12 text-center">{{ company.registry }}</div>
  398.                                     <div class="col-xs-12 text-center"><hr></div>
  399.                                     <div class="col-xs-12 text-justify">
  400.                                         {% autoescape %}
  401.                                             {{ company.note|raw }}
  402.                                         {% endautoescape %}
  403.                                     </div>
  404.                                     <div class="col-xs-12 text-center"><hr></div>
  405.                                     <div class="col-xs-12 text-center"><b>{{ company.address }} {{ company.zipCode }} | {{ company.telephone }} {{ company.email }}</b></div>
  406.                                 </div>
  407.                             </div>
  408.                         {% else %}
  409.                             <div class="text-center content-group">
  410.                                 <h1 class="error-title offline-title">{{ type|trans }} is Empty</h1>
  411.                                 <h5>{% trans %}Sorry, there's nothing to invoice{% endtrans %}</h5>
  412.                             </div>
  413.                         {% endif %}
  414.                     </div>
  415.                 </div>
  416.             </div>
  417.         </div>
  418.         <!-- Modal Services -->
  419.         <div id="modal_number_admin_invoiced" class="modal fade">
  420.             <div class="modal-dialog modal-lg">
  421.                 <div class="modal-content">
  422.                     <div class="modal-header bg-teal">
  423.                         <button type="button" class="close" data-dismiss="modal">&times;</button>
  424.                         <h5 class="modal-title">{% trans %}Edit Number Invoice{% endtrans %}</h5>
  425.                     </div>
  426.                     <div id="modal-spinner" class="modal-body">
  427.                         <form name="ProposalSupplierSearch" method="post" action="/reservations-greenpatio/reservations/invoicedeposit/number/updated/{{ id }}/{{ cid }}" class="form-horizontal" autocomplete="off">
  428.                             <div class="col-md-8">
  429.                                 <div class="form-group form-group-material">
  430.                                     <input type="text" id="invoice_number" name="invoice[number]" class="form-control input-sombra input-lg" value="{{ numberadmin }}" placeholder="Nº Invoice">
  431.                                 </div>
  432.                             </div>
  433.                             <div class="col-md-4">
  434.                                 <div class="form-group form-group-material">
  435.                                     <button type="submit" id="invoice_number_sumit" name="invoice[send]" class="btn btn-info btn-block btn-lg">{% trans %}Save{% endtrans %}</button>
  436.                                 </div>
  437.                             </div>
  438.                         </form>
  439.                     </div>
  440.                     <div class="modal-footer text-center">
  441.                     </div>
  442.                 </div>
  443.             </div>
  444.         </div>
  445.         <!-- /Modal Services -->
  446.     {% endblock %}
  447.     {% block javascripts %}
  448.         {{ parent() }}
  449.         <script type="text/javascript" src="{{ asset('assets/js/plugins/editors/summernote/summernote.min.js') }}"></script>
  450.         <script type="text/javascript" src="{{ asset('assets/js/plugins/forms/styling/switchery.min.js') }}"></script>
  451.         <script type="text/javascript" src="{{ asset('assets/js/pages/proposal/switchery-proposal.js') }}"></script>
  452.         <script type="text/javascript" src="{{ asset('assets/js/plugins/forms/selects/select2.min.js') }}"></script>
  453.         <script type="text/javascript" src="{{ asset('assets/js/pages/components_popups.js') }}"></script>
  454.         <script type="text/javascript" src="{{ asset('assets/js/plugins/notifications/sweet_alert.min.js') }}"></script>
  455.     {% endblock %}