Updates
This commit is contained in:
@@ -132,14 +132,12 @@ class="active"
|
||||
<!-- phone -->
|
||||
<div class="col-xs-3 form-group {{ $errors->has('phone_number') ? 'has-error' : '' }}">
|
||||
{!! Form::label('phone_number',Lang::get('lang.phone')) !!}
|
||||
<!-- {!! Form::text('phone_number',null,['class' => 'form-control']) !!} -->
|
||||
{!! Form::input('number','phone_number',null,['class' => 'form-control', 'id' => 'phone_number']) !!}
|
||||
{!! Form::text('phone_number',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<!-- Mobile -->
|
||||
<div class="col-xs-3 form-group {{ $errors->has('mobile') ? 'has-error' : '' }}">
|
||||
{!! Form::label('mobile',Lang::get('lang.mobile_number')) !!}@if($send_otp->status ==1)<span class="text-red"> *</span>@endif
|
||||
<!-- {!! Form::text('mobile',null,['class' => 'form-control']) !!} -->
|
||||
{!! Form::input('number','mobile',null,['class' => 'form-control', 'id' => 'mobile']) !!}
|
||||
{!! Form::input('number', 'mobile',null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
@@ -187,11 +185,14 @@ class="active"
|
||||
{!! Form::label('assign_group',Lang::get('lang.assigned_group')) !!} <span class="text-red"> *</span>
|
||||
{!!Form::select('group',[''=>Lang::get('lang.select_a_group'),Lang::get('lang.groups')=>$groups->lists('name','id')->toArray()],null,['class' => 'form-control select']) !!}
|
||||
</div>
|
||||
<!-- primary dept -->
|
||||
|
||||
<!-- primary department -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('primary_department') ? 'has-error' : '' }}">
|
||||
{!! Form::label('primary_dpt',Lang::get('lang.primary_department')) !!} <span class="text-red"> *</span>
|
||||
{!! Form::select('primary_department', [''=>Lang::get('lang.select_a_department'),Lang::get('lang.departments')=>$departments->lists('name','id')->toArray()],null,['class' => 'form-control select']) !!}
|
||||
{!! Form::label('primary_dpt', Lang::get('lang.primary_department')) !!} <span class="text-red"> *</span>
|
||||
|
||||
{!!Form::select('primary_department', [''=>Lang::get('lang.select_a_department'), Lang::get('lang.departments')=>$departments->lists('name','id')->toArray()],'',['class' => 'form-control select']) !!}
|
||||
</div>
|
||||
|
||||
<!-- timezone -->
|
||||
<div class="col-xs-4 form-group {{ $errors->has('agent_time_zone') ? 'has-error' : '' }}">
|
||||
{!! Form::label('agent_tzone',Lang::get('lang.agent_time_zone')) !!} <span class="text-red"> *</span>
|
||||
@@ -218,4 +219,14 @@ class="active"
|
||||
</div>
|
||||
</div>
|
||||
{!!Form::close()!!}
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
//Initialize Select2 Elements
|
||||
$(".select2").select2();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
@stop
|
||||
@@ -155,8 +155,7 @@ class="active"
|
||||
|
||||
{!! Form::label('phone_number',Lang::get('lang.phone')) !!}
|
||||
|
||||
<!-- {!! Form::text('phone_number',null,['class' => 'form-control']) !!} -->
|
||||
{!! Form::input('number','phone_number',null,['class' => 'form-control', 'id' => 'phone_number']) !!}
|
||||
{!! Form::text('phone_number',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
@@ -164,9 +163,8 @@ class="active"
|
||||
<div class="col-xs-3 form-group {{ $errors->has('mobile') ? 'has-error' : '' }}">
|
||||
|
||||
{!! Form::label('mobile',Lang::get('lang.mobile_number')) !!}
|
||||
{!! Form::input('number','mobile',null,['class' => 'form-control', 'id' => 'mobile']) !!}
|
||||
|
||||
<!-- {!! Form::text('mobile',null,['class' => 'form-control']) !!} -->
|
||||
{!! Form::input('number', 'mobile',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -29,7 +29,8 @@ class="active"
|
||||
@section('content')
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{!! Lang::get('lang.list_of_agents') !!} </h2><a href="{{route('agents.create')}}" class="btn btn-primary pull-right">{!! Lang::get('lang.create_an_agent') !!}</a></div>
|
||||
<h2 class="box-title">{!! Lang::get('lang.list_of_agents') !!} </h2><a href="{{route('agents.create')}}" class="btn btn-primary pull-right">
|
||||
<span class="glyphicon glyphicon-plus"></span> {!! Lang::get('lang.create_an_agent') !!}</a></div>
|
||||
<div class="box-body table-responsive">
|
||||
<?php
|
||||
$user = App\User::where('role', '!=', 'user')->orderBy('id', 'ASC')->paginate(10);
|
||||
|
||||
@@ -30,7 +30,7 @@ class="active"
|
||||
@section('content')
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{!! Lang::get('lang.list_of_departments') !!}</h2><a href="{{route('departments.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_a_department')}}</a></div>
|
||||
<h2 class="box-title">{!! Lang::get('lang.list_of_departments') !!}</h2><a href="{{route('departments.create')}}" class="btn btn-primary pull-right"><span class="glyphicon glyphicon-plus"></span> {{Lang::get('lang.create_a_department')}}</a></div>
|
||||
<div class="box-body table-responsive ">
|
||||
<!-- check whether success or not -->
|
||||
@if(Session::has('success'))
|
||||
|
||||
@@ -31,7 +31,7 @@ class="active"
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{!! Lang::get('lang.groups') !!}</h2><a href="{{route('groups.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_group')}}</a></div>
|
||||
<h2 class="box-title">{!! Lang::get('lang.groups') !!}</h2><a href="{{route('groups.create')}}" class="btn btn-primary pull-right"><span class="glyphicon glyphicon-plus"></span> {{Lang::get('lang.create_group')}}</a></div>
|
||||
<div class="box-body table-responsive">
|
||||
<!-- check whether success or not -->
|
||||
@if(Session::has('success'))
|
||||
|
||||
@@ -61,6 +61,7 @@ class="active"
|
||||
<!-- team lead -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('team_lead') ? 'has-error' : '' }}">
|
||||
{!! Form::label('team_lead',Lang::get('lang.team_lead')) !!}
|
||||
<?php $user = App\User::where('role', 'admin')->orWhere('role', 'agent')->get(); ?>
|
||||
{!! Form::select('team_lead',[''=>Lang::get('lang.select_a_team_lead'), Lang::get('lang.members')=>$user->lists('full_name','id')->toArray()],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -60,6 +60,7 @@ class="active"
|
||||
<!-- team lead -->
|
||||
<div class="col-xs-6 form-group {{ $errors->has('team_lead') ? 'has-error' : '' }}">
|
||||
{!! Form::label('team_lead',Lang::get('lang.team_lead')) !!}
|
||||
<?php $user = App\User::where('role', 'admin')->orWhere('role', 'agent')->get(); ?>
|
||||
{!! Form::select('team_lead',[''=>Lang::get('lang.select_a_team_lead'), Lang::get('lang.members')=>$user->lists('full_name','id')->toArray()],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -31,7 +31,7 @@ class="active"
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{{Lang::get('lang.list_of_teams')}}</h2><a href="{{route('teams.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_team')}}</a></div>
|
||||
<h2 class="box-title">{{Lang::get('lang.list_of_teams')}}</h2><a href="{{route('teams.create')}}" class="btn btn-primary pull-right"><span class="glyphicon glyphicon-plus"></span> {{Lang::get('lang.create_team')}}</a></div>
|
||||
<div class="box-body table-responsive">
|
||||
<!-- check whether success or not -->
|
||||
@if(Session::has('success'))
|
||||
|
||||
@@ -32,7 +32,7 @@ class="active"
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{!! Lang::get('lang.emails') !!}</h2><a href="{{route('emails.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_email')}}</a></div>
|
||||
<h2 class="box-title">{!! Lang::get('lang.emails') !!}</h2><a href="{{route('emails.create')}}" class="btn btn-primary pull-right"><span class="glyphicon glyphicon-plus"></span> {{Lang::get('lang.create_email')}}</a></div>
|
||||
|
||||
<div class="box-body table-responsive">
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ active
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('template')
|
||||
@section('emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ active
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('template')
|
||||
@section('emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ active
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('template')
|
||||
@section('emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ active
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('template')
|
||||
@section('emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ active
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('template')
|
||||
@section('emails')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
|
||||
@@ -0,0 +1,142 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Tickets')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('labels')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
<h1>Labels</h1>
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('errors'))
|
||||
<br><br>
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!}!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<br/>
|
||||
@if($errors->first('title'))
|
||||
<li class="error-message-padding">{!! $errors->first('title', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('color'))
|
||||
<li class="error-message-padding">{!! $errors->first('color', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('order'))
|
||||
<li class="error-message-padding">{!! $errors->first('order', ':message') !!}</li>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('warn'))
|
||||
<div class="alert alert-warning alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('warn')}}
|
||||
</div>
|
||||
@endif
|
||||
<div class="box">
|
||||
<link rel="stylesheet" href="{{asset('lb-faveo/plugins/colorpicker/bootstrap-colorpicker.min.css')}}">
|
||||
<div class="box-header">
|
||||
<div class="box-title">
|
||||
New Label
|
||||
</div>
|
||||
{!! Form::open(['url'=>'labels','method'=>'post', 'id' => 'label-form']) !!}
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<table class="table table-borderless">
|
||||
|
||||
<tr>
|
||||
<div class="form-group {{ $errors->has('title') ? 'has-error' : '' }}">
|
||||
<td>{!! Form::label('title','Title') !!}<span class="text-red"> *</span></td>
|
||||
<td>
|
||||
<div class="form-group {{ $errors->has('title') ? 'has-error' : '' }}">
|
||||
{!! Form::text('title',null,['class'=>'form-control']) !!}
|
||||
</div>
|
||||
</td>
|
||||
</div>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{!! Form::label('color','Color') !!}<span class="text-red"> *</span></td>
|
||||
<td>
|
||||
<div class="form-group {{ $errors->has('color') ? 'has-error' : '' }}">
|
||||
{!! Form::text('color', null,['class'=>'form-control my-colorpicker1 colorpicker-element']) !!}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{!! Form::label('order','Order') !!}<span class="text-red"> *</span></td>
|
||||
<td>
|
||||
<div class="form-group {{ $errors->has('order') ? 'has-error' : '' }}">
|
||||
{!! Form::input('number', 'order', null, array('class' => 'form-control')) !!}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{!! Form::label('status','Status') !!}</td>
|
||||
<td><input type="checkbox" name="status" id="status" checked="true"> {{Lang::get('lang.enable')}}</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
{!! Form::submit('Save',['class'=>'btn btn-success']) !!}
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@section('FooterInclude')
|
||||
<script src="{{asset('lb-faveo/plugins/colorpicker/bootstrap-colorpicker.min.js')}}"></script>
|
||||
<script>
|
||||
//Colorpicker
|
||||
$(".my-colorpicker1").colorpicker();
|
||||
//color picker with addon
|
||||
$(".my-colorpicker2").colorpicker();
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
$("#label-form").on('submit', function(e){
|
||||
if(document.getElementById('status').checked) {
|
||||
checked = 1;
|
||||
} else {
|
||||
checked = 0;
|
||||
}
|
||||
$('<input />')
|
||||
.attr('type', 'hidden')
|
||||
.attr('name', "status")
|
||||
.attr('value', checked)
|
||||
.appendTo('#label-form');
|
||||
})
|
||||
</script>
|
||||
@stop
|
||||
@@ -0,0 +1,142 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Tickets')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('labels')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
<h1>Labels</h1>
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('errors'))
|
||||
<br><br>
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!}!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<br/>
|
||||
@if($errors->first('title'))
|
||||
<li class="error-message-padding">{!! $errors->first('title', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('color'))
|
||||
<li class="error-message-padding">{!! $errors->first('color', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('order'))
|
||||
<li class="error-message-padding">{!! $errors->first('order', ':message') !!}</li>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('warn'))
|
||||
<div class="alert alert-warning alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('warn')}}
|
||||
</div>
|
||||
@endif
|
||||
<div class="box">
|
||||
<link rel="stylesheet" href="{{asset('lb-faveo/plugins/colorpicker/bootstrap-colorpicker.min.css')}}">
|
||||
<div class="box-header">
|
||||
<div class="box-title">
|
||||
{!! $label->titleWithColor() !!}
|
||||
</div>
|
||||
{!! Form::model($label,['url'=>'labels/'.$label->id,'method'=>'patch', 'id' => 'label-form']) !!}
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<table class="table table-borderless">
|
||||
|
||||
<tr>
|
||||
<div class="form-group {{ $errors->has('title') ? 'has-error' : '' }}">
|
||||
<td>{!! Form::label('title','Title') !!}<span class="text-red"> *</span></td>
|
||||
<td>
|
||||
<div class="form-group {{ $errors->has('title') ? 'has-error' : '' }}">
|
||||
{!! Form::text('title',null,['class'=>'form-control']) !!}
|
||||
</div>
|
||||
</td>
|
||||
</div>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{!! Form::label('color','Color') !!}<span class="text-red"> *</span></td>
|
||||
<td>
|
||||
<div class="form-group {{ $errors->has('color') ? 'has-error' : '' }}">
|
||||
{!! Form::text('color', null,['class'=>'form-control my-colorpicker1 colorpicker-element']) !!}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{!! Form::label('order','Order') !!}<span class="text-red"> *</span></td>
|
||||
<td>
|
||||
<div class="form-group {{ $errors->has('order') ? 'has-error' : '' }}">
|
||||
{!! Form::input('number', 'order', null, array('class' => 'form-control')) !!}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{!! Form::label('status','Status') !!}</td>
|
||||
<td><p>{!! Form::checkbox('status') !!} {!!Lang::get('lang.enable')!!}</p></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
{!! Form::submit('Save',['class'=>'btn btn-success']) !!}
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@section('FooterInclude')
|
||||
<script src="{{asset('lb-faveo/plugins/colorpicker/bootstrap-colorpicker.min.js')}}"></script>
|
||||
<script>
|
||||
//Colorpicker
|
||||
$(".my-colorpicker1").colorpicker();
|
||||
//color picker with addon
|
||||
$(".my-colorpicker2").colorpicker();
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
$("#label-form").on('submit', function(e){
|
||||
if(document.getElementById('status').checked) {
|
||||
checked = 1;
|
||||
} else {
|
||||
checked = 0;
|
||||
}
|
||||
$('<input />')
|
||||
.attr('type', 'hidden')
|
||||
.attr('name', "status")
|
||||
.attr('value', checked)
|
||||
.appendTo('#label-form');
|
||||
})
|
||||
</script>
|
||||
@stop
|
||||
@@ -0,0 +1,69 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Tickets')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('labels')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
<h1>Labels</h1>
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
</ol>
|
||||
@stop
|
||||
<!-- /breadcrumbs -->
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('warn'))
|
||||
<div class="alert alert-warning alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('warn')}}
|
||||
</div>
|
||||
@endif
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<div class="box-title">
|
||||
Labels
|
||||
|
||||
|
||||
</div>
|
||||
<a href="{{url('labels/create')}}" class="btn btn-success pull-right"><span class="glyphicon glyphicon-plus"></span> New Label</a>
|
||||
|
||||
</div>
|
||||
<div class="box-body">
|
||||
{!!
|
||||
Datatable::table()
|
||||
->addColumn('Title','Order','Status','Action')
|
||||
->setUrl(url('labels-ajax'))
|
||||
->render()
|
||||
!!}
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@@ -8,7 +8,7 @@ active
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('form')
|
||||
@section('forms')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ class="active"
|
||||
<div class="box-title">
|
||||
{!! Lang::get('lang.forms') !!}
|
||||
</div>
|
||||
<a href="{!! url('forms/create') !!}" class="pull-right"><button class="btn btn-primary">{!! Lang::get('lang.create_form') !!}</button></a>
|
||||
<a href="{!! url('forms/create') !!}" class="pull-right"><button class="btn btn-primary"><span class="glyphicon glyphicon-plus"></span> {!! Lang::get('lang.create_form') !!}</button></a>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<table id="example2" class="table table-bordered table-striped">
|
||||
|
||||
@@ -31,7 +31,7 @@ class="active"
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{{Lang::get('lang.help_topic')}}</h3>
|
||||
<a href="{{route('helptopic.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_help_topic')}}</a>
|
||||
<a href="{{route('helptopic.create')}}" class="btn btn-primary pull-right"><span class="glyphicon glyphicon-plus"></span> {{Lang::get('lang.create_help_topic')}}</a>
|
||||
</div>
|
||||
<div class="box-body table-responsive">
|
||||
<!-- check whether success or not -->
|
||||
|
||||
@@ -32,7 +32,7 @@ class="active"
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h2 class="box-title">{{Lang::get('lang.SLA_plan')}}</h2><a href="{{route('sla.create')}}" class="btn btn-primary pull-right">{{Lang::get('lang.create_SLA')}}</a></div>
|
||||
<h2 class="box-title">{{Lang::get('lang.SLA_plan')}}</h2><a href="{{route('sla.create')}}" class="btn btn-primary pull-right"><span class="glyphicon glyphicon-plus"></span> {{Lang::get('lang.create_SLA')}}</a></div>
|
||||
|
||||
<div class="box-body table-responsive">
|
||||
|
||||
|
||||
@@ -49,18 +49,17 @@ class="active"
|
||||
<div class="box-header with-border">
|
||||
<span class="lead border-right">{!! Lang::get('lang.priority') !!}</span>
|
||||
<div class="pull-right">
|
||||
<a href="{{route('priority.create')}}" class="btn btn-primary"> {{Lang::get('lang.create_ticket_priority')}}</a>
|
||||
<a href="{{route('priority.create')}}" class="btn btn-primary"> <span class="glyphicon glyphicon-plus"></span> {{Lang::get('lang.create_ticket_priority')}}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <li><a class="right" title="" data-placement="right" data-toggle="tooltip" href="#" data-original-title="Tooltip on right"> sss</a></li> -->
|
||||
<div class="box-header with-border">
|
||||
<div class="box-header with-border">
|
||||
<a class="right" title="" data-placement="right" data-toggle="tooltip" href="#" data-original-title="{{Lang::get('lang.active_user_can_select_the_priority_while_creating_ticket')}}">
|
||||
|
||||
<span class="lead border-right" >{!! Lang::get('lang.current') !!}{!! Lang::get('lang.user_priority_status') !!}</span>
|
||||
|
||||
</a>
|
||||
|
||||
<div class="btn-group pull-right" id="toggle_event_editing">
|
||||
<button type="button" class="btn {{$user_status->status == '0' ? 'btn-info' : 'btn-default'}} locked_active">Inactive</button>
|
||||
<button type="button" class="btn {{$user_status->status == '1' ? 'btn-info' : 'btn-default'}} unlocked_inactive">Active</button>
|
||||
@@ -89,10 +88,10 @@ class="active"
|
||||
<div class="box-footer">
|
||||
</div>
|
||||
</div>
|
||||
<!-- <script type="text/javascript">
|
||||
<script type="text/javascript">
|
||||
$('a').tooltip()
|
||||
</script>
|
||||
-->
|
||||
|
||||
<script>
|
||||
function confirmDelete(priority_id) {
|
||||
var r = confirm('Are you sure?');
|
||||
@@ -107,7 +106,7 @@ class="active"
|
||||
</script>
|
||||
<script>
|
||||
$('#toggle_event_editing button').click(function () {
|
||||
|
||||
|
||||
var user_settings_priority=1;
|
||||
var user_settings_priority=0;
|
||||
if ($(this).hasClass('locked_active') ) {
|
||||
|
||||
@@ -30,7 +30,7 @@ class="active"
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">{!! Lang::get('lang.ticket_workflow') !!}</h3>
|
||||
<a href="{!! URL::route('workflow.create') !!}" class="btn btn-primary pull-right">{!! Lang::get('lang.create') !!}</a>
|
||||
<a href="{!! URL::route('workflow.create') !!}" class="btn btn-primary pull-right"><span class="glyphicon glyphicon-plus"></span> {!! Lang::get('lang.create') !!}</a>
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
|
||||
{!! Form::label('mobile',Lang::get('lang.mobile_number')) !!}
|
||||
{!! $errors->first('mobile', '<spam class="help-block">:message</spam>') !!}
|
||||
{!! Form::text('mobile',null,['class' => 'form-control']) !!}
|
||||
{!! Form::input('number', 'mobile',null,['class' => 'form-control']) !!}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('email-bar')
|
||||
@section('emails-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Manage')
|
||||
@section('Emails')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('manage-bar')
|
||||
@section('emails-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('forms')
|
||||
@section('queue')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
|
||||
@@ -287,7 +287,105 @@
|
||||
</div>
|
||||
<!-- ./box-body -->
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{!! Lang::get('lang.ticket') !!}</h3>
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<!--/.col-md-2-->
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{url('getticket')}}">
|
||||
<span class="fa-stack fa-2x">
|
||||
<i class="fa fa-file-text-o fa-stack-1x"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<p class="box-title" >{!! Lang::get('lang.ticket') !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
<!--/.col-md-2-->
|
||||
|
||||
<!--/.col-md-2-->
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{url('getresponder')}}">
|
||||
<span class="fa-stack fa-2x">
|
||||
<i class="fa fa-reply-all fa-stack-1x"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<p class="box-title" >{!! Lang::get('lang.auto_response') !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
<!--/.col-md-2-->
|
||||
|
||||
<!--/.col-md-2-->
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{url('getalert')}}">
|
||||
<span class="fa-stack fa-2x">
|
||||
<i class="fa fa-bell-o fa-stack-1x"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<p class="box-title" >{!! Lang::get('lang.alert_notices') !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
<!--/.col-md-2-->
|
||||
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{url('setting-status')}}">
|
||||
<span class="fa-stack fa-2x">
|
||||
<i class="fa fa-plus-square-o"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<p class="box-title" >Statuses</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{url('getratings')}}">
|
||||
<span class="fa-stack fa-2x">
|
||||
<i class="fa fa-star"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<p class="box-title" >{!! Lang::get('lang.ratings') !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{url('close-workflow')}}">
|
||||
<span class="fa-stack fa-2x">
|
||||
<i class="fa fa-sitemap"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<p class="box-title" >{!! Lang::get('lang.close_ticket_workflow') !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php \Event::fire('settings.ticket.view',[]); ?>
|
||||
<!--/.col-md-2-->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
</div>
|
||||
<!-- ./box-body -->
|
||||
</div>
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{!! Lang::get('lang.settings') !!}</h3>
|
||||
@@ -326,53 +424,19 @@
|
||||
<!--/.col-md-2-->
|
||||
|
||||
|
||||
<!--/.col-md-2-->
|
||||
|
||||
<!--/.col-md-2-->
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{url('getticket')}}">
|
||||
<a href="{{ url('social/media') }}">
|
||||
<span class="fa-stack fa-2x">
|
||||
<i class="fa fa-file-text-o fa-stack-1x"></i>
|
||||
<i class="fa fa-globe fa-stack-1x"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<p class="box-title" >{!! Lang::get('lang.ticket') !!}</p>
|
||||
<p class="box-title" >{{Lang::get('lang.social-login')}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<!--/.col-md-2-->
|
||||
|
||||
<!--/.col-md-2-->
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{url('getresponder')}}">
|
||||
<span class="fa-stack fa-2x">
|
||||
<i class="fa fa-reply-all fa-stack-1x"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<p class="box-title" >{!! Lang::get('lang.auto_response') !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
<!--/.col-md-2-->
|
||||
|
||||
<!--/.col-md-2-->
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{url('getalert')}}">
|
||||
<span class="fa-stack fa-2x">
|
||||
<i class="fa fa-bell-o fa-stack-1x"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<p class="box-title" >{!! Lang::get('lang.alert_notices') !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
<!--/.col-md-2-->
|
||||
|
||||
<!--/.col-md-2-->
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
@@ -413,18 +477,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<!--/.col-md-2-->
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{url('setting-status')}}">
|
||||
<span class="fa-stack fa-2x">
|
||||
<i class="fa fa-plus-square-o"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<p class="box-title" >Statuses</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
@@ -437,30 +490,20 @@
|
||||
<p class="box-title" >{!! Lang::get('lang.notification') !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{url('getratings')}}">
|
||||
<span class="fa-stack fa-2x">
|
||||
<i class="fa fa-star"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<p class="box-title" >{!! Lang::get('lang.ratings') !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{url('close-workflow')}}">
|
||||
<a href="{{url('approval/settings')}}">
|
||||
<span class="fa-stack fa-2x">
|
||||
<i class="fa fa-sitemap"></i>
|
||||
<i class="glyphicon glyphicon-repeat"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<p class="box-title" >{!! Lang::get('lang.close_ticket_workflow') !!}</p>
|
||||
<p class="box-title" >{!! Lang::get('lang.approval') !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php \Event::fire('settings.system',[]); ?>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
@@ -548,18 +591,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-2 col-sm-6">
|
||||
<div class="settingiconblue">
|
||||
<div class="settingdivblue">
|
||||
<a href="{{ url('social/media') }}">
|
||||
<span class="fa-stack fa-2x">
|
||||
<i class="fa fa-medium fa-stack-1x"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<p class="box-title" >Social media integration</p>
|
||||
</div>
|
||||
</div>
|
||||
<!--/.col-md-2-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
@section('Tickets')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('settings-bar')
|
||||
@section('tickets-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
@section('Tickets')
|
||||
active
|
||||
@stop
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
@section('Tickets')
|
||||
active
|
||||
@stop
|
||||
|
||||
|
||||
@@ -117,8 +117,6 @@
|
||||
</div><!-- /.info-box-content -->
|
||||
</div><!-- /.info-box -->
|
||||
</div>
|
||||
<!-- Follow up notification -->
|
||||
|
||||
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
@section('Tickets')
|
||||
active
|
||||
@stop
|
||||
|
||||
|
||||
@@ -81,15 +81,6 @@ class="active"
|
||||
{!!Session::get('fails')!!}
|
||||
</div>
|
||||
@endif
|
||||
@if($info == 1)
|
||||
<div class="alert alert-info alert-dismissable">
|
||||
<i class="fa fa-info-circle"></i>
|
||||
<b></b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Lang::get('lang.plugin-info')}}
|
||||
<ul><li><a href="http://www.faveohelpdesk.com/plugins/" target="_blank">{{Lang::get('lang.click-here')}}</a>{{Lang::get('lang.plugin-info-pro')}}</li></ul>
|
||||
</div>
|
||||
@endif
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<script src="{{asset('lb-faveo/plugins/jQuery/jQuery-2.1.4.min.js')}}" type="text/javascript"></script>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
@section('Tickets')
|
||||
active
|
||||
@stop
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
@section('Tickets')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('settings-bar')
|
||||
@section('tickets-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
<link href="{{asset("lb-faveo/css/faveo-css.css")}}" rel="stylesheet" type="text/css" />
|
||||
@section('Settings')
|
||||
class="active"
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('settings-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('access')
|
||||
@section('social-login')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@@ -62,7 +62,6 @@ class="active"
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<table class="table table-responsive table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
<link href="{{asset("lb-faveo/css/faveo-css.css")}}" rel="stylesheet" type="text/css" />
|
||||
@section('Settings')
|
||||
class="active"
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('settings-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('access')
|
||||
@section('social-login')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
@section('Tickets')
|
||||
active
|
||||
@stop
|
||||
|
||||
@@ -12,6 +12,12 @@ class="active"
|
||||
<h1>{!! Lang::get('lang.status_settings') !!}</h1>
|
||||
@stop
|
||||
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
</ol>
|
||||
@stop
|
||||
|
||||
|
||||
@section('content')
|
||||
{!! Form::model($status,['route'=>['statuss.update', $status->id],'method'=>'PATCH','files' => true]) !!}
|
||||
<div class="box box-primary">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
@section('Tickets')
|
||||
active
|
||||
@stop
|
||||
|
||||
@@ -12,6 +12,11 @@ class="active"
|
||||
<h1>{!! Lang::get('lang.settings') !!}</h1>
|
||||
@stop
|
||||
|
||||
@section('breadcrumbs')
|
||||
<ol class="breadcrumb">
|
||||
</ol>
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
|
||||
@@ -177,6 +177,7 @@ class="active"
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
@section('Tickets')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('settings-bar')
|
||||
@section('tickets-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Settings')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@section('settings-bar')
|
||||
@section('Manage')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('access')
|
||||
@section('manage-bar')
|
||||
active
|
||||
@stop
|
||||
|
||||
@section('url')
|
||||
class="active"
|
||||
@stop
|
||||
|
||||
@@ -16,16 +16,15 @@ class="active"
|
||||
@stop
|
||||
<!-- header -->
|
||||
@section('PageHeader')
|
||||
|
||||
<h1>{!! Lang::get('lang.url') !!}</h1>
|
||||
@stop
|
||||
<!-- /header -->
|
||||
<!-- breadcrumbs -->
|
||||
@section('breadcrumbs')
|
||||
|
||||
<ol class="breadcrumb">
|
||||
|
||||
</ol>
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
{!! Form::open(['url' => 'url/settings', 'method' => 'PATCH']) !!}
|
||||
<div class="box box-primary">
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
<link href="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<link href="{{asset("lb-faveo/plugins/datatables/dataTables.bootstrap.css")}}" rel="stylesheet" type="text/css" >
|
||||
<!-- select2 -->
|
||||
<link href="{{asset("lb-faveo/plugins/select2/select2.min.css")}}" rel="stylesheet" type="text/css">
|
||||
<!-- Colorpicker -->
|
||||
|
||||
<link href="{{asset("lb-faveo/plugins/colorpicker/bootstrap-colorpicker.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
@@ -86,18 +88,16 @@
|
||||
<?php \Event::fire('service.desk.admin.topbar', array()); ?>
|
||||
@endif
|
||||
</ul>
|
||||
|
||||
|
||||
<?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">
|
||||
<li><a href="{{url('admin')}}">{!! Lang::get('lang.admin_panel') !!}</a></li>
|
||||
@include('themes.default1.update.notification')
|
||||
<!-- User Account: style can be found in dropdown.less -->
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<!-- User Account: style can be found in dropdown.less -->
|
||||
<li class="dropdown notifications-menu" id="myDropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" onclick="myFunction()">
|
||||
<i class="fa fa-bell-o"></i>
|
||||
<span class="label label-danger" id="count">{!! count($noti) !!}</span>
|
||||
<span class="label label-danger" id="count">{!! $notifications->count() !!}</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" style="width:500px">
|
||||
|
||||
@@ -109,44 +109,44 @@
|
||||
|
||||
<li id="refreshNote">
|
||||
|
||||
<li class="header">You have {!! count($noti) !!} notifications. <a class="pull-right" id="read-all" href="#">Mark all as read.</a> </li>
|
||||
<li class="header">You have {!! $notifications->count() !!} notifications. <a class="pull-right" id="read-all" href="#">Mark all as read.</a></li>
|
||||
|
||||
<ul class="menu">
|
||||
@foreach($notifications as $notification)
|
||||
<?php $user = App\User::whereId($notification->user_id)->first(); ?>
|
||||
@if($notification->type == 'registration')
|
||||
|
||||
@if($notifications->count())
|
||||
@foreach($notifications->orderBy('created_at', 'desc')->get()->take(10) as $notification)
|
||||
|
||||
@if($notification->notification->type->type == 'registration')
|
||||
@if($notification->is_read == 1)
|
||||
<li class="task" style="list-style: none; margin-left: -30px;"><span> <img src="{{$user->profile_pic}}" class="user-image" style="width:6%;height: 5%" alt="User Image" />
|
||||
<a href="{!! route('user.show', $notification->model_id) !!}" id="{{$notification->notification_id}}" class='noti_User'>
|
||||
{!! $notification->message !!}
|
||||
<li class="task" style="list-style: none; margin-left: -30px;"><span> <img src="{{$notification -> users -> profile_pic}}" class="user-image" style="width:6%;height: 5%" alt="User Image" />
|
||||
<a href="{!! route('user.show', $notification->notification->model_id) !!}" id="{{$notification -> notification_id}}" class='noti_User'>
|
||||
{!! $notification->notification->type->message !!}
|
||||
</a></span>
|
||||
</li>
|
||||
@else
|
||||
<li style="list-style: none; margin-left: -30px;"><span> <img src="{{$user->profile_pic}}" class="user-image" style="width:6%;height: 5%" alt="User Image" />
|
||||
<a href="{!! route('user.show', $notification->model_id) !!}" id="{{$notification->notification_id}}" class='noti_User'>
|
||||
{!! $notification->message !!}
|
||||
<li style="list-style: none; margin-left: -30px;"><span> <img src="{{$notification -> users -> profile_pic}}" class="user-image" style="width:6%;height: 5%" alt="User Image" />
|
||||
<a href="{!! route('user.show', $notification->notification->model_id) !!}" id="{{$notification -> notification_id}}" class='noti_User'>
|
||||
{!! $notification->notification->type->message !!}
|
||||
</a></span>
|
||||
</li>
|
||||
@endif
|
||||
@else
|
||||
|
||||
<?php $ticket_number = App\Model\helpdesk\Ticket\Tickets::whereId($notification->model_id)->first(); ?>
|
||||
@if($notification->is_read == 1)
|
||||
<li class="task" style="list-style: none;margin-left: -30px"><span> <img src="{{$user->profile_pic}}" class="img-circle" style="width:6%;height: 5%" alt="User Image" />
|
||||
<a href="{!! route('ticket.thread', $notification->model_id) !!}" id='{{ $notification->notification_id}}' class='noti_User'>
|
||||
{!! $notification->message !!} with id "{!!$ticket_number->ticket_number!!}"
|
||||
<li class="task" style="list-style: none;margin-left: -30px"><span> <img src="{{$notification -> users -> profile_pic}}" class="img-circle" style="width:6%;height: 5%" alt="User Image" />
|
||||
<a href="{!! route('ticket.thread', $notification->notification->model_id) !!}" id='{{ $notification -> notification_id}}' class='noti_User'>
|
||||
{!! $notification->notification->type->message !!} with id "{!!$notification->notification->model->ticket_number!!}"
|
||||
</a></span>
|
||||
</li>
|
||||
@else
|
||||
<li style="list-style: none;margin-left: -30px"><span> <img src="{{$user->profile_pic}}" class="img-circle" style="width:6%;height: 5%" alt="User Image" />
|
||||
<a href="{!! route('ticket.thread', $notification->model_id) !!}" id='{{ $notification->notification_id}}' class='noti_User'>
|
||||
{!! $notification->message !!} with id "{!!$ticket_number->ticket_number!!}"
|
||||
@elseif($notification->notification->model)
|
||||
<li style="list-style: none;margin-left: -30px"><span> <img src="{{$notification -> users -> profile_pic}}" class="img-circle" style="width:6%;height: 5%" alt="User Image" />
|
||||
<a href="{!! route('ticket.thread', $notification->notification->model_id) !!}" id='{{ $notification -> notification_id}}' class='noti_User'>
|
||||
{!! $notification->notification->type->message !!} with id "{!!$notification->notification->model->ticket_number!!}"
|
||||
</a></span>
|
||||
</li>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@endif
|
||||
</ul>
|
||||
</li>
|
||||
<li class="footer no-border"><div class="col-md-5"></div><div class="col-md-2">
|
||||
@@ -154,7 +154,6 @@
|
||||
</div><div class="col-md-5"></div></li>
|
||||
<li class="footer"><a href="{{ url('notifications-list')}}">View all</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown user user-menu">
|
||||
@@ -245,8 +244,8 @@
|
||||
<li @yield('ban')><a href="{{ url('banlist') }}"><i class="fa fa-ban"></i>{!! Lang::get('lang.ban_lists') !!}</a></li>
|
||||
<li @yield('template')><a href="{{ url('template-sets') }}"><i class="fa fa-mail-forward"></i>{!! Lang::get('lang.templates') !!}</a></li>
|
||||
<li @yield('email')><a href="{{url('getemail')}}"><i class="fa fa-at"></i>{!! Lang::get('lang.email-settings') !!}</a></li>
|
||||
<li @yield('diagnostics')><a href="{{ url('getdiagno') }}"><i class="fa fa-plus"></i>{!! Lang::get('lang.diagnostics') !!}</a></li>
|
||||
<li @yield('queue')><a href="{{ url('queue') }}"><i class="fa fa-upload"></i>{!! Lang::get('lang.queues') !!}</a></li>
|
||||
<li @yield('diagnostics')><a href="{{ url('getdiagno') }}"><i class="fa fa-plus"></i>{!! Lang::get('lang.diagnostics') !!}</a></li>
|
||||
|
||||
<!-- <li><a href="#"><i class="fa fa-circle-o"></i> Auto Response</a></li> -->
|
||||
<!-- <li><a href="#"><i class="fa fa-circle-o"></i> Rules/a></li> -->
|
||||
@@ -267,9 +266,23 @@
|
||||
<li @yield('forms')><a href="{{url('forms')}}"><i class="fa fa-file-text"></i>{!! Lang::get('lang.forms') !!}</a></li>
|
||||
<li @yield('workflow')><a href="{{url('workflow')}}"><i class="fa fa-sitemap"></i>{!! Lang::get('lang.workflow') !!}</a></li>
|
||||
<li @yield('priority')><a href="{{url('ticket/priority')}}"><i class="fa fa-asterisk"></i>{!! Lang::get('lang.priority') !!}</a></li>
|
||||
<li @yield('url')><a href="{{url('url/settings')}}"><i class="fa fa-server"></i>{!! Lang::get('lang.url') !!}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview @yield('Tickets')">
|
||||
<a href="#">
|
||||
<i class="fa fa-ticket"></i> <span>{!! Lang::get('lang.tickets') !!}</span> <i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li @yield('tickets')><a href="{{url('getticket')}}"><i class="fa fa-file-text"></i>{!! Lang::get('lang.ticket') !!}</a></li>
|
||||
<li @yield('auto-response')><a href="{{url('getresponder')}}"><i class="fa fa-reply-all"></i>{!! Lang::get('lang.auto_response') !!}</a></li>
|
||||
<li @yield('alert')><a href="{{url('getalert')}}"><i class="fa fa-bell"></i>{!! Lang::get('lang.alert_notices') !!}</a></li>
|
||||
<li @yield('status')><a href="{{url('setting-status')}}"><i class="fa fa-plus-square-o"></i>{!! Lang::get('lang.status') !!}</a></li>
|
||||
<li @yield('labels')><a href="{{url('labels')}}"><i class="fa fa-lastfm"></i>{!! Lang::get('lang.labels') !!}</a></li>
|
||||
<li @yield('ratings')><a href="{{url('getratings')}}"><i class="fa fa-star"></i>{!! Lang::get('lang.ratings') !!}</a></li>
|
||||
<li @yield('close-workflow')><a href="{{url('close-workflow')}}"><i class="fa fa-sitemap"></i>{!! Lang::get('lang.close-workflow') !!}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="treeview @yield('Settings')">
|
||||
<a href="#">
|
||||
<i class="fa fa-cog"></i>
|
||||
@@ -279,17 +292,12 @@
|
||||
<ul class="treeview-menu">
|
||||
<li @yield('company')><a href="{{url('getcompany')}}"><i class="fa fa-building"></i>{!! Lang::get('lang.company') !!}</a></li>
|
||||
<li @yield('system')><a href="{{url('getsystem')}}"><i class="fa fa-laptop"></i>{!! Lang::get('lang.system') !!}</a></li>
|
||||
<li @yield('tickets')><a href="{{url('getticket')}}"><i class="fa fa-file-text"></i>{!! Lang::get('lang.ticket') !!}</a></li>
|
||||
<li @yield('auto-response')><a href="{{url('getresponder')}}"><i class="fa fa-reply-all"></i>{!! Lang::get('lang.auto_response') !!}</a></li>
|
||||
<li @yield('alert')><a href="{{url('getalert')}}"><i class="fa fa-bell"></i>{!! Lang::get('lang.alert_notices') !!}</a></li>
|
||||
<li @yield('social-login')><a href="{{ url('social/media') }}"><i class="fa fa-globe"></i> {!! Lang::get('lang.social-login') !!}</a></li>
|
||||
<li @yield('languages')><a href="{{url('languages')}}"><i class="fa fa-language"></i>{!! Lang::get('lang.language') !!}</a></li>
|
||||
<li @yield('cron')><a href="{{url('job-scheduler')}}"><i class="fa fa-hourglass"></i>{!! Lang::get('lang.cron') !!}</a></li>
|
||||
<li @yield('security')><a href="{{url('security')}}"><i class="fa fa-lock"></i>{!! Lang::get('lang.security') !!}</a></li>
|
||||
<li @yield('status')><a href="{{url('setting-status')}}"><i class="fa fa-plus-square-o"></i>{!! Lang::get('lang.status') !!}</a></li>
|
||||
<li @yield('notification')><a href="{{url('settings-notification')}}"><i class="fa fa-bell"></i>{!! Lang::get('lang.notifications') !!}</a></li>
|
||||
<li @yield('ratings')><a href="{{url('getratings')}}"><i class="fa fa-star"></i>{!! Lang::get('lang.ratings') !!}</a></li>
|
||||
|
||||
<li @yield('close-workflow')><a href="{{url('close-workflow')}}"><i class="fa fa-sitemap"></i>{!! Lang::get('lang.close-workflow') !!}</a></li>
|
||||
<li @yield('Approval')><a href="{{url('approval/settings')}}"><i class="glyphicon glyphicon-repeat"></i>{!! Lang::get('lang.approval') !!}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview @yield('error-bugs')">
|
||||
@@ -394,6 +402,8 @@
|
||||
<script src="{{asset("lb-faveo/plugins/colorpicker/bootstrap-colorpicker.min.js")}}" ></script>
|
||||
<!--date time picker-->
|
||||
<script src="{{asset("lb-faveo/js/bootstrap-datetimepicker4.7.14.min.js")}}" type="text/javascript"></script>
|
||||
<!-- select2 -->
|
||||
<script src="{{asset("lb-faveo/plugins/select2/select2.min.js")}}" ></script>
|
||||
|
||||
@if (trim($__env->yieldContent('no-toolbar')))
|
||||
<h1>@yield('no-toolbar')</h1>
|
||||
|
||||
Reference in New Issue
Block a user