<?php

use WpBookingHotel\Factory;

$item = $this->item;
?>
<tr data-id="<?php echo (esc_attr($item->id)); ?>">
    <td class="id nowrap"><?php echo (esc_html($item->id)); ?></td>
    <td class="name nowrap"><?php esc_html_e($item->name,'wpbookinghotel'); ?></td>
    <td class="image nowrap">
        <div class="img-box">
            <div>
                <img class="hotel-image" src="<?php echo (esc_attr(Factory::getRootUrlPlugin()))  ?>/<?php echo (esc_attr($item->image)); ?>" alt="<?php echo(isset($item->name)?$item->name:'hotel-image');?>" />
            </div>
        </div>
    </td>
</tr>
