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

@@ -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>