<h2>New Account Order</h2>

<p>A new order has been placed on account by a trade customer.</p>

<table style="width: 100%; border-collapse: collapse; margin: 20px 0;">
    <tr>
        <td style="padding: 8px; border: 1px solid #ddd; font-weight: bold; width: 150px;">PO Number</td>
        <td style="padding: 8px; border: 1px solid #ddd;"><strong>{{ account_order.po_number }}</strong></td>
    </tr>
    <tr>
        <td style="padding: 8px; border: 1px solid #ddd; font-weight: bold;">Order Reference</td>
        <td style="padding: 8px; border: 1px solid #ddd;">{{ order.id }}</td>
    </tr>
    <tr>
        <td style="padding: 8px; border: 1px solid #ddd; font-weight: bold;">Amount Due</td>
        <td style="padding: 8px; border: 1px solid #ddd;">&pound;{{ account_order.amount_due|number_format(2) }}</td>
    </tr>
    <tr>
        <td style="padding: 8px; border: 1px solid #ddd; font-weight: bold;">Company</td>
        <td style="padding: 8px; border: 1px solid #ddd;">{{ trade_customer.company_name }}</td>
    </tr>
    <tr>
        <td style="padding: 8px; border: 1px solid #ddd; font-weight: bold;">Customer</td>
        <td style="padding: 8px; border: 1px solid #ddd;">{{ member.billing_firstname }} {{ member.billing_lastname }} ({{ member.email }})</td>
    </tr>
</table>

<p>This order requires payment. You can manage account orders in the admin panel.</p>
