Viewing file: index.blade.php (5.92 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE html> @php $siteDirection=isset(json_decode(get_settings('local_setting'))->direction)?json_decode(get_settings('local_setting'))->direction:'ltr'; @endphp <html lang="{{session()->get('locale')}}" dir="{{$siteDirection}}">
<head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>{{trans('layout.pos')}}</title> <!-- Favicon icon --> <link rel="icon" href="{{asset('uploads/'.json_decode(get_settings('site_setting'))->favicon)}}"> <link href="{{asset('vendor/datatables/css/jquery.dataTables.min.css')}}" rel="stylesheet"> <link rel="stylesheet" href="https://cdn.datatables.net/1.10.24/css/dataTables.bootstrap4.min.css"> <link rel="stylesheet" href="https://cdn.datatables.net/responsive/2.2.7/css/responsive.bootstrap4.min.css"> <link href="{{asset('vendor/bootstrap-select/dist/css/bootstrap-select.min.css')}}" rel="stylesheet">
<link href="{{asset('vendor/lineicons/2.0/LineIcons.css')}}" rel="stylesheet"> <link rel="stylesheet" href="{{asset("vendor/toastr/css/toastr.min.css")}}"> <link href="{{asset('css/style.css')}}" rel="stylesheet"> <link href="{{asset('css/custom.css')}}" rel="stylesheet"> <script> let countDataTable = ''; </script> <style> .table-responsive { display: block; width: 100%; overflow-x: hidden !important; -webkit-overflow-scrolling: touch; } </style> </head> <body class="{{$siteDirection}}" direction="{{$siteDirection}}"> @php $modules = modules_status('MultiRestaurant'); @endphp
<div class="container-fluid"> <div class="row page-titles mx-0"> <div class="col-12"> <div class="card mt-3"> <div class="card-body text-center"> <h4 class="order-count-down-title text-center mb-3"> Order Time Countdown Board </h4> <strong><em>{{ now()->format('l, F j, Y') }}</em></strong> </div> </div> </div> </div>
<div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-body"> <div class="table-responsive"> <div class="row"> <div class="col-9">
</div> <div class="col-3"> <select id="restaurantFilter" class="form-control"> <option value="">Select Restaurant</option> @foreach($restaurants as $restaurant) <option value="{{ $restaurant->id }}">{{ $restaurant->name }}</option> @endforeach </select> </div> </div> <table class="table dt-responsive nowrap w-100" id="countdownTable"> <thead> <tr> <th><strong>Order Time</strong></th> <th><strong>Order Number</strong></th> <th><strong>Table Name</strong></th> <th><strong>Remaining Time</strong></th> <th><strong>Status</strong></th> </tr> </thead> <tbody id="order_time_countdown_data"> </tbody> </table> </div> </div> </div> </div> </div>
</div> <script src="{{asset('front/js/popper.min.js')}}"></script> <script src="{{asset('vendor/global/global.min.js')}}"></script> <script src="{{asset('vendor/jquery-validation/jquery.validate.min.js')}}"></script> <script src="{{asset('vendor/bootstrap-select/dist/js/bootstrap-select.min.js')}}"></script>
<script src="{{asset("vendor/toastr/js/toastr.min.js")}}"></script>
<script src="{{asset("vendor/visibility/visibility.core.js")}}"></script> <script src="{{asset("vendor/visibility/visibility.timers.js")}}"></script> <script src="{{asset('vendor/datatables/js/jquery.dataTables.min.js')}}"></script>
<script src="https://cdn.datatables.net/responsive/2.2.7/js/dataTables.responsive.min.js"></script> <script src="{{ asset('js/order_time_count_down.js') }}"></script>
@php $site_setting=json_decode(get_settings('site_setting')) @endphp @if(auth()->check() && isset($site_setting) && isset($site_setting->live_notification) && $site_setting->live_notification=='enable') <script src="{{asset("js/notification-check.js")}}"></script> @endif
<!-- Toastr -->
@php $allErrors=''; @endphp
@if (isset($errors) && count($errors) > 0) @foreach ($errors->all() as $error) @php $allErrors.=$error.'<br/>' @endphp @endforeach <script> $(function () { toastr.error('{!! clean($allErrors) !!}', 'Failed', {timeOut: 5000}); });
</script> @endif @if(session()->has('success')) <script> $(function () { toastr.info('{{session()->get('success')}}', 'Success', { positionClass: "toast-top-right", timeOut: 5e3, closeButton: !0, debug: !1, newestOnTop: !0, progressBar: !0, preventDuplicates: !0, onclick: null, showDuration: "300", hideDuration: "1000", extendedTimeOut: "1000", showEasing: "swing", hideEasing: "linear", showMethod: "fadeIn", hideMethod: "fadeOut", tapToDismiss: !1 }); });
</script> @endif
</script> </body>
</html>
|