feat: Implement order management with datatable display and updated forms
This commit is contained in:
@@ -76,13 +76,20 @@
|
||||
<!-- Global Select2 initialization -->
|
||||
<script>
|
||||
window.initSelect2 = function() {
|
||||
$(".select2.single__select").select2({
|
||||
allowClear: true,
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
$(".select2").each(function () {
|
||||
if (!$(this).hasClass('select2-hidden-accessible')) {
|
||||
$(this).select2({
|
||||
allowClear: false,
|
||||
width: "100%",
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
$(document).ready(function () {
|
||||
window.initSelect2();
|
||||
});
|
||||
|
||||
// Global ModalManager initialization
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
if (typeof ModalManager !== 'undefined') {
|
||||
@@ -99,7 +106,7 @@
|
||||
<x-modal-confirm-delete />
|
||||
|
||||
@stack('custom-scripts')
|
||||
<script type="text/javascript">
|
||||
<script type="text/javascript">
|
||||
var apiMedia = '{{ route('api.GetAllImage') }}';
|
||||
var apiUpload = '{{ route('media.upload') }}';
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user