<div class="table-wrap">
    <div class="table-responsive">
        <table class="table table-sm text-white">
            <tbody>
                <tr>
                    <td width="20%"><?php echo $this->lang->line('department'); ?> <?php echo $this->lang->line('name'); ?></td>
                    <td width="30%"><?php echo $test->department; ?></td>
                    <td width="20%"><?php echo $this->lang->line('group'); ?></td>
                    <td width="30%"><?php echo $test->group; ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('name'); ?></td>
                    <td><?php echo $test->name; ?></td>
                    <td><?php echo $this->lang->line('code'); ?></td>
                    <td><?php echo $test->code; ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('room_no'); ?></td>
                    <td><?php echo $test->room_no; ?></td>
                    <td><?php echo $this->lang->line('specimen'); ?></td>
                    <td><?php echo $test->specimen; ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('rate'); ?></td>
                    <td><?php echo $test->rate; ?></td>
                    <td><?php echo $this->lang->line('special'); ?> <?php echo $this->lang->line('discount'); ?></td>
                    <td><?php echo $test->special_discount; ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('mbbs'); ?></td>
                    <td><?php echo $test->mbbs; ?></td>
                    <td><?php echo $this->lang->line('vd'); ?></td>
                    <td><?php echo $test->vd; ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('emp'); ?></td>
                    <td><?php echo $test->emp; ?></td>
                    <td><?php echo $this->lang->line('corporate'); ?></td>
                    <td><?php echo $test->corporate; ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('tube'); ?></td>
                    <td><?php echo $test->tube; ?></td>
                    <td><?php echo $this->lang->line('needle'); ?></td>
                    <td><?php echo $test->needle; ?></td>
                </tr>
                <tr>
                    <td><?php echo $this->lang->line('status'); ?></td>
                    <td><?php echo $test->status ? '<span class="badge badge-success">' . $this->lang->line('active') . '</span>' : '<span class="badge badge-danger">' . $this->lang->line('in_active') . '</span>'; ?></td>
                    <td><?php echo $this->lang->line('remark'); ?></td>
                    <td><?php echo $test->note; ?></td>
                </tr>
                <tr>
					<td><?php echo $this->lang->line('created_by'); ?></td>
					<td><?php echo $test->created_by; ?></td>
					<td><?php echo $this->lang->line('date'); ?></td>
					<td><?php echo date('d F, Y h:i A', strtotime($test->created_at)); ?></td>
				</tr>
				<?php if ($this->session->userdata('role_id') == SUPER_ADMIN) { ?>
					<tr>
						<td><?php echo $this->lang->line('modified_by'); ?></td>
						<td><?php echo $test->modified_by; ?></td>
						<td><?php echo $this->lang->line('date'); ?></td>
						<td><?php echo $test->modified_by ? date('d F, Y h:i A', strtotime($test->modified_at)) : ''; ?>
						</td>
					</tr>
				<?php } ?>
            </tbody>
        </table>
    </div>
</div>