<!--@subject {{trans "New e-commerce order %increment_id" increment_id=$order.increment_id}} @-->
<!--@vars {
"var formattedBillingAddress|raw":"Billing Address",
"var order.getEmailCustomerNote()":"Email Order Note",
"var order.getBillingAddress().getName()":"Guest Customer Name",
"var order.getCreatedAtFormatted(2)":"Order Created At (datetime)",
"var order.increment_id":"Order Id",
"layout handle=\"sales_email_order_items\" order=$order":"Order Items Grid",
"var payment_html|raw":"Payment Details",
"var formattedShippingAddress|raw":"Shipping Address",
"var order.getShippingDescription()":"Shipping Description",
"var shipping_msg":"Shipping message"
} @-->

{{template config_path="design/email/header_template"}}

<p class="greeting">{{trans "%name," name=$shop.getTitle()}}</p>
<p>
    {{trans "New return request for order %increment_id." increment_id=$order.increment_id}}
</p>
<p>
    {{block class='FiloBlu\\Storelocator\\Block\\PickUpInStore\\ConfirmReceived' area='frontend' template='FiloBlu_Storelocator::email/pickupinstore/rma_store_confirm_received_link.phtml' rma=$rma rma_data=$rma_data}}
</p>
<p>
    {{block class='FiloBlu\\Storelocator\\Block\\PickUpInStore\\Template' area='frontend' template='FiloBlu_Storelocator::email/pickupinstore/rma_refused_link.phtml' rma=$rma rma_data=$rma_data}}
</p>


<h1>
    {{trans
    "Your Return #%rma_increment_id - %status_label"

    rma_increment_id=$rma.getIncrementId()
    status_label=$rma.getStatusLabel().format('html')
    }}
</h1>
<p>{{trans "Placed on %created_at" created_at=$rma.getCreatedAtFormated(1)}}</p>

<table class="order-details" cellspacing="0" cellpadding="0" border="0">
    <tr>
        <td class="address-details">
            <h3>{{trans "Shipping Address"}}</h3>
            <p>{{var formattedShippingAddress|raw}}</p>
        </td>
        <td class="address-details">
            <h3>{{trans "Return Address"}}</h3>
            <p>{{var return_address|raw}}</p>
        </td>
    </tr>
</table>
<br/>

{{layout handle="magento_rma_email_rma_items" collection=$item_collection}}

{{template config_path="design/email/footer_template"}}
