Файловый менеджер - Редактировать - /home/clickysoft/public_html/securebeans.clickysoft.net/resources/views/admin/accountManagers/index.blade.php
Назад
@extends('layouts.admin') @section('content') <div class="content"> @if (\Session::has('success')) <p class="alert alert-success"> {!! \Session::get('success') !!} </p> @endif @if (\Session::has('error')) <p class="alert alert-danger"> {!! \Session::get('error') !!} </p> @endif @if($errors->has('has_customer')) <p class="alert alert-danger"> {{$errors->first()}} </p> @endif @can('customer_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success float-right" href="{{ route('admin.account-managers.create') }}"> Add Sales Manager </a> </div> </div> @endcan <div class="card"> <div class="card-header"> Sales Managers </div> <div class="card-body"> <div class="table-responsive"> <table class="table table-bordered data-table "> <thead> <tr> <th>Id</th> <th>Name</th> <th>Email</th> <th>Contact</th> <th>Status</th> {{-- <th>Status</th> --}} <th width="100px">Action</th> </tr> </thead> <tbody> </table> </div> </div> </div> </div> @endsection @section('scripts') <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.0/jquery.validate.js"></script> <script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script> <script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js"></script> <script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script> <script type="text/javascript"> $(".table").css("width", "100%"); var selected_ids=[]; var check_id=0; let bit=0; $(function () { var table = $('.data-table').DataTable({ processing: false, serverSide: true, ordering:false, ajax: "{{ route('admin.account-managers.index') }}", columns: [ // {data: 'checkbox', name: 'checkbox[]', orderable: false, searchable: false}, {data: 'id', name: 'id'}, {data: 'name', name: 'name'}, {data: 'email', name: 'email'}, {data: 'phone_no', name: 'phone_no'}, {data: 'status', name: 'status'}, // {data: 'account_manager', name: 'account_manager'}, // {data: 'status', name: 'status'}, {data: 'action', name: 'action', orderable: false, searchable: false}, ] }); }); //delete permissions $(document).on('click','#delete',function(event){ var btn = $(this) btn.addClass('focus-none'); btn.prop('focus',false); Swal.fire({ title: 'Are you sure?', showDenyButton: true, showCancelButton: false, confirmButtonText: 'Yes', denyButtonText: `No`, focusDeny:true }).then((result) => { var id = $(this).attr('data-form-id'); if (result.isConfirmed) { document.getElementById('delete-customer'+id).submit(); } else if(result.isDenied) { } }) }) </script> @endsection
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка