This commit is contained in:
RafficMohammed
2023-02-28 19:25:06 +05:30
parent 555b881753
commit 40809202df
8 changed files with 10 additions and 8 deletions

View File

@@ -117,7 +117,7 @@ class="active"
<ul class="todo-list">
@if($notifications)
@foreach($notifications->orderBy('created_at', 'desc')->paginate(10) as $notification)
@foreach($notifications->orderBy('created_at', 'desc')->simplePaginate() as $notification)
@if($notification->notification && $notification->notification->type && $notification->notification->type->type == 'registration')
@if($notification->is_read == 1)
<li class="task">
@@ -189,7 +189,7 @@ class="active"
</li>
@endif
{!!$notifications->paginate(10)->render()!!}
{!!$notifications->Simplepaginate(10)!!}
</ul>
</div>

View File

@@ -72,7 +72,7 @@ class="nav-link active"
</div>
<div class="card-body">
<?php
$user = App\User::where('role', '!=', 'user')->orderBy('id', 'ASC')->paginate(10);
$user = App\User::where('role', '!=', 'user')->orderBy('id', 'ASC')->simplePaginate(10);
?>
<!-- Agent table -->
<table class="table table-bordered dataTable" style="overflow:hidden;">

View File

@@ -501,7 +501,7 @@ if ($thread->title != "") {
<!-- ticket conversations -->
<?php
$conversations = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', $tickets->id)->orderBy('id', 'DESC')->paginate(10);
$conversations = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', $tickets->id)->orderBy('id', 'DESC')->simplePaginate(10);
$ij = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', $tickets->id)->first();
?>

View File

@@ -92,7 +92,7 @@ class = "nav-item active"
$encrypted_token = $encrypter->encrypt(csrf_token());
?>
<input id="token" type="hidden" value="{{$encrypted_token}}">
{!! Form::open(['action'=>'Client\helpdesk\FormController@postedForm','method'=>'post', 'enctype'=>'multipart/form-data']) !!}
{!! Form::open(['route'=>'client.form.post','method'=>'post', 'enctype'=>'multipart/form-data']) !!}
<article class="hentry">

View File

@@ -56,7 +56,7 @@
$encrypted_token = $encrypter->encrypt(csrf_token());
?>
<input id="token" type="hidden" value="{{$encrypted_token}}">
{!! Form::open(['action'=>'Client\helpdesk\FormController@postedForm','method'=>'post']) !!}
{!! Form::open(['route'=>'client.form.post','method'=>'post']) !!}
<div>
<div class="content-header">
<h4>Ticket {!! Form::submit(Lang::get('lang.send'),['class'=>'form-group btn btn-info pull-right'])!!}</h4>