<div class="table-wrap">
    <div class="table-responsive">
        <table class="table table-sm text-white">
            <tbody>
                <tr>
                    <td><?php echo $this->lang->line('title'); ?></td>
                    <td><?php echo $holiday->title; ?></td>
                    <td><?php echo $this->lang->line('bn_title'); ?></td>
                    <td><?php echo $holiday->bn_title; ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('from_date'); ?></td>
                    <td><?php echo date('M d, Y', strtotime($holiday->from_date)); ?></td>
                    <td><?php echo $this->lang->line('to_date'); ?></td>
                    <td><?php echo date('M d, Y', strtotime($holiday->to_date)); ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('is_view_on_web'); ?></td>
                    <td><?php echo $holiday->is_view_on_web ? '<span class="badge badge-success">' . $this->lang->line('yes') . '</span>' : '<span class="badge badge-danger">' . $this->lang->line('no') . '</span>'; ?></td>
                    <td><?php echo $this->lang->line('status'); ?></td>
                    <td><?php echo $holiday->status ? '<span class="badge badge-success">' . $this->lang->line('active') . '</span>' : '<span class="badge badge-danger">' . $this->lang->line('in_active') . '</span>'; ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('remark'); ?></td>
                    <td colspan="3"><?php echo $holiday->remark; ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('created_by'); ?></td>
                    <td><?php echo $holiday->created_by; ?></td>
                    <td><?php echo $this->lang->line('date'); ?></td>
                    <td><?php echo date('M d, Y h:ia', strtotime($holiday->created_at)); ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('modified_by'); ?></td>
                    <td><?php echo $holiday->modified_by; ?></td>
                    <td><?php echo $this->lang->line('date'); ?></td>
                    <td><?php echo $holiday->modified_by ? date('M d, Y h:ia', strtotime($holiday->modified_at)) : ''; ?>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</div>