|
@ -354,13 +354,14 @@ if ($supplierIsNew and !empty($suppliers)) { |
|
|
$linkUrl = !$hasSupplier ? generateUrl() : (!$hasEvent ? generateUrl($supplier) : generateUrl($supplier, $event)); |
|
|
$linkUrl = !$hasSupplier ? generateUrl() : (!$hasEvent ? generateUrl($supplier) : generateUrl($supplier, $event)); |
|
|
|
|
|
|
|
|
?><!DOCTYPE html>
|
|
|
?><!DOCTYPE html>
|
|
|
<html lang="fr"> |
|
|
|
|
|
<head> |
|
|
|
|
|
<meta charset="UTF-8" /> |
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" /> |
|
|
|
|
|
<title><?php if ($hasSupplier) : ?><?php echo strip_tags($config[$supplier]['title']); ?><?php if (!$isConfig) : ?> — <?php echo strip_tags($config[$supplier]['subtitle']); ?><?php endif; ?><?php else : ?><?php echo DEFAULT_TITLE; ?><?php endif; ?></title>
|
|
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> |
|
|
|
|
|
<style type="text/css">.is-fixed { position: fixed; bottom: 0; width: 100%; box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5); }</style> |
|
|
|
|
|
|
|
|
<html lang="fr"> |
|
|
|
|
|
<head> |
|
|
|
|
|
<meta charset="UTF-8" /> |
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" /> |
|
|
|
|
|
<title><?php if ($hasSupplier) : ?><?php echo strip_tags($config[$supplier]['title']); ?><?php if (!$isConfig) : ?> — <?php echo strip_tags($config[$supplier]['subtitle']); ?><?php endif; ?><?php else : ?><?php echo DEFAULT_TITLE; ?><?php endif; ?></title>
|
|
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> |
|
|
|
|
|
<style type="text/css">.is-fixed { position: fixed; bottom: 0; width: 100%; box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5); }</style> |
|
|
|
|
|
<style type="text/css">.sortable th.dir-d::after{color:inherit;content:' \025BE'}.sortable th.dir-u::after{color:inherit;content:' \025B4'}</style> |
|
|
</head> |
|
|
</head> |
|
|
<body> |
|
|
<body> |
|
|
<header> |
|
|
<header> |
|
@ -624,7 +625,7 @@ $linkUrl = !$hasSupplier ? generateUrl() : (!$hasEvent ? generateUrl($supplier) |
|
|
<?php if (!empty($items)) : ?>
|
|
|
<?php if (!empty($items)) : ?>
|
|
|
<div class="col-12"> |
|
|
<div class="col-12"> |
|
|
<div class="table-responsive"> |
|
|
<div class="table-responsive"> |
|
|
<table class="table table-striped table-hover align-middle"> |
|
|
|
|
|
|
|
|
<table class="table table-striped table-hover align-middle sortable"> |
|
|
<thead> |
|
|
<thead> |
|
|
<tr> |
|
|
<tr> |
|
|
<th scope="col"> |
|
|
<th scope="col"> |
|
@ -635,7 +636,7 @@ $linkUrl = !$hasSupplier ? generateUrl() : (!$hasEvent ? generateUrl($supplier) |
|
|
Choix |
|
|
Choix |
|
|
</th> |
|
|
</th> |
|
|
<?php endif; ?>
|
|
|
<?php endif; ?>
|
|
|
<th scope="col"> |
|
|
|
|
|
|
|
|
<th scope="col" class="no-sort"> |
|
|
|
|
|
|
|
|
</th> |
|
|
</th> |
|
|
</tr> |
|
|
</tr> |
|
@ -748,6 +749,9 @@ $linkUrl = !$hasSupplier ? generateUrl() : (!$hasEvent ? generateUrl($supplier) |
|
|
ClassicEditor.create(element).catch(error => { console.error(error); }); |
|
|
ClassicEditor.create(element).catch(error => { console.error(error); }); |
|
|
}); |
|
|
}); |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
<?php else : ?>
|
|
|
|
|
|
<script>document.addEventListener("click",function(b){function n(a,e){a.className=a.className.replace(u,"")+e}function p(a){return a.getAttribute("data-sort")||a.innerText}var u=/ dir-(u|d) /,c=/\bsortable\b/;b=b.target;if("TH"===b.nodeName)try{var q=b.parentNode,f=q.parentNode.parentNode;if(c.test(f.className)){var g,d=q.cells;for(c=0;c<d.length;c++)d[c]===b?g=c:n(d[c],"");d=" dir-d ";-1!==b.className.indexOf(" dir-d ")&&(d=" dir-u ");n(b,d);var h=f.tBodies[0],k=[].slice.call(h.rows,0),r=" dir-u "===d;k.sort(function(a, |
|
|
|
|
|
e){var l=p((r?a:e).cells[g]),m=p((r?e:a).cells[g]);return isNaN(l-m)?l.localeCompare(m):l-m});for(var t=h.cloneNode();k.length;)t.appendChild(k.splice(0,1)[0]);f.replaceChild(t,h)}}catch(a){}});</script> |
|
|
<?php endif; ?>
|
|
|
<?php endif; ?>
|
|
|
<script> |
|
|
<script> |
|
|
document.addEventListener('DOMContentLoaded', function () { |
|
|
document.addEventListener('DOMContentLoaded', function () { |
|
|