seeder-migration-issues

This commit is contained in:
RafficMohammed
2023-01-30 14:23:34 +05:30
parent 4d918c722f
commit 2ec836b447
3628 changed files with 116006 additions and 187 deletions

View File

@@ -205,7 +205,7 @@ class="active"
</div>
<div class="row">
{{-- Event fire --}}
<?php Event::fire(new App\Events\ClientTicketForm()); ?>
<?php \Illuminate\Support\Facades\Event::dispatch(new App\Events\ClientTicketForm()); ?>
</div>
</div>
</div>

View File

@@ -34,5 +34,5 @@
</div>
@endforeach
@include('themes.default1.agent.helpdesk.filters.tags')
<?php Event::fire(new App\Events\TicketDetailTable($TicketData)); ?>
<?php \Illuminate\Support\Facades\Event::dispatch(new App\Events\TicketDetailTable($TicketData)); ?>

View File

@@ -133,7 +133,7 @@ if ($thread->title != "") {
<div class="mb-3">
<!-- <button type="button" class="btn btn-default"><i class="fa fa-edit" style="color:green;"> </i> Edit</button> -->
<?php
Event::fire(new \App\Events\TicketBoxHeader($user->id));
\Illuminate\Support\Facades\Event::dispatch(new \App\Events\TicketBoxHeader($user->id));
if ($group->can_edit_ticket == 1) {
?>
@@ -149,7 +149,7 @@ if ($thread->title != "") {
@endif
<?php Event::fire('show-add-event-btn', []); ?>
<?php \Illuminate\Support\Facades\Event::dispatch('show-add-event-btn', []); ?>
<a href="{{url('ticket/print/'.$tickets->id)}}" target="_blank" class="btn btn-default btn-tool btn-sm"><i class="fas fa-print" > </i> {!! Lang::get('lang.generate_pdf') !!}</a>
<div class="btn-group">
@@ -197,7 +197,7 @@ if ($thread->title != "") {
<?php if ($group->can_ban_email == 1) { ?>
<a href="#" class="dropdown-item" data-toggle="modal" data-target="#banemail"><i class="fas fa-ban" style="color:red;"></i> {!! Lang::get('lang.ban_email') !!}</a>
<?php
\Event::fire('ticket.details.more.list',[$tickets]);
\Illuminate\Support\Facades\Event::dispatch('ticket.details.more.list',[$tickets]);
}
?> </div>
</div>
@@ -305,13 +305,13 @@ if ($thread->title != "") {
<tr><td><b>{!! Lang::get('lang.help_topic') !!}:</b></td> <?php $help_topic = App\Model\helpdesk\Manage\Help_topic::where('id', '=', $tickets->help_topic_id)->first(); ?><td title="{{$help_topic->topic}}">{{$help_topic->topic}}</td></tr>
<tr><td><b>{!! Lang::get('lang.last_message') !!}:</b></td> <td>{{Str::limit($username,30)}}</td></tr>
<tr><td><b>{!! Lang::get('lang.organization') !!}:</b></td> <td>{!!$LastResponse->getOrgWithLink()!!}</td></tr>
<?php Event::fire(new App\Events\TicketDetailTable($TicketData)); ?>
<?php \Illuminate\Support\Facades\Event::dispatch(new App\Events\TicketDetailTable($TicketData)); ?>
</div>
</table>
</div>
</div>
<?php Event::fire('ticket.timeline.marble',[$TicketData]);?>
<?php \Illuminate\Support\Facades\Event::dispatch('ticket.timeline.marble',[$TicketData]);?>
<div id="gifshow" style="display:none" class="text-center">
<img src="{{asset("lb-faveo/media/images/gifloader.gif")}}">
</div> <!-- added 05/05/2016-->
@@ -329,7 +329,7 @@ if ($thread->title != "") {
<ul class="nav nav-tabs">
<li class="nav-item"><a class="nav-link active" href="#General" data-toggle="tab" style="color:#27C116;" id="aa"><i class="fa fa-reply-all"> </i> {!! Lang::get('lang.reply') !!}</a></li>
<li class="nav-item"><a class="nav-link" href="#Internal" data-toggle="tab" style="color:#0495FF;" id="bb"><i class="fa fa-file-text"> </i> {!! Lang::get('lang.internal_notes') !!}</a></li>
<?php Event::fire('timeline.tab.list',[$TicketData]); ?>
<?php \Illuminate\Support\Facades\Event::dispatch('timeline.tab.list',[$TicketData]); ?>
<!-- <li><a href="#Reply" data-toggle="tab" style="color:orange;"><i class="fa fa-mail-forward" > </i> Forward</a></li> -->
</ul>
@@ -392,7 +392,7 @@ if ($thread->title != "") {
</div>
</div>
</div>
<?php Event::fire(new App\Events\TimeLineFormEvent($tickets)); ?>
<?php \Illuminate\Support\Facades\Event::dispatch(new App\Events\TimeLineFormEvent($tickets)); ?>
<div class="form-group">
<div class="row">
<div class="col-md-2">
@@ -495,7 +495,7 @@ if ($thread->title != "") {
{!!Form::close()!!}
</div>
</div>
<?php Event::fire('timeline.tab.content',[$tickets]); ?>
<?php \Illuminate\Support\Facades\Event::dispatch('timeline.tab.content',[$tickets]); ?>
</div>
</div>
@@ -759,7 +759,7 @@ if ($thread->title != "") {
<div class="timeline-footer" style="margin-bottom:-5px">
@if(!$conversation->is_internal)
@if($conversation->user_id != null)
<?php Event::fire(new App\Events\Timeline($conversation, $role)); ?>
<?php \Illuminate\Support\Facades\Event::dispatch(new App\Events\Timeline($conversation, $role)); ?>
@endif
@endif
@@ -916,7 +916,7 @@ if ($thread->title != "") {
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<?php }
\Event::fire('ticket.detail.modelpopup',[$tickets]);
\Illuminate\Support\Facades\Event::dispatch('ticket.detail.modelpopup',[$tickets]);
?>
<!-- Change Owner Modal -->
<div class="modal fade" id="ChangeOwner">
@@ -1072,7 +1072,7 @@ if ($thread->title != "") {
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<?php \Event::fire('show-add-calendar-model', ['id' => $tickets->id])?>
<?php \Illuminate\Support\Facades\Event::dispatch('show-add-calendar-model', ['id' => $tickets->id])?>
<!-- add or search user Modal -->
<div class="modal fade" id="addccc">
<div class="modal-dialog">

View File

@@ -101,7 +101,7 @@
<div class="wrapper">
<?php
$replacetop = \Event::fire('service.desk.agent.topbar.replace', []);
$replacetop = \Illuminate\Support\Facades\Event::dispatch('service.desk.agent.topbar.replace', []);
if (count($replacetop) == 0) {
$replacetop = 0;
@@ -109,7 +109,7 @@
$replacetop = $replacetop[0];
}
$replaceside = \Event::fire('service.desk.agent.sidebar.replace', []);
$replaceside = \Illuminate\Support\Facades\Event::dispatch('service.desk.agent.sidebar.replace', []);
if (count($replaceside) == 0) {
$replaceside = 0;
@@ -166,10 +166,10 @@
</li>
@endif
<?php \Event::fire('calendar.topbar', []); ?>
<?php \Illuminate\Support\Facades\Event::dispatch('calendar.topbar', []); ?>
</ul>
@else
<?php \Event::fire('service.desk.agent.topbar', []); ?>
<?php \Illuminate\Support\Facades\Event::dispatch('service.desk.agent.topbar', []); ?>
@endif
<ul class="navbar-nav ml-auto">
@@ -490,7 +490,7 @@
@endforeach
@else
<?php \Event::fire('service.desk.agent.sidebar', []); ?>
<?php \Event::dispatch('service.desk.agent.sidebar', []); ?>
@endif
</ul>
</nav>
@@ -571,7 +571,7 @@
</nav>
</div>
@endif
<?php \Event::fire('service.desk.agent.topsubbar', []); ?>
<?php \Event::dispatch('service.desk.agent.topsubbar', []); ?>
<!-- /.tab-pane -->
</div>
<!-- Content Header (Page header) -->
@@ -584,7 +584,7 @@
@endif
<?php \Event::fire('service.desk.agent.topsubbar', []); ?>
<?php \Illuminate\Support\Facades\Event::dispatch('service.desk.agent.topsubbar', []); ?>
</div>
</div>
</div>
@@ -597,7 +597,7 @@
</div><!-- /.col -->
<div class="col-sm-6">
{!! Breadcrumbs::renderIfExists() !!}
{!! Breadcrumbs::render() !!}
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.container-fluid -->
@@ -806,8 +806,8 @@
</script>
<script>
</script>
<?php Event::fire('show.calendar.script', []); ?>
<?php Event::fire('load-calendar-scripts', []); ?>
<?php \Illuminate\Support\Facades\Event::dispatch('show.calendar.script', []); ?>
<?php \Illuminate\Support\Facades\Event::dispatch('load-calendar-scripts', []); ?>
@yield('FooterInclude')
</body>
</html>

View File

@@ -66,7 +66,7 @@
}
$replacetop = 0;
$replacetop = \Event::fire('service.desk.agent.topbar.replace', []);
$replacetop = \Illuminate\Support\Facades\Event::dispatch('service.desk.agent.topbar.replace', []);
if (count($replacetop) == 0) {
$replacetop = 0;
@@ -74,7 +74,7 @@
$replacetop = $replacetop[0];
}
$replaceside = 0;
$replaceside = \Event::fire('service.desk.agent.sidebar.replace', []);
$replaceside = \Illuminate\Support\Facades\Event::dispatch('service.desk.agent.sidebar.replace', []);
if (count($replaceside) == 0) {
$replaceside = 0;
@@ -105,10 +105,10 @@
@if(Auth::user()->role == 'admin')
<li @yield('Report')><a href="{{URL::route('report.index')}}" onclick="clickReport(event);">{!! Lang::get('lang.report') !!}</a></li>
@endif
<?php \Event::fire('calendar.topbar', []); ?>
<?php \Illuminate\Support\Facades\Event::dispatch('calendar.topbar', []); ?>
</ul>
@else
<?php \Event::fire('service.desk.agent.topbar', []); ?>
<?php \Illuminate\Support\Facades\Event::dispatch('service.desk.agent.topbar', []); ?>
@endif
<?php $noti = \App\Model\helpdesk\Notification\UserNotification::where('user_id', '=', Auth::user()->id)->where('is_read', '0')->get(); ?>
<ul class="nav navbar-nav navbar-right">
@@ -388,7 +388,7 @@
}
?>
@else
<?php \Event::fire('service.desk.agent.sidebar', []); ?>
<?php \Illuminate\Support\Facades\Event::dispatch('service.desk.agent.sidebar', []); ?>
@endif
</ul>
</section>
@@ -444,13 +444,13 @@
</div>
@endif
@endif
<?php \Event::fire('service.desk.agent.topsubbar', []); ?>
<?php \Illuminate\Support\Facades\Event::dispatch('service.desk.agent.topsubbar', []); ?>
</div>
</div>
</div>
<section class="content-header">
@yield('PageHeader')
{!! Breadcrumbs::renderIfExists() !!}
{!! Breadcrumbs::render() !!}
</section>
<!-- Main content -->
<section class="content">
@@ -613,8 +613,8 @@
});
</script>-->
<?php Event::fire('show.calendar.script', []); ?>
<?php Event::fire('load-calendar-scripts', []); ?>
<?php \Illuminate\Support\Facades\Event::dispatch('show.calendar.script', []); ?>
<?php \Illuminate\Support\Facades\Event::dispatch('load-calendar-scripts', []); ?>
@yield('FooterInclude')
</body>
</html>