Файловый менеджер - Редактировать - /home/clickysoft/public_html/calvary-p2.clickysoft.net/resources/views/admin/event-ticket/index.blade.php
Назад
@extends('admin.layouts.master') @section('title', 'Event Category') @push('admin-styles') <link rel="stylesheet" href="{{asset('assets/admin/vendor/libs/datatables-bs5/datatables.bootstrap5.css')}}" /> <link rel="stylesheet" href="{{asset('assets/admin/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.css')}}" /> @endpush @section('content') <div class="container-xxl flex-grow-1 container-p-y"> <div class="card"> <div class="card-header"> <h5 class="float-start">Event Categories</h5> <a href="{{route('event.ticket.add')}}" class="btn btn-primary float-end redirect-btn">Add</a> </div> <div class="card-datatable text-nowrap"> <div class="row"> <div class="col-md-12"> @include('partials.alert') </div> </div> <table id="custom_datatable" class="table table-bordered table-responsive"></table> </div> </div> </div> @endsection @push('admin-scripts') <script src="{{asset('assets/admin/vendor/libs/datatables/jquery.dataTables.js')}}"></script> <script src="{{asset('assets/admin/vendor/libs/datatables-bs5/datatables-bootstrap5.js')}}"></script> <script src="{{asset('assets/admin/vendor/libs/datatables-responsive/datatables.responsive.js')}}"></script> <script src="{{asset('assets/admin/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.js')}}"></script> <script src="{{asset('assets/admin/js/axios.min.js')}}"></script> <script src="{{asset('assets/admin/js/sweetalert.min.js')}}"></script> <script> $(function() { $('#custom_datatable').DataTable({ "processing": true, "serverSide": true, "iDisplayLength": 50, "orderMulti": true, "scrollX": true, "ajax": "{{ route('manage.event.tickets') }}", "columns": [ { "data": "event_id", "title": "Event", "orderable": true, "searchable": true }, { "data": "user_id", "title": "User", "orderable": true, "searchable": true }, { "data": "coupon_id", "title": "Coupon", "orderable": false, "searchable": false }, { "data": "total_tickets", "title": "Total Tickets", "orderable": true, "searchable": false }, { "data": "total_price", "title": "Total Price", "orderable": false, "searchable": false }, { "data": "discount_amount", "title": "Discount Amount", "orderable": false, "searchable": false }, { "data": "total_amount_after_disc", "title": "Total Amount After Discount", "orderable": false, "searchable": false }, { "data": "action", "title": "Actions", "orderable": false, "searchable": false, "width": "190px" }, ] }); }); </script> @endpush
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка