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

<?php
$created = can_action('153', 'created');
$edited = can_action('153', 'edited');
$deleted = can_action('153', '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('reference_no') ?></th>
						<th><?= lang('related_to') ?></th>
						<th><?= lang('return_stock_date') ?></th>
						<th><?= lang('due_amount') ?></th>
						<th><?= lang('status') ?></th>
						<?php if (!empty($edited) || !empty($deleted)) { ?>
						<th class="col-options no-sort text-right"><?= lang('action') ?></th>
						<?php } ?>
					</tr>
				</thead>
				<tbody></tbody>
			</table>
		</div>
	</div>
</div>

<script>
	list = base_url + "admin/return_stock/return_stockList";
</script>
