{% extends 'custom_easyadmin_layout.html.twig' %} {% block content_title %}

{{ "invoice.invoice_number" | trans }} {{ invoice.getInvoiceNumber() }}

{{ "invoice.order_number" | trans }} {{ invoice.getOrderNumber() }}

{{ "invoice.client_name" | trans }} {{ invoice.getClient().__toString() }}

{{ "invioce.locations" | trans }} {{ invoice.getAllLocationsAsString() }}

{{ "invoice.state" | trans }} {{ invoice.getStatus() }}

{% endblock %} {% block flash_messages %} {% endblock %} {% block main %}
{{ include(_entity_config is defined ? _entity_config.templates.flash_messages : '@EasyAdmin/default/flash_messages.html.twig') }} {% if invoice.getStatus() != 'created' and not invoice.isCancelled() %} {{ form(form) }} {% endif %} {% if(invoiceAddonForm is defined and null != invoiceAddonForm and invoice.getStatus() != 'created' and not invoice.isCancelled()) %} {{ form(invoiceAddonForm) }} {% endif %} {% if invoice.isCancelled() %}

{{ "invoice.is_cancelled" | trans }}

{% endif %}
{% if not invoice.isCancelled() %} {% if invoice.getObservations %}

{{ "invoice.observations" | trans }} {{ invoice.getObservations() }}

{% endif %}

{{ "invoice.ordered_quantity" | trans }} {{ invoice.getOrderedQuantity() }}

{{ "invoice.scanned_quantity" | trans }} {{ invoice.getScannedQuantity() }}

{{ "invoice.remaining_quantity" | trans }} {{ invoice.getRemainingQuantity() }}

{{ "invoice.total_invoice_components" | trans }} {{ invoice.getTotalScannedInvoiceComponents() }}

{{ "invoice.packages" | trans }} {{ invoice.numberOfPackages() }}

{% endif %} {% if invoice.getInvoiceNotes() %}

{{ "invoice.notes" | trans }} {{ invoice.getInvoiceNotesAsString() }}

{% endif %} {% if invoice.getPackingPlace() | length > 0 %}

{{ "invoice.packing_place" | trans }} {{ invoice.getPackingPlace().getName() }}

{% endif %}
{% if 'scanned' == invoice.getStatus() or 'packed' == invoice.getStatus() or invoice.isCancelled() %} {{ "summary.printInvoicePdf" | trans }} {% endif %} {% if invoice.isCancelled() %} {{ "invoice.cancel_button" | trans }} {% endif %} {% if workflow.can(invoice, 'collect') %} {{ "summary.start_packing" | trans }} {% endif %} {% if null != invoice.getPackedBy() %} {{ "summary.report" | trans }} {% endif %} {% if workflow.can(invoice, 'pack') %} {{ "summary.add_invoice_components" | trans }} {% endif %} {% if null != invoice.getPackedBy() %} {{ "summary.repack.title" | trans }} {% endif %} {% if null != invoice.getPackedBy() %} {{ "summary.reset.title" | trans }} {% endif %} {% if 'packed' == invoice.getStatus() %} {{ "summary.printAwb" | trans }} {% endif %}
{% endblock main %} {# {% block float_section %} {% include "default/elements/floating_back_button.html.twig" %} {% endblock %} #}