<?php
/**
 * @var \FiloBlu\Rma\Block\Email\PickupAddress $block;
 */
if($block->isEasyReturn($block->getRmaId())) {
    $pickupAddress = $block->getPickupAddress($block->getRmaId());
?>

    <tr>
        <td class="pickup-address-details">
            <h3>Pickup Address</h3>
            <p>
                <?= /* @escapeNotVerified */ __('Name') ?>: <?= $pickupAddress['firstname'] ?><br>
                <?= /* @escapeNotVerified */ __('Surname') ?>: <?= $pickupAddress['lastname'] ?><br>
                <?= /* @escapeNotVerified */ __('Address') ?>:<?= $pickupAddress['street'] ?><br>
                <?= /* @escapeNotVerified */ __('City') ?>: <?= $pickupAddress['city'] ?><br>
                <?= /* @escapeNotVerified */ __('State/Province') ?>: <?php if(isset($pickupAddress['region'])){echo $pickupAddress['region'];} ?><br>
                <?= /* @escapeNotVerified */ __('Zip/Postal Code') ?>: <?= $pickupAddress['postcode'] ?><br>
                <?= /* @escapeNotVerified */ __('Country') ?>: <?= $pickupAddress['country_id'] ?><br>
            </p>
        </td>
    </tr>

<?php

}

?>