<?= message_box('success'); ?>
<?= message_box('error'); ?>

<?php
$created = can_action_by_label('chart_of_accounts', 'created');
$edited = can_action_by_label('chart_of_accounts', 'edited');
$deleted = can_action_by_label('chart_of_accounts', 'deleted');
?>

<div class="space-y-4">
	<div class="rounded-2xl border border-border bg-card shadow-sm">		
		<div class="table-responsive p-4">
			<table class="table table-striped DataTables" id="DataTables" width="100%">
				<thead>
					<tr>
						<th><?= lang('code') ?></th>
						<th><?= lang('name') ?></th>
						<th><?= lang('type') ?></th>
						<th><?= lang('balance') ?></th>
						<th><?= lang('status') ?></th>
						<th class="col-options no-sort text-right"><?= lang('action') ?></th>
					</tr>
				</thead>
				<tbody></tbody>
			</table>
		</div>
	</div>
</div>

<script>
	list = base_url + "admin/accounting/chartOfAccountsList";
</script>
