<?php
$item = $this->item;
?>
<tr data-id="<?php esc_html_e($item->id) ?>">
    <td class="nowrap">
        <div class="selected" style="display: none"><i class="fas fa-check-circle"></i></div>
        <input type="checkbox" class="delete-payment" name="list_delete_payment_id[]" value="<?php esc_html_e($item->id) ?>" />
    </td>
    <td class="nowrap"><i class="fas fa-align-center"></i></td>
    <td class="name nowrap"><?php esc_html_e($item->name) ?></td>
    <td class="image nowrap"><img class="payment-image" src="<?php esc_html_e(Factory::getRootUrlPlugin()) ?>/<?php esc_html_e($item->image) ?>" alt="payment-image" /></td>
    <td class="name nowrap"><?php esc_html_e($item->type) ?></td>
    <td class="id nowrap"><?php esc_html_e($item->id) ?></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">
        <a href="javascript:void(0)" data-id="<?php esc_html_e($item->id) ?>"
           class="btn btn-primary btn-edit-payment"><i class="far fa-edit"></i><?php esc_attr_e('Edit','wpbookingpro') ?> </a>
    </td>
</tr>
