Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/Modules/Customer/resources/views/all_customer.blade.php
Назад
@extends('admin.master_layout') @section('title') <title>{{ __('All Customers') }}</title> @endsection @section('admin-content') <div class="main-content"> <section class="section"> <x-admin.breadcrumb title="{{ __('All Customer') }}" :list="[ __('Dashboard') => route('admin.dashboard'), __('All Customer') => '#', ]" /> <div class="section-body"> <div class="row"> {{-- Search filter --}} <div class="col-12"> <div class="card"> <div class="card-body p-0"> <form action="{{ route('admin.all-customers') }}" method="GET" onchange="$(this).trigger('submit')" class="card-body pb-1"> <div class="row"> <div class="col-lg-4 col-md-6 form-group mb-3"> <x-admin.form-input name="keyword" placeholder="{{ __('Search') }}" value="{{ request()->get('keyword') }}" /> </div> <div class="col-lg-4 col-md-6 form-group mb-3"> <x-admin.form-select name="verified" id="verified" class="form-select"> <x-admin.select-option value="" text="{{ __('Select Verified') }}" /> <x-admin.select-option :selected="request('verified') == '1'" value="1" text="{{ __('Verified') }}" /> <x-admin.select-option :selected="request('verified') == '0'" value="0" text="{{ __('Non-verified') }}" /> </x-admin.form-select> </div> <div class="col-lg-4 col-md-6 form-group mb-3"> <x-admin.form-select name="banned" id="banned" class="form-select"> <x-admin.select-option value="" text="{{ __('Select Banned') }}" /> <x-admin.select-option :selected="request('banned') == '1'" value="1" text="{{ __('Banned') }}" /> <x-admin.select-option :selected="request('banned') == '0'" value="0" text="{{ __('Non-banned') }}" /> </x-admin.form-select> </div> <div class="col-lg-4 col-md-6 form-group mb-3"> <x-admin.form-select name="order_by" id="order_by" class="form-select"> <x-admin.select-option value="" text="{{ __('Order By') }}" /> <x-admin.select-option :selected="request('order_by') == '1'" value="1" text="{{ __('ASC') }}" /> <x-admin.select-option :selected="request('order_by') == '0'" value="0" text="{{ __('DESC') }}" /> </x-admin.form-select> </div> <div class="col-lg-4 col-md-6 form-group mb-3"> <x-admin.form-select name="par-page" id="par-page" class="form-select"> <x-admin.select-option value="" text="{{ __('Per Page') }}" /> <x-admin.select-option :selected="request('par-page') == '5'" value="5" text="{{ __('5') }}" /> <x-admin.select-option :selected="request('par-page') == '10'" value="10" text="{{ __('10') }}" /> <x-admin.select-option :selected="request('par-page') == '25'" value="25" text="{{ __('25') }}" /> <x-admin.select-option :selected="request('par-page') == '50'" value="50" text="{{ __('50') }}" /> <x-admin.select-option :selected="request('par-page') == '100'" value="100" text="{{ __('100') }}" /> <x-admin.select-option :selected="request('par-page') == 'all'" value="all" text="{{ __('All') }}" /> </x-admin.form-select> </div> </div> </form> </div> </div> </div> <div class="col-12"> <div class="card"> <div class="card-body"> <div class="table-responsive table-invoice"> <table class="table table-striped"> <thead> <tr> <th>{{ __('SN') }}</th> <th>{{ __('Name') }}</th> <th>{{ __('Email') }}</th> <th>{{ __('Joined at') }}</th> <th>{{ __('Status') }}</th> <th>{{ __('Action') }}</th> </tr> </thead> <tbody> @forelse ($users as $index => $user) <tr> <td>{{ ++$index }}</td> <td>{{ html_decode($user->name) }}</td> <td>{{ html_decode($user->email) }}</td> <td>{{ formattedDateTime($user->created_at) }}</td> <td> @if ($user->email_verified_at) @if ($user->is_banned == 'no') <span class="badge bg-success">{{ __('Active') }}</span> @else <b class="badge bg-danger">{{ __('Banned') }}</b> @endif @else <span class="badge bg-warning">{{ __('Not verified') }}</span> @endif </td> <td> <a href="{{ route('admin.customer-show', $user->id) }}" class="btn btn-success btn-sm"><i class="fas fa-eye"></i></a> <x-admin.delete-button :id="$user->id" onclick="deleteData" /> </td> </tr> @empty <x-empty-table :name="__('Customer')" route="" create="no" :message="__('No data found!')" colspan="6" /> @endforelse </tbody> </table> </div> @if (request()->get('par-page') !== 'all') <div class="float-right"> {{ $users->onEachSide(0)->links() }} </div> @endif </div> </div> </div> </div> </div> </section> </div> <x-admin.delete-modal /> @push('js') <script> function deleteData(id) { $("#deleteForm").attr("action", '{{ url('/admin/customer-delete/') }}' + "/" + id) } </script> @endpush @endsection
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка