<?php
$datatable = true;
echo message_box('success');
echo message_box('error');
$created = can_action('4', 'created');
$deleted = can_action('4', 'deleted');

?>
<div class="space-y-4">
	<div class="rounded-2xl border border-border bg-card shadow-sm">
		<div class="p-6 space-y-4">
			<table class="w-full text-left text-sm DataTables" id="DataTables" width="100%">
				<thead class="text-xs uppercase text-muted-foreground">
					<tr>
						<?php if (!empty($deleted)) : ?>
							<th class="w-10"><input type="checkbox" id="select_all"></th>
						<?php endif; ?>

						<th class="py-2 px-3"><?= lang('employee_name') ?></th>
						<th class="py-2 px-3"><?= lang('termination_type') ?></th>
						<th class="py-2 px-3"><?= lang('notice_date') ?></th>
						<th class="py-2 px-3"><?= lang('termination_date') ?></th>
						<th class="py-2 px-3 text-right"><?= lang('action') ?></th>
					</tr>
				</thead>
				<tbody>
				</tbody>
			</table>
		</div>
	</div>
</div>

<script type="text/javascript">
	list = base_url + "admin/termination/terminationList";
</script>
