<?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-category" name="list_delete_category_id[]"  value="<?php esc_html_e($item->id);?>" /></td>
    <td class="name nowrap" ><?php esc_html_e($item->name);?></td>
    <td class="image nowrap" >
        <img class="category-image" src="<?php esc_html_e(Factory::getRootUrlPlugin())  ?>/<?php esc_html_e($item->image);?>" alt="category-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="nowrap"><?php esc_attr_e('All','wpbookingpro')?></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-category"><i class="far fa-edit"></i><?php esc_attr_e('Edit','wpbookingpro')?></a></td>
</tr>

