{% extends 'emails/layouts/notification.twig' %}

{% block before_content %}

{% endblock %}

{% block content %}

    <tr>
        <td>
            <table width="{{ inner_wrapper_width }}" align="center" border="0" cellspacing="0" cellpadding="0"
                   style="{{ font_family }}margin:0 auto;"
            >
                <tr>
                    <td style="{{ intro_text }}">
                        <p style="{{ text_reset }}margin-bottom:15px;">
                            Hi <strong>{{ order.address.billing.firstname }}</strong>,
                        </p>

                        <p style="{{ text_reset }} margin-bottom: 15px;">
                            Thank you for your online order placed on
                            <strong>{{ create_from_format(order_date, 'Y-m-d H:i:s', 'l jS F Y') }}!</strong>
                        </p>


                        <p style="{{ large_intro_text }} {{ text_reset }}">
                            Your order is now awaiting GP confirmation.
                        </p>

                        {{ order_status_text|replace({ '<p>' : '<p style="' ~ intro_text ~ '">' })|raw }}
                    </td>
                </tr>
            </table>
        </td>
    </tr>

    <tr>
        <td style="height:50px"></td>
    </tr>

{% endblock %}

{% block after_content %}

    {% include 'emails/shop/includes/basket.twig' %}

{% endblock %}
