<?php
$item = $this->item;
?>
<tr data-id="<?php esc_html_e($item->id); ?>">
    <td class="nowrap"><i class="fas fa-align-center"></i></td>
    <td class="nowrap"><input type="checkbox" class="checkbox-item-country" name="list_delete_country_id[]"  value="<?php esc_html_e($item->id); ?>" /></td>
    <td class="name nowrap"><?php esc_html_e($item->countryname); ?></td>
    <td class="name nowrap"><?php esc_html_e($item->countrycode); ?></td>
    <td class="name nowrap"><?php esc_html_e($item->code); ?></td>
    <td class="image nowrap">
        <img class="country-image" src="<?php esc_html_e(Factory::getRootUrlPlugin())  ?>/<?php esc_html_e($item->image); ?>" alt="country-image" />
    </td>
    <td class="nowrap">
		<?php if ($item->published == 1) { ?>
            <div class="published">
                <i class="fas fa-check-square" title="<?php esc_attr_e('Public','wpbookingpro') ?> "></i>
            </div>
		<?php } else { ?>
            <div class="unpublished">
                <i class="far fa-times-circle" title="<?php esc_attr_e('Not public','wpbookingpro') ?> "></i>
            </div>
		<?php } ?>
    </td>
    <td class="id nowrap"><?php esc_html_e($item->id); ?></td>
    <td class="nowrap"><a href="javascript:void(0)" data-id="<?php esc_html_e($item->id); ?>"
           class="btn btn-primary btn-edit-country"><i class="far fa-edit"></i> <?php esc_attr_e('Edit','wpbookingpro')?></a></td>
</tr>
