{% embed "@LcShop/backend/default/block/embed_modal.twig" %}
    {% trans_default_domain 'lcshop' %}

    {% block id %}modal-order-invoice-address{% endblock %}
    {% block title %}{{ "field.default.invoiceAddress"|trans }}{% endblock %}

    {% block form_start %}
        {{ form_start(form_order_invoice_address, {'attr': { 'id' : 'orderInvoiceAddressForm'}}) }}) }}
        {% form_theme form_order_invoice_address '@LcShop/backend/form/custom_bootstrap_4.html.twig' %}
    {% endblock %}

    {% block content %}
        <div class="col">
            {{ form_row(form_order_invoice_address.invoiceAddress) }}
        </div>
    {% endblock %}

    {% block footer %}
        {{ parent() }}
        {{ form_widget(form_order_invoice_address.save, {"attr": {'class' : 'btn btn-primary', '@click' : 'updateOrderInvoiceAddress'}}) }}

    {% endblock %}

    {% block form_end %}
        {{ form_end(form_order_invoice_address) }}
    {% endblock %}

{% endembed %}
