<?php
/**
 * Enterprise HRM ERP System - Footer Template
 */

if (!defined('HRM_ACCESS')) {
    die('Direct access not allowed');
}
?>
            </div> <!-- End content-wrapper -->
        </main> <!-- End main-content -->
    </div> <!-- End app-container -->

    <script src="<?php echo BASE_URL; ?>/assets/js/main.js"></script>
    <?php if (isset($additionalScripts)): ?>
        <?php foreach ($additionalScripts as $script): ?>
            <script src="<?php echo BASE_URL; ?>/assets/js/<?php echo htmlspecialchars($script); ?>"></script>
        <?php endforeach; ?>
    <?php endif; ?>
</body>
</html>
<?php ob_end_flush(); ?>

