<?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-invoice" name="list_delete_invoice_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="invoice-image" src="<?php esc_html_e(Factory::getRootUrlPlugin()) ?>/<?php esc_html_e($item->image);?>" alt="invoice-image" /></td>
    <td class="nowrap">
        <?php if($item->published==1){ ?>
            <div class="published">
                <i class="fas fa-check-square" title="Public"></i>
            </div>
        <?php }else{ ?>
            <div class="unpublished">
                <i class="far fa-times-circle" title="Not-Public"></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-invoice"><i class="far fa-edit"></i><?php esc_attr_e('Edit','wpbookingpro')?></a></td>
</tr>

