summaryrefslogtreecommitdiff
path: root/public/app/views/components/header_includes.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/app/views/components/header_includes.php')
-rw-r--r--public/app/views/components/header_includes.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/public/app/views/components/header_includes.php b/public/app/views/components/header_includes.php
index c096bd5..9e1d239 100644
--- a/public/app/views/components/header_includes.php
+++ b/public/app/views/components/header_includes.php
@@ -6,6 +6,10 @@
if (!isset($no_dataTables)) {
$no_dataTables = false;
}
+
+ if (!isset($no_pdfmake)) {
+ $no_pdfmake = false;
+ }
?>
<!-- FONTS and LIBRARY CSS (self-hosted)
@@ -20,8 +24,10 @@
<!-- bootstrap -->
<link rel="stylesheet" href="/assets/css/bootstrap-5.3.0/css/bootstrap.min.css">
+<?php if (!$no_dataTables) : ?>
<!-- datatables css -->
-<link rel="stylesheet" href="/assets/js/DataTables/datatables.min.css">
+ <link rel="stylesheet" href="/assets/js/DataTables/datatables.min.css">
+<?php endif; ?>
<!-- select2 css -->
<link rel="stylesheet" href="/assets/js/select2-4.1.0-rc0/css/select2.min.css">
@@ -58,7 +64,7 @@
<?php if (!$no_dataTables) : ?>
<!-- DataTables js -->
-<script src="/assets/js/DataTables/datatables.min.js"></script>
+ <script src="/assets/js/DataTables/datatables.min.js"></script>
<?php endif; ?>
<!-- select2-4.1.0-rc.0 js -->