<table width="500" style=" font-family: Helvetica, Arial, sans-serif; border-collapse: separate;" rel="min-width: 800px; font-family: Helvetica, Arial, sans-serif; border-collapse: separate;" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr style="vertical-align: top;">
    <td>
        <table width="100%;" cellspacing="0" border="0" style="border-collapse: separate; font-family: Helvetica, Arial, sans-serif;">
        <tbody>
        <tr>
            <td width="50%" style="padding: 0px; padding-bottom: 10px; padding-right: 40px; vertical-align: top; font-family: Helvetica, Arial, sans-serif;">
                {% if pickup_point.is_selected %}
                {{ snippet("pickup_point") }}
                {% else %}
                {{ snippet("ship_to") }}
                {% endif %}
            </td>
            <td width="50%" style="padding: 0px; padding-bottom: 10px; padding-left: 40px; -webkit-print-color-adjust: exact; vertical-align: top; font-family: Helvetica, Arial, sans-serif;">
                <p style="color: #787878; font-size: 14px; font-family: Helvetica, Arial, sans-serif; padding-bottom: 5px; margin: 0px;">
                    <span style="color: #444444; font-weight: 600; font-family: Helvetica, Arial, sans-serif; text-transform: uppercase;">{{__("order_date")}}</span>  {{o.timestamp}}
                </p>
                <p style="color: #787878; font-size: 14px; font-family: Helvetica, Arial, sans-serif; padding-bottom: 5px; margin: 0px;">
                    <span style="color: #444444; font-weight: 600; font-family: Helvetica, Arial, sans-serif; text-transform: uppercase;">{{__("payment")}}</span>  {{p.payment}}
                </p>
                <p style="color: #787878; font-size: 14px; font-family: Helvetica, Arial, sans-serif; padding-bottom: 5px; margin: 0px;">
                    <span style="color: #444444; font-weight: 600; font-family: Helvetica, Arial, sans-serif; text-transform: uppercase;">{{__("shipping")}}</span>  {{o.shippings_method}}
                </p>
                {% if o.tracking_number %}
                <p style="color: #787878; font-size: 14px; font-family: Helvetica, Arial, sans-serif; padding-bottom: 5px; margin: 0px;">
                    <span style="color: #444444; font-weight: 600; font-family: Helvetica, Arial, sans-serif; text-transform: uppercase;">{{__("tracking_number")}}</span>  
                    <a href="http://partiushop.com.br/index.php?dispatch=rastreamento.view&etiqueta={{ shipment.tracking_number }}">{{ shipment.tracking_number }}</a>
                </p>
                {% endif %}
            </td>
        </tr>
        </tbody>
        </table>
    </td>
</tr>
<tr>
    <td style="padding: 0px;">
        {{ snippet("products_table") }}
    </td>
</tr>
<tr>
    <td style="padding: 0px; border-top: 2px solid #f5f5f5; padding-top: 10px; font-family: Helvetica, Arial, sans-serif;">
        <table width="100%" style="border-collapse: separate; font-family: Helvetica, Arial, sans-serif;">
        <tbody>
        <tr>
            <td width="66%" style="font-size: 14px; font-family: Helvetica, Arial, sans-serif; line-height: 21px; color: #444444; padding-right: 30px; vertical-align:top;">
                {% if o.notes %}
                <h2 style="margin: 0px; font-size: 22px; font-family: Helvetica, Arial, sans-serif; color: #444444; text-transform: uppercase; padding-bottom: 20px; border-bottom: 3px solid #e8e8e8; margin-bottom: 10px;">{{ __("customer_notes") }}</h2>
                {{ o.notes }}
                                {% endif %}
            </td>
            <td width="34%" style="vertical-align: top; font-family: Helvetica, Arial, sans-serif;">
                <table width="100%;" style="font-size: 14px; font-family: Helvetica, Arial, sans-serif; color: #444;">
                <tbody>
                    <tr style=" vertical-align: top; font-family: Helvetica, Arial, sans-serif;">
                        <td align="left" style="padding-bottom: 20px; font-family: Helvetica, Arial, sans-serif;">{{ __("subtotal") }}
                        </td>
                        <td align="right" style="font-family: Helvetica, Arial, sans-serif;">{{o.display_subtotal}}
                        </td>
                    </tr>
                    <tr style=" vertical-align: top;">
                        <td align="left" style="padding-bottom: 20px; text-transform: uppercase; font-family: Helvetica, Arial, sans-serif;">{{o.tax_name}}
                        </td>
                        <td align="right" style="font-family: Helvetica, Arial, sans-serif;">{{o.tax_total}}
                        </td>
                    </tr>
                    <tr style=" vertical-align: top;">
                        <td align="left" style="padding-bottom: 20px; font-family: Helvetica, Arial, sans-serif;">{{ __("shipping") }}
                        </td>
                        <td align="right" style="font-family: Helvetica, Arial, sans-serif;">{{ o.display_shipping_cost }}
                        </td>
                    </tr>
                    <tr style=" vertical-align: top;">
                        <td style="padding-bottom: 20px; font-family: Helvetica, Arial, sans-serif;" align="left">{{ __("payment_surcharge") }}
                        </td>
                        <td style="font-family: Helvetica, Arial, sans-serif;" align="right">{{ o.payment_surcharge }}
                        </td>
                    </tr>
                    <tr style=" vertical-align: top; font-family: Helvetica, Arial, sans-serif;">
                        <td align="left" style="font-family: Helvetica, Arial, sans-serif;">{% if o.coupon_code %} <div style="padding-bottom: 20px; font-family: Helvetica, Arial, sans-serif;"> {{ __("coupon") }} </div> {% endif %}
                        </td>
                        <td align="right" style="font-family: Helvetica, Arial, sans-serif;">{% if o.coupon_code %} {{o.coupon_code}} {% endif %}
                        </td>
                    </tr>
                    <tr style=" vertical-align: top; font-family: Helvetica, Arial, sans-serif;">
                        <td align="left" style="font-family: Helvetica, Arial, sans-serif;">{% if o.raw.discount %} <div style="padding-bottom: 20px; font-family: Helvetica, Arial, sans-serif;"> {{ __("including_discount") }} </div> {% endif %}
                        </td>
                        <td align="right" style="font-family: Helvetica, Arial, sans-serif;">{% if o.raw.discount %} {{o.discount}} {% endif %}
                        </td>
                    </tr>
                    <tr style=" vertical-align: top; font-family: Helvetica, Arial, sans-serif;">
                        <td align="left" style="font-family: Helvetica, Arial, sans-serif;">{% if o.raw.subtotal_discount %} <div style="padding-bottom: 20px; font-family: Helvetica, Arial, sans-serif;"> {{ __("order_discount") }} </div> {% endif %}
                        </td>
                        <td align="right" style="font-family: Helvetica, Arial, sans-serif;">{% if o.raw.subtotal_discount %} {{o.subtotal_discount}} {% endif %}
                        </td>
                    </tr>
                    <tr style=" vertical-align: top; font-size: 22px; font-weight: 600; font-family: Helvetica, Arial, sans-serif;">
                        <td align="left" style="padding-top: 20px; border-top: 1px solid #e8e8e8; font-size: 22px; font-family: Helvetica, Arial, sans-serif;">{{ __("total") }}
                        </td>
                        <td align="right" style="padding-top: 20px; border-top: 1px solid #e8e8e8; font-size: 22px; font-family: Helvetica, Arial, sans-serif;">{{o.total}}
                        </td>
                    </tr>
                </tbody>
                </table>
            </td>
        </tr>
        </tbody>
        </table>
    </td>
</tr>
</tbody>
</table>