<?php
$item = (object)$this->item;
?>
<tr data-id="<?php esc_html_e($item->id) ?>">
    <td class="nowrap"><input type="checkbox" class="checkbox-item" name="list_delete_package_id[]"  value="<?php esc_html_e($item->id) ?>" /></td>
    <td class="name nowrap"><?php esc_html_e($item->name); ?></td>
    <td class="event-item nowrap">
		<?php if (count((array)$item->list_event)) { ?>
			<?php foreach ((array)$item->list_event as $event) { ?>
                <span class="badge badge-info"><?php esc_html_e($event->name) ?></span>
			<?php } ?>
		<?php } ?>
    </td>

    <td class="nowrap"><a href="javascript:void(0)" data-id="<?php esc_html_e($item->id) ?>"
           class="btn btn-primary btn-edit-package"><i class="far fa-edit"></i> <?php esc_attr_e('Edit','wpbookingpro') ?></a></td>
</tr>