Bootstrap4 :: Tickets Modules UI updated
This commit is contained in:
@@ -1,17 +1,22 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Tickets')
|
||||
active
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('tickets-bar')
|
||||
active
|
||||
@section('ticket-menu-parent')
|
||||
class="nav-item menu-open"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-open')
|
||||
class="nav nav-treeview menu-open"
|
||||
@stop
|
||||
|
||||
@section('alert')
|
||||
class="active"
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
|
||||
@section('HeadInclude')
|
||||
@stop
|
||||
<!-- header -->
|
||||
@@ -30,15 +35,9 @@ class="active"
|
||||
@section('content')
|
||||
<!-- open a form -->
|
||||
{!! Form::model($alerts,['url' => 'postalert/'.$alerts->id, 'method' => 'PATCH']) !!}
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h4 class="box-title">{{Lang::get('lang.alert_notices_setitngs')}}</h4> {!! Form::submit(Lang::get('lang.submit'),['class'=>' btn btn-primary pull-right'])!!}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<i class="fas fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{!!Session::get('success')!!}
|
||||
</div>
|
||||
@@ -46,63 +45,75 @@ class="active"
|
||||
<!-- failure message -->
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<i class="fas fa-ban"></i><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<b>{!! lang::get('lang.alert') !!}!</b><br/>
|
||||
{!!Session::get('fails')!!}
|
||||
</div>
|
||||
@endif
|
||||
<div class="row">
|
||||
<!-- left column -->
|
||||
<div class="col-md-6">
|
||||
<!-- general form elements -->
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{{Lang::get('lang.new_ticket_alert')}}</h3>
|
||||
</div><!-- /.box-header -->
|
||||
<!-- form start -->
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<!-- Status: Enable Disable -->
|
||||
{!! Form::label('ticket_status',Lang::get('lang.status').":") !!}
|
||||
{!! Form::radio('ticket_status',1) !!} {!! Lang::get('lang.enable') !!} {!! Form::radio('ticket_status',0) !!} {!! Lang::get('lang.disable') !!}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<!-- Admin Email -->
|
||||
{!! Form::checkbox('ticket_admin_email',1) !!}
|
||||
{!! Form::label('ticket_admin_email',Lang::get('lang.admin_email_2')) !!}
|
||||
</div>
|
||||
<!-- Department Members -->
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('ticket_department_member',1) !!}
|
||||
{!! Form::label('ticket_department_member',Lang::get('lang.department_members')) !!}
|
||||
</div>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
<!-- /.box -->
|
||||
</div><!--/.col (left) -->
|
||||
<div class="col-md-6">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{{Lang::get('lang.ticket_assignment_alert')}}</h3>
|
||||
</div><!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
<!-- Status: Enable Disable -->
|
||||
<div class="form-group">
|
||||
{!! Form::label('assignment_status',Lang::get('lang.status').":") !!}
|
||||
{!! Form::radio('assignment_status',1) !!} {!! Lang::get('lang.enable') !!} {!! Form::radio('assignment_status',0) !!} {!! Lang::get('lang.disable') !!}
|
||||
</div>
|
||||
<!-- Assigned Agent / Team -->
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('assignment_assigned_agent',1) !!}
|
||||
{!! Form::label('assignment_assigned_agent',Lang::get('lang.agent')) !!}
|
||||
</div>
|
||||
<!-- Team Members -->
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('assignment_team_member',1) !!}
|
||||
{!! Form::label('assignment_team_member',Lang::get('lang.team_members')) !!}
|
||||
</div>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
</div><!--/.col (left) -->
|
||||
<div class="card card-light">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">{{Lang::get('lang.alert_notices_setitngs')}}</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<!-- left column -->
|
||||
<div class="col-md-6">
|
||||
<!-- general form elements -->
|
||||
<div class="card card-light">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">{{Lang::get('lang.new_ticket_alert')}}</h3>
|
||||
</div><!-- /.box-header -->
|
||||
<!-- form start -->
|
||||
<div class="card-body">
|
||||
<div class="form-group">
|
||||
<!-- Status: Enable Disable -->
|
||||
{!! Form::label('ticket_status',Lang::get('lang.status').":") !!}
|
||||
{!! Form::radio('ticket_status',1) !!} {!! Lang::get('lang.enable') !!} {!! Form::radio('ticket_status',0) !!} {!! Lang::get('lang.disable') !!}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<!-- Admin Email -->
|
||||
{!! Form::checkbox('ticket_admin_email',1) !!}
|
||||
{!! Form::label('ticket_admin_email',Lang::get('lang.admin_email_2')) !!}
|
||||
</div>
|
||||
<!-- Department Members -->
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('ticket_department_member',1) !!}
|
||||
{!! Form::label('ticket_department_member',Lang::get('lang.department_members')) !!}
|
||||
</div>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
<!-- /.box -->
|
||||
</div><!--/.col (left) -->
|
||||
<div class="col-md-6">
|
||||
<div class="card card-light">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">{{Lang::get('lang.ticket_assignment_alert')}}</h3>
|
||||
</div><!-- /.box-header -->
|
||||
<div class="card-body">
|
||||
<!-- Status: Enable Disable -->
|
||||
<div class="form-group">
|
||||
{!! Form::label('assignment_status',Lang::get('lang.status').":") !!}
|
||||
{!! Form::radio('assignment_status',1) !!} {!! Lang::get('lang.enable') !!} {!! Form::radio('assignment_status',0) !!} {!! Lang::get('lang.disable') !!}
|
||||
</div>
|
||||
<!-- Assigned Agent / Team -->
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('assignment_assigned_agent',1) !!}
|
||||
{!! Form::label('assignment_assigned_agent',Lang::get('lang.agent')) !!}
|
||||
</div>
|
||||
<!-- Team Members -->
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('assignment_team_member',1) !!}
|
||||
{!! Form::label('assignment_team_member',Lang::get('lang.team_members')) !!}
|
||||
</div>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
</div><!--/.col (left) -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
{!! Form::submit(Lang::get('lang.submit'),['class'=>' btn btn-primary'])!!}
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
@@ -1,11 +1,19 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Tickets')
|
||||
active
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-parent')
|
||||
class="nav-item menu-open"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-open')
|
||||
class="nav nav-treeview menu-open"
|
||||
@stop
|
||||
|
||||
@section('close-workflow')
|
||||
class="active"
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('PageHeader')
|
||||
@@ -16,47 +24,47 @@ class="active"
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{!! Lang::get('lang.close_ticket_workflow_settings') !!}</h3>
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fas fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('failed'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fas fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!}!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<p>{{Session::get('failed')}}</p>
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('errors'))
|
||||
<?php //dd($errors); ?>
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fas 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('days'))
|
||||
<li class="error-message-padding">{!! $errors->first('days', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('condition'))
|
||||
<li class="error-message-padding">{!! $errors->first('condition', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('send_email'))
|
||||
<li class="error-message-padding">{!! $errors->first('send_email', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('status'))
|
||||
<li class="error-message-padding">{!! $errors->first('status', ':message') !!}</li>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
<div class="card card-light">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">{!! Lang::get('lang.close_ticket_workflow_settings') !!}</h3>
|
||||
</div><!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
@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('failed'))
|
||||
<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>
|
||||
<p>{{Session::get('failed')}}</p>
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('errors'))
|
||||
<?php //dd($errors); ?>
|
||||
<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('days'))
|
||||
<li class="error-message-padding">{!! $errors->first('days', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('condition'))
|
||||
<li class="error-message-padding">{!! $errors->first('condition', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('send_email'))
|
||||
<li class="error-message-padding">{!! $errors->first('send_email', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('status'))
|
||||
<li class="error-message-padding">{!! $errors->first('status', ':message') !!}</li>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
<div class="card-body">
|
||||
{!! Form::model($security,['route'=>['close-workflow.update', $security->id],'method'=>'PATCH','files' => true]) !!}
|
||||
<div class="form-group {{ $errors->has('days') ? 'has-error' : '' }}">
|
||||
<div class="row">
|
||||
@@ -69,24 +77,6 @@ class="active"
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="form-group {{ $errors->has('condition') ? 'has-error' : '' }}">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<label for="title">{!! Lang::get('lang.enable_workflow') !!}:</label>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="callout callout-default" style="font-style: oblique;">{!! Lang::get('lang.close-msg2') !!}</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('condition','1') !!} {{Lang::get('lang.yes')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
{!! Form::radio('condition','0') !!} {{Lang::get('lang.no')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="form-group {{ $errors->has('send_email') ? 'has-error' : '' }}">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
@@ -95,10 +85,10 @@ class="active"
|
||||
<div class="col-md-6">
|
||||
<div class="callout callout-default" style="font-style: oblique;">{!! Lang::get('lang.close-msg4') !!}</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
<div class="col-sm-3">
|
||||
{!! Form::radio('send_email','1') !!} {{Lang::get('lang.yes')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<div class="col-sm-3">
|
||||
{!! Form::radio('send_email','0') !!} {{Lang::get('lang.no')}}
|
||||
</div>
|
||||
</div>
|
||||
@@ -118,14 +108,8 @@ class="active"
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.box-body -->
|
||||
<div class="box-footer">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<button type="submit" class="btn btn-primary">{!! Lang::get('lang.submit') !!}</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<button type="submit" class="btn btn-primary">{!! Lang::get('lang.submit') !!}</button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
|
@@ -1,11 +1,19 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Tickets')
|
||||
active
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-parent')
|
||||
class="nav-item menu-open"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-open')
|
||||
class="nav nav-treeview menu-open"
|
||||
@stop
|
||||
|
||||
@section('ratings')
|
||||
class="active"
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@@ -26,45 +34,45 @@ class="active"
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
{!! Form::open(['route'=>'rating.store']) !!}
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h2 class="box-title">{{Lang::get('lang.create')}}</h2>
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fas fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('errors'))
|
||||
<?php //dd($errors); ?>
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fas 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('name'))
|
||||
<li class="error-message-padding">{!! $errors->first('name', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('display_order'))
|
||||
<li class="error-message-padding">{!! $errors->first('display_order', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('rating_scale'))
|
||||
<li class="error-message-padding">{!! $errors->first('rating_scale', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('rating_area'))
|
||||
<li class="error-message-padding">{!! $errors->first('rating_area', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('restrict'))
|
||||
<li class="error-message-padding">{!! $errors->first('restrict', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('allow_modification'))
|
||||
<li class="error-message-padding">{!! $errors->first('allow_modification', ':message') !!}</li>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
<div class="card card-light">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">{{Lang::get('lang.create')}}</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
@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('errors'))
|
||||
<?php //dd($errors); ?>
|
||||
<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('name'))
|
||||
<li class="error-message-padding">{!! $errors->first('name', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('display_order'))
|
||||
<li class="error-message-padding">{!! $errors->first('display_order', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('rating_scale'))
|
||||
<li class="error-message-padding">{!! $errors->first('rating_scale', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('rating_area'))
|
||||
<li class="error-message-padding">{!! $errors->first('rating_area', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('restrict'))
|
||||
<li class="error-message-padding">{!! $errors->first('restrict', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('allow_modification'))
|
||||
<li class="error-message-padding">{!! $errors->first('allow_modification', ':message') !!}</li>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6 form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
{!! Form::label('name',Lang::get('lang.rating_label')) !!}<span style="color:red;">*</span>
|
||||
@@ -95,16 +103,16 @@ class="active"
|
||||
{!! Form::label('allow_modification',Lang::get('lang.rating_change')) !!}<span style="color:red;">*</span>
|
||||
<div class="callout callout-default" style="font-style: oblique;">{!! Lang::get('lang.rating-msg3') !!}</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
<div class="col-sm-2">
|
||||
{!! Form::radio('allow_modification','1') !!} {{Lang::get('lang.yes')}}
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
<div class="col-sm-2">
|
||||
{!! Form::radio('allow_modification','0') !!} {{Lang::get('lang.no')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<div class="card-footer">
|
||||
{!! Form::submit(Lang::get('lang.submit'),['class'=>'btn btn-primary'])!!}
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,11 +1,19 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Tickets')
|
||||
active
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-parent')
|
||||
class="nav-item menu-open"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-open')
|
||||
class="nav nav-treeview menu-open"
|
||||
@stop
|
||||
|
||||
@section('ratings')
|
||||
class="active"
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@@ -18,46 +26,46 @@ class="active"
|
||||
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
{!! Form::model($rating,['route'=>['settings.rating', $rating->id],'method'=>'PATCH','files' => true]) !!}
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{{Lang::get('lang.edit')}}</h3>
|
||||
{!! Form::model($rating,['route'=>['settings.rating', $rating->id],'method'=>'PATCH','files' => true]) !!}
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fas fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('errors'))
|
||||
<?php //dd($errors); ?>
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fas 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('name'))
|
||||
<li class="error-message-padding">{!! $errors->first('name', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('display_order'))
|
||||
<li class="error-message-padding">{!! $errors->first('display_order', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('rating_scale'))
|
||||
<li class="error-message-padding">{!! $errors->first('rating_scale', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('rating_area'))
|
||||
<li class="error-message-padding">{!! $errors->first('rating_area', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('restrict'))
|
||||
<li class="error-message-padding">{!! $errors->first('restrict', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('allow_modification'))
|
||||
<li class="error-message-padding">{!! $errors->first('allow_modification', ':message') !!}</li>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
<div class="card card-light">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">{{Lang::get('lang.edit')}}</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
@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('errors'))
|
||||
<?php //dd($errors); ?>
|
||||
<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('name'))
|
||||
<li class="error-message-padding">{!! $errors->first('name', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('display_order'))
|
||||
<li class="error-message-padding">{!! $errors->first('display_order', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('rating_scale'))
|
||||
<li class="error-message-padding">{!! $errors->first('rating_scale', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('rating_area'))
|
||||
<li class="error-message-padding">{!! $errors->first('rating_area', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('restrict'))
|
||||
<li class="error-message-padding">{!! $errors->first('restrict', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('allow_modification'))
|
||||
<li class="error-message-padding">{!! $errors->first('allow_modification', ':message') !!}</li>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6 form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
{!! Form::label('name',Lang::get('lang.rating_label')) !!}<span style="color:red;">*</span>
|
||||
@@ -88,16 +96,16 @@ class="active"
|
||||
{!! Form::label('allow_modification',Lang::get('lang.rating_change')) !!}<span style="color:red;">*</span>
|
||||
<div class="callout callout-default" style="font-style: oblique;">{!! Lang::get('lang.rating-msg3') !!}</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
<div class="col-sm-2">
|
||||
{!! Form::radio('allow_modification','1') !!} {{Lang::get('lang.yes')}}
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
<div class="col-sm-2">
|
||||
{!! Form::radio('allow_modification','0') !!} {{Lang::get('lang.no')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<div class="card-footer">
|
||||
{!! Form::submit(Lang::get('lang.update'),['class'=>'btn btn-primary'])!!}
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,11 +1,19 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Tickets')
|
||||
active
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-parent')
|
||||
class="nav-item menu-open"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-open')
|
||||
class="nav nav-treeview menu-open"
|
||||
@stop
|
||||
|
||||
@section('ratings')
|
||||
class="active"
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('PageHeader')
|
||||
@@ -16,22 +24,22 @@ class="active"
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{!! Lang::get('lang.current_ratings') !!}</h3>
|
||||
<div class="box-tools pull-right">
|
||||
<div class="box-tools pull-right">
|
||||
<a class="btn btn-box-tool" href="{{ route('rating.create') }}" title="{!! Lang::get('lang.create') !!}"><i class="fa fa-plus-circle fa-2x"></i></a>
|
||||
</div>
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<span>{{Session::get('success')}}</span>
|
||||
</div>
|
||||
@endif
|
||||
<div class="card card-light">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">{!! Lang::get('lang.current_ratings') !!}</h3>
|
||||
<div class="card-tools">
|
||||
<a class="btn btn-default btn-tool" href="{{ route('rating.create') }}" title="{!! Lang::get('lang.create') !!}">
|
||||
<i class="fas fa-plus"></i> {!! Lang::get('lang.create') !!}
|
||||
</a>
|
||||
</div><!-- /.box-header -->
|
||||
</div>
|
||||
<div class="box-body">
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<p>{{Session::get('success')}}</p>
|
||||
</div>
|
||||
@endif
|
||||
<div class="card-body">
|
||||
<table id="example1" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -48,20 +56,20 @@ class="active"
|
||||
<td>{!! $rating->display_order !!}</td>
|
||||
<td>{!! $rating->rating_area !!}</td>
|
||||
<td>
|
||||
{!! link_to_route('rating.edit','Edit Ratings',[$rating->id],['class'=>'btn btn-info btn-sm']) !!}
|
||||
<button class="btn btn-danger btn-sm" data-toggle="modal" data-target="#{{$rating->id}}delete">Delete</button>
|
||||
<div class="modal fade" id="{{$rating->id}}delete">
|
||||
{!! link_to_route('rating.edit','Edit Ratings',[$rating->id],['class'=>'btn btn-primary btn-sm']) !!}
|
||||
<button class="btn btn-danger btn-sm" data-toggle="modal" data-target="#delete{{$rating->id}}">Delete</button>
|
||||
<div class="modal fade" id="delete{{$rating->id}}">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title">{!! Lang::get('lang.delete') !!}</h4>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>{!! Lang::get('lang.are_you_sure_you_want_to_delete') !!} ?</p>
|
||||
<span>{!! Lang::get('lang.are_you_sure_you_want_to_delete') !!} ?</span>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default pull-left" data-dismiss="modal">{!! Lang::get('lang.close') !!}</button>
|
||||
<div class="modal-footer justify-content-between">
|
||||
<button type="button" class="btn btn-default btn-sm" data-dismiss="modal">{!! Lang::get('lang.close') !!}</button>
|
||||
{!! link_to_route('ratings.delete',Lang::get('lang.delete'),[$rating->id],['id'=>'delete','class'=>'btn btn-danger btn-sm']) !!}
|
||||
</div>
|
||||
</div>
|
||||
@@ -76,10 +84,7 @@ class="active"
|
||||
</div>
|
||||
@stop
|
||||
@section('footer')
|
||||
<script src="{{asset("lb-sample/plugins/datatables/jquery.dataTables.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-sample/plugins/datatables/dataTables.bootstrap.js")}}" type="text/javascript"></script>
|
||||
|
||||
<!-- page script -->
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("#example1").dataTable();
|
||||
|
@@ -1,15 +1,19 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Tickets')
|
||||
active
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('tickets-bar')
|
||||
active
|
||||
@section('ticket-menu-parent')
|
||||
class="nav-item menu-open"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-open')
|
||||
class="nav nav-treeview menu-open"
|
||||
@stop
|
||||
|
||||
@section('auto-response')
|
||||
class="active"
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@@ -29,40 +33,41 @@ class="active"
|
||||
@section('content')
|
||||
<!-- open a form -->
|
||||
{!! Form::model($responders,['url' => 'postresponder/'.$responders->id, 'method' => 'PATCH']) !!}
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{{Lang::get('lang.auto_responce-settings')}}</h3>
|
||||
<!-- check whether success or not -->
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fas fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{!!Session::get('success')!!}
|
||||
</div>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fas fa-ban"></i>
|
||||
<b>{!! lang::get('lang.alert') !!}!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{!!Session::get('fails')!!}
|
||||
</div>
|
||||
@endif
|
||||
<div class="card card-light">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">{{Lang::get('lang.auto_responce-settings')}}</h3>
|
||||
</div>
|
||||
<!-- New Ticket: CHECKBOX Ticket Owner -->
|
||||
<div class="box-body">
|
||||
<!-- check whether success or not -->
|
||||
@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
|
||||
<!-- failure message -->
|
||||
@if(Session::has('fails'))
|
||||
<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>
|
||||
{!!Session::get('fails')!!}
|
||||
</div>
|
||||
@endif
|
||||
<div class="card-body">
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::checkbox('new_ticket',1) !!}
|
||||
{!! Form::label('new_ticket',Lang::get('lang.new_ticket')) !!}
|
||||
</div>
|
||||
<!-- New Ticket by Agent: CHECKBOX Ticket Owner -->
|
||||
<div class="form-group">
|
||||
<div>
|
||||
{!! Form::checkbox('agent_new_ticket',1) !!}
|
||||
{!! Form::label('agent_new_ticket',Lang::get('lang.new_ticket_by_agent')) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<div class="card-footer">
|
||||
{!! Form::submit(Lang::get('lang.submit'),['class'=>'btn btn-primary'])!!}
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,11 +1,19 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Tickets')
|
||||
active
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-parent')
|
||||
class="nav-item menu-open"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-open')
|
||||
class="nav nav-treeview menu-open"
|
||||
@stop
|
||||
|
||||
@section('status')
|
||||
class="active"
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('PageHeader')
|
||||
@@ -17,40 +25,51 @@ class="active"
|
||||
</ol>
|
||||
@stop
|
||||
|
||||
<style type="text/css">
|
||||
.select2-container--default .select2-selection--single {
|
||||
border: 1px solid #ced4da !important;
|
||||
border-radius: 0.25rem !important;
|
||||
height: 35px !important;
|
||||
}
|
||||
.select2-selection__rendered{margin-top: 2px !important;}
|
||||
|
||||
.select2-selection__arrow { top: 5px !important; }
|
||||
</style>
|
||||
|
||||
@section('content')
|
||||
{!! Form::model($status,['route'=>['statuss.update', $status->id],'method'=>'PATCH','files' => true]) !!}
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h4 class="box-title">{!! Lang::get('lang.edit_details') !!}</h4>
|
||||
@if(Session::has('errors'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fas fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!}!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<br/>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li class="error-message-padding">{{ $error }}</li>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fas fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('failed'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fas fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!} !</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<p>{{Session::get('failed')}}</p>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="card card-light">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">{!! Lang::get('lang.edit_details') !!}</h3>
|
||||
</div><!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
@if(Session::has('errors'))
|
||||
<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/>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li class="error-message-padding">{{ $error }}</li>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
@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('failed'))
|
||||
<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>
|
||||
<p>{{Session::get('failed')}}</p>
|
||||
</div>
|
||||
@endif
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
@@ -63,73 +82,74 @@ class="active"
|
||||
<label>{!! Lang::get('lang.display_order') !!}: <span class="text-red"> *</span></label><br>
|
||||
<input type="number" name="sort" min="1" class="form-control" value="{!! $status->sort !!}">
|
||||
</div>
|
||||
</div><div class="col-md-2">
|
||||
</div>
|
||||
<div class="col-md-2" id="ticket-status-icon-container">
|
||||
<div class="form-group {{ $errors->has('icon_class') ? 'has-error' : '' }}">
|
||||
<i class=></i>
|
||||
<label>{!! Lang::get('lang.icon_class') !!}: <span class="text-red"> *</span></label><br>
|
||||
<select class="form-control icons" name="icon_class" style="font-family: FontAwesome, sans-serif;" required>
|
||||
<option <?php if ($status->icon_class == "fa fa fa-edit") echo 'selected="selected"' ?> value="fa fa-edit"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-folder-open") echo 'selected="selected"' ?> value="fa fa-folder-open"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-minus-circle") echo 'selected="selected"' ?> value="fa fa-minus-circle"></option>
|
||||
<option <?php if ($status->icon_class == "glyphicon glyphicon-alert") echo 'selected="selected"' ?> value="glyphicon glyphicon-alert"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa fa-bars") echo 'selected="selected"' ?> value="fa fa-bars"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-bell-o") echo 'selected="selected"' ?> value="fa fa-bell-o"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-bookmark-o") echo 'selected="selected"' ?> value="fa fa-bookmark-o"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-bug") echo 'selected="selected"' ?> value="fa fa-bug"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-bullhorn") echo 'selected="selected"' ?> value="fa fa-bullhorn"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-calendar") echo 'selected="selected"' ?> value="fa fa-calendar"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-cart-plus") echo 'selected="selected"' ?> value="fa fa-cart-plus"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-check") echo 'selected="selected"' ?> value="fa fa-check"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-check-circle") echo 'selected="selected"' ?> value="fa fa-check-circle"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-check-circle-o") echo 'selected="selected"' ?> value="fa fa-check-circle-o"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-check-square") echo 'selected="selected"' ?> value="fa fa-check-square"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-check-square-o") echo 'selected="selected"' ?> value="fa fa-check-square-o"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-circle-o-notch") echo 'selected="selected"' ?> value="fa fa-circle-o-notch"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-clock-o") echo 'selected="selected"' ?> value="fa fa-clock-o"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-close") echo 'selected="selected"' ?> value="fa fa-close"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-code") echo 'selected="selected"' ?> value="fa fa-code"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-hand-paper-o") echo 'selected="selected"' ?> value="fa fa-hand-paper-o"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-hourglass-half") echo 'selected="selected"' ?> value="fa fa-hourglass-half"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-cog") echo 'selected="selected"' ?> value="fa fa-cog"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-cogs") echo 'selected="selected"' ?> value="fa fa-cogs"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-comment") echo 'selected="selected"' ?> value="fa fa-comment"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-comment-o") echo 'selected="selected"' ?> value="fa fa-comment-o"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-commenting") echo 'selected="selected"' ?> value="fa fa-commenting"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-commenting-o") echo 'selected="selected"' ?> value="fa fa-commenting-o"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-comments") echo 'selected="selected"' ?> value="fa fa-comments"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-comments-o") echo 'selected="selected"' ?> value="fa fa-comments-o"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-edit") echo 'selected="selected"' ?> value="fa fa-edit"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-envelope-o") echo 'selected="selected"' ?> value="fa fa-envelope-o"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-exchange") echo 'selected="selected"' ?> value="fa fa-exchange"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-exclamation") echo 'selected="selected"' ?> value="fa fa-exclamation"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-exclamation-triangle") echo 'selected="selected"' ?> value="fa fa-exclamation-triangle"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-external-link") echo 'selected="selected"' ?> value="fa fa-external-link"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-eye") echo 'selected="selected"' ?> value="fa fa-eye"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-feed") echo 'selected="selected"' ?> value="fa fa-feed"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-flag-o") echo 'selected="selected"' ?> value="fa fa-flag-o"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-flash") echo 'selected="selected"' ?> value="fa fa-flash"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-folder-o") echo 'selected="selected"' ?> value="fa fa-folder-o"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-folder-open-o") echo 'selected="selected"' ?> value="fa fa-folder-open-o"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-group") echo 'selected="selected"' ?> value="fa fa-group"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-info") echo 'selected="selected"' ?> value="fa fa-info"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-life-ring") echo 'selected="selected"' ?> value="fa fa-life-ring"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-line-chart") echo 'selected="selected"' ?> value="fa fa-line-chart"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-location-arrow") echo 'selected="selected"' ?> value="fa fa-location-arrow"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-lock") echo 'selected="selected"' ?> value="fa fa-lock"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-mail-forward") echo 'selected="selected"' ?> value="fa fa-mail-forward"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-mail-reply") echo 'selected="selected"' ?> value="fa fa-mail-reply"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-mail-reply-all") echo 'selected="selected"' ?> value="fa fa-mail-reply-all"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-times") echo 'selected="selected"' ?> value="fa fa-times"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-trash-o") echo 'selected="selected"' ?> value="fa fa-trash-o"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-user") echo 'selected="selected"' ?> value="fa fa-user"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-user-plus") echo 'selected="selected"' ?> value="fa fa-user-plus"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-user-secret") echo 'selected="selected"' ?> value="fa fa-user-secret"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-user-times") echo 'selected="selected"' ?> value="fa fa-user-times"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-users") echo 'selected="selected"' ?> value="fa fa-users"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-wrench") echo 'selected="selected"' ?> value="fa fa-wrench"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-circle-o-notch") echo 'selected="selected"' ?> value="fa fa-circle-o-notch"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-refresh") echo 'selected="selected"' ?> value="fa fa-refresh"></option>
|
||||
<option <?php if ($status->icon_class == "fa fa-spinner") echo 'selected="selected"' ?> value="fa fa-spinner"></option>
|
||||
<select class="form-control icons" name="icon_class" style="font-family: 'FontAwesome', sans-serif;" required>
|
||||
<option <?php if ($status->icon_class == "fas fa-edit") echo 'selected="selected"' ?> value="fas fa-edit"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-folder-open") echo 'selected="selected"' ?> value="fas fa-folder-open"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-minus-circle") echo 'selected="selected"' ?> value="fas fa-minus-circle"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-exclamation-triangle") echo 'selected="selected"' ?> value="fas fa-exclamation-triangle"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-bars") echo 'selected="selected"' ?> value="fas fa-bars"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-bell") echo 'selected="selected"' ?> value="fas fa-bell"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-bookmark") echo 'selected="selected"' ?> value="fas fa-bookmark"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-bug") echo 'selected="selected"' ?> value="fas fa-bug"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-bullhorn") echo 'selected="selected"' ?> value="fas fa-bullhorn"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-calendar") echo 'selected="selected"' ?> value="fas fa-calendar"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-cart-plus") echo 'selected="selected"' ?> value="fas fa-cart-plus"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-check") echo 'selected="selected"' ?> value="fas fa-check"></option>
|
||||
<option <?php if ($status->icon_class == "far fa-check-circle") echo 'selected="selected"' ?> value="far fa-check-circle"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-check-circle") echo 'selected="selected"' ?> value="fas fa-check-circle"></option>
|
||||
<option <?php if ($status->icon_class == "far fa-check-square") echo 'selected="selected"' ?> value="far fa-check-square"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-check-square") echo 'selected="selected"' ?> value="fas fa-check-square"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-circle-notch") echo 'selected="selected"' ?> value="fas fa-circle-notch"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-clock") echo 'selected="selected"' ?> value="fas fa-clock"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-times") echo 'selected="selected"' ?> value="fas fa-times"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-code") echo 'selected="selected"' ?> value="fas fa-code"></option>
|
||||
<option <?php if ($status->icon_class == "far fa-hand-paper") echo 'selected="selected"' ?> value="far fa-hand-paper"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-hourglass-half") echo 'selected="selected"' ?> value="fas fa-hourglass-half"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-cog") echo 'selected="selected"' ?> value="fas fa-cog"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-cogs") echo 'selected="selected"' ?> value="fas fa-cogs"></option>
|
||||
<option <?php if ($status->icon_class == "far fa-comment") echo 'selected="selected"' ?> value="far fa-comment"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-comment") echo 'selected="selected"' ?> value="fas fa-comment"></option>
|
||||
<option <?php if ($status->icon_class == "far fa-comment-dots") echo 'selected="selected"' ?> value="far fa-comment-dots"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-comment-dots") echo 'selected="selected"' ?> value="fas fa-comment-dots"></option>
|
||||
<option <?php if ($status->icon_class == "far fa-comments") echo 'selected="selected"' ?> value="far fa-comments"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-comments") echo 'selected="selected"' ?> value="fas fa-comments"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-edit") echo 'selected="selected"' ?> value="fas fa-edit"></option>
|
||||
<option <?php if ($status->icon_class == "far fa-envelope") echo 'selected="selected"' ?> value="far fa-envelope"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-exchange-alt") echo 'selected="selected"' ?> value="fas fa-exchange-alt"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-exclamation") echo 'selected="selected"' ?> value="fas fa-exclamation"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-exclamation-triangle") echo 'selected="selected"' ?> value="fas fa-exclamation-triangle"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-external-link-alt") echo 'selected="selected"' ?> value="fas fa-external-link-alt"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-eye") echo 'selected="selected"' ?> value="fas fa-eye"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-rss") echo 'selected="selected"' ?> value="fas fa-rss"></option>
|
||||
<option <?php if ($status->icon_class == "far fa-flag") echo 'selected="selected"' ?> value="far fa-flag"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-bolt") echo 'selected="selected"' ?> value="fas fa-bolt"></option>
|
||||
<option <?php if ($status->icon_class == "far fa-folder") echo 'selected="selected"' ?> value="far fa-folder"></option>
|
||||
<option <?php if ($status->icon_class == "far fa-folder-open") echo 'selected="selected"' ?> value="far fa-folder-open"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-users") echo 'selected="selected"' ?> value="fas fa-users"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-info") echo 'selected="selected"' ?> value="fas fa-info"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-life-ring") echo 'selected="selected"' ?> value="fas fa-life-ring"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-chart-line") echo 'selected="selected"' ?> value="fas fa-chart-line"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-location-arrow") echo 'selected="selected"' ?> value="fas fa-location-arrow"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-lock") echo 'selected="selected"' ?> value="fas fa-lock"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-share") echo 'selected="selected"' ?> value="fas fa-share"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-reply") echo 'selected="selected"' ?> value="fas fa-reply"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-reply-all") echo 'selected="selected"' ?> value="fas fa-reply-all"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-times") echo 'selected="selected"' ?> value="fas fa-times"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-trash") echo 'selected="selected"' ?> value="fas fa-trash"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-user") echo 'selected="selected"' ?> value="fas fa-user"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-user-plus") echo 'selected="selected"' ?> value="fas fa-user-plus"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-user-secret") echo 'selected="selected"' ?> value="fas fa-user-secret"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-user-times") echo 'selected="selected"' ?> value="fas fa-user-times"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-users") echo 'selected="selected"' ?> value="fas fa-users"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-wrench") echo 'selected="selected"' ?> value="fas fa-wrench"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-circle-notch") echo 'selected="selected"' ?> value="fas fa-circle-notch"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-sync") echo 'selected="selected"' ?> value="fas fa-sync"></option>
|
||||
<option <?php if ($status->icon_class == "fas fa-spinner") echo 'selected="selected"' ?> value="fas fa-spinner"></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -139,10 +159,10 @@ class="active"
|
||||
{!! Form::label('gender',Lang::get('lang.resolved_status')) !!}
|
||||
<div class="callout callout-default" style="font-style: oblique;">{!! Lang::get('lang.status_msg3') !!}</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
<div class="col-sm-3">
|
||||
{!! Form::radio('state','closed',true) !!} {{Lang::get('lang.yes')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<div class="col-sm-3">
|
||||
{!! Form::radio('state','open') !!} {{Lang::get('lang.no')}}
|
||||
</div>
|
||||
</div>
|
||||
@@ -152,10 +172,10 @@ class="active"
|
||||
{!! Form::label('gender',Lang::get('lang.deleted_status')) !!}
|
||||
<div class="callout callout-default" style="font-style: oblique;">{!! Lang::get('lang.status_msg2') !!}</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
<div class="col-sm-3">
|
||||
{!! Form::radio('delete','yes') !!} {{Lang::get('lang.yes')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<div class="col-sm-3">
|
||||
{!! Form::radio('delete','no') !!} {{Lang::get('lang.no')}}
|
||||
</div>
|
||||
</div>
|
||||
@@ -165,18 +185,32 @@ class="active"
|
||||
{!! Form::label('gender',Lang::get('lang.notify_user')) !!}
|
||||
<div class="callout callout-default" style="font-style: oblique;">{!! Lang::get('lang.status_msg1') !!}</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
<div class="col-sm-3">
|
||||
{!! Form::radio('email_user','yes') !!} {{Lang::get('lang.yes')}}
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<div class="col-sm-3">
|
||||
{!! Form::radio('email_user','no') !!} {{Lang::get('lang.no')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<div class="card-footer">
|
||||
{!! Form::submit(Lang::get('lang.update'),['class'=>'btn btn-primary'])!!}
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
<script src="{{asset("lb-faveo/plugins/select2/select2.full.min.js")}}" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
function format(option){
|
||||
var icon = $(option.element).attr('value');
|
||||
return '<i class="'+icon+'" ></i> ';
|
||||
}
|
||||
$('.icons').select2({
|
||||
templateResult: format,
|
||||
templateSelection: format,
|
||||
escapeMarkup: function (m) {
|
||||
return m;
|
||||
}
|
||||
})
|
||||
</script>
|
||||
@stop
|
@@ -1,11 +1,19 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Tickets')
|
||||
active
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-parent')
|
||||
class="nav-item menu-open"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-open')
|
||||
class="nav nav-treeview menu-open"
|
||||
@stop
|
||||
|
||||
@section('status')
|
||||
class="active"
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('PageHeader')
|
||||
@@ -18,27 +26,26 @@ class="active"
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{!! Lang::get('lang.list_of_status') !!}</h3>
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fas fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('failed'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fas fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!} !</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<p>{{Session::get('failed')}}</p>
|
||||
</div>
|
||||
@endif
|
||||
<div class="card card-light">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">{!! Lang::get('lang.list_of_status') !!}</h3>
|
||||
</div><!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
|
||||
@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('failed'))
|
||||
<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>
|
||||
<p>{{Session::get('failed')}}</p>
|
||||
</div>
|
||||
@endif
|
||||
<div class="card-body">
|
||||
<table id="example1" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -54,7 +61,7 @@ class="active"
|
||||
<td>{!! $status->name !!}</td>
|
||||
<td>{!! $status->sort !!}</td>
|
||||
<td>
|
||||
<a href="{!! route('status.edit',$status->id) !!}"><button class="btn btn-info btn-sm">{!! Lang::get('lang.edit_details') !!}</button></a>
|
||||
<a href="{!! route('status.edit',$status->id) !!}"><button class="btn btn-primary btn-sm">{!! Lang::get('lang.edit_details') !!}</button></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@@ -62,5 +69,4 @@ class="active"
|
||||
</table>
|
||||
</div><!-- /.box-body -->
|
||||
</div>
|
||||
|
||||
@stop
|
@@ -1,15 +1,19 @@
|
||||
@extends('themes.default1.admin.layout.admin')
|
||||
|
||||
@section('Tickets')
|
||||
active
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('tickets-bar')
|
||||
active
|
||||
@section('ticket-menu-parent')
|
||||
class="nav-item menu-open"
|
||||
@stop
|
||||
|
||||
@section('ticket-menu-open')
|
||||
class="nav nav-treeview menu-open"
|
||||
@stop
|
||||
|
||||
@section('tickets')
|
||||
class="active"
|
||||
class="nav-link active"
|
||||
@stop
|
||||
|
||||
@section('HeadInclude')
|
||||
@@ -29,140 +33,107 @@ class="active"
|
||||
@section('content')
|
||||
<!-- open a form -->
|
||||
{!! Form::model($tickets,['url' => 'postticket/'.$tickets->id, 'method' => 'PATCH']) !!}
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{{Lang::get('lang.ticket-setting')}}</h3>
|
||||
<!-- check whether success or not -->
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fas fa-check-circle"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{!! Session::get('success') !!}
|
||||
</div>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fas fa-ban"></i>
|
||||
<b>{!! Lang::get('lang.alert') !!}!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{!! Session::get('fails') !!}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('errors'))
|
||||
<?php //dd($errors); ?>
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fas 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('status'))
|
||||
<li class="error-message-padding">{!! $errors->first('status', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('priority'))
|
||||
<li class="error-message-padding">{!! $errors->first('priority', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('sla'))
|
||||
<li class="error-message-padding">{!! $errors->first('sla', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('help_topic'))
|
||||
<li class="error-message-padding">{!! $errors->first('help_topic', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('collision_avoid'))
|
||||
<li class="error-message-padding">{!! $errors->first('collision_avoid', ':message') !!}</li>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
<div class="card card-light">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">{{Lang::get('lang.ticket-setting')}}</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<!-- check whether success or not -->
|
||||
@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
|
||||
<!-- failure message -->
|
||||
@if(Session::has('fails'))
|
||||
<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>
|
||||
{!! Session::get('fails') !!}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('errors'))
|
||||
<?php //dd($errors); ?>
|
||||
<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('status'))
|
||||
<li class="error-message-padding">{!! $errors->first('status', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('priority'))
|
||||
<li class="error-message-padding">{!! $errors->first('priority', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('sla'))
|
||||
<li class="error-message-padding">{!! $errors->first('sla', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('help_topic'))
|
||||
<li class="error-message-padding">{!! $errors->first('help_topic', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('collision_avoid'))
|
||||
<li class="error-message-padding">{!! $errors->first('collision_avoid', ':message') !!}</li>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<!-- Default Status: Required : manual: Dropdowm -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('status') ? 'has-error' : '' }}">
|
||||
{!! Form::label('status',Lang::get('lang.default_status')) !!}
|
||||
<select class="form-control" id="status" name="status">
|
||||
<option value="1" >Open</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-md-6 {{ $errors->has('status') ? 'has-error' : '' }}">
|
||||
{!! Form::label('status',Lang::get('lang.default_status')) !!}
|
||||
<select class="form-control" id="status" name="status">
|
||||
<option value="1" >Open</option>
|
||||
</select>
|
||||
</div>
|
||||
<!-- Default Priority: Required : manual : Dropdowm -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('priority') ? 'has-error' : '' }}">
|
||||
{!! Form::label('priority',Lang::get('lang.default_priority')) !!}
|
||||
{!!Form::select('priority', [''=>'select a priority','Priorities'=>$priority->pluck('priority_desc','priority_id')->toArray()],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
<div class="form-group col-md-6 {{ $errors->has('priority') ? 'has-error' : '' }}">
|
||||
{!! Form::label('priority',Lang::get('lang.default_priority')) !!}
|
||||
{!!Form::select('priority', [''=>'select a priority','Priorities'=>$priority->pluck('priority_desc','priority_id')->toArray()],null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- Default SLA: Required : manual : Dropdowm -->
|
||||
<!-- <div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('sla') ? 'has-error' : '' }}">
|
||||
{!! Form::label('sla',Lang::get('lang.default_sla')) !!}
|
||||
{!!Form::select('sla', $slas->pluck('grace_period','id'),null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div> -->
|
||||
<!-- Default Help Topic: Dropdowm from Help topic table -->
|
||||
<!-- <div class="col-md-4">
|
||||
<div class="form-group {{ $errors->has('help_topic') ? 'has-error' : '' }}">
|
||||
{!! Form::label('help_topic',Lang::get('lang.default_help_topic')) !!}
|
||||
{!!Form::select('help_topic', $topics->pluck('topic','id'),null,['class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
--><!-- Agent Collision Avoidance Duration: text-number -minutes -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('collision_avoid') ? 'has-error' : '' }}">
|
||||
{!! Form::label('collision_avoid',Lang::get('lang.agent_collision_avoidance_duration')) !!}
|
||||
<div class="input-group">
|
||||
<input type="number" class="form-control" name="collision_avoid" min="0" step="1" value="{{$tickets->collision_avoid}}" placeholder="in minutes">
|
||||
<div class="input-group-addon">
|
||||
<span><i class="fa fa-clock-o"></i> {!!Lang::get('lang.in_minutes')!!}</span>
|
||||
</div>
|
||||
<!-- Agent Collision Avoidance Duration: text-number -minutes -->
|
||||
<div class="form-group col-md-6 {{ $errors->has('collision_avoid') ? 'has-error' : '' }}">
|
||||
{!! Form::label('collision_avoid',Lang::get('lang.agent_collision_avoidance_duration')) !!}
|
||||
<div class="input-group">
|
||||
<input type="number" class="form-control" name="collision_avoid" min="0" step="1" value="{{$tickets->collision_avoid}}" placeholder="in minutes">
|
||||
<div class="input-group-append">
|
||||
<span class="btn btn-default"><i class="fas fa-clock"></i> {!!Lang::get('lang.in_minutes')!!}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('help_topic') ? 'has-error' : '' }}">
|
||||
{!! Form::label('help_topic',Lang::get('lang.lock_ticket_frequency')) !!}
|
||||
|
||||
<select name='lock_ticket_frequency' class="form-control">
|
||||
<option @if($tickets->lock_ticket_frequency == null) selected="true" @endif value="0">{!! Lang::get('lang.no')!!}</option>
|
||||
<option @if($tickets->lock_ticket_frequency == 1) selected="true" @endif value="1">{!! Lang::get('lang.only-once')!!}</option>
|
||||
<option @if($tickets->lock_ticket_frequency == 2) selected="true" @endif value="2">{!! Lang::get('lang.frequently')!!}</option>
|
||||
</select>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-md-6 {{ $errors->has('help_topic') ? 'has-error' : '' }}">
|
||||
{!! Form::label('help_topic',Lang::get('lang.lock_ticket_frequency')) !!}
|
||||
<select name='lock_ticket_frequency' class="form-control">
|
||||
<option @if($tickets->lock_ticket_frequency == null) selected="true" @endif value="0">{!! Lang::get('lang.no')!!}</option>
|
||||
<option @if($tickets->lock_ticket_frequency == 1) selected="true" @endif value="1">{!! Lang::get('lang.only-once')!!}</option>
|
||||
<option @if($tickets->lock_ticket_frequency == 2) selected="true" @endif value="2">{!! Lang::get('lang.frequently')!!}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('num_format') ? 'has-error' : '' }}">
|
||||
{!! Form::label('num_format',Lang::get('lang.format')) !!}
|
||||
<a href="#" data-toggle="tooltip" data-placement="right" title="{{Lang::get('lang.ticket-number-format')}}"><i class="fa fa-question-circle" style="padding: 0px;"></i></a>
|
||||
{!! Form::text('num_format',null,['class'=>'form-control','id'=>'format']) !!}
|
||||
<div class="form-group col-md-6 {{ $errors->has('num_format') ? 'has-error' : '' }}">
|
||||
{!! Form::label('num_format',Lang::get('lang.format')) !!}
|
||||
<a href="#" data-toggle="tooltip" data-placement="right" title="{{Lang::get('lang.ticket-number-format')}}"><i class="fa fa-question-circle" style="padding: 0px;"></i></a>
|
||||
{!! Form::text('num_format',null,['class'=>'form-control','id'=>'format']) !!}
|
||||
|
||||
<div id="result"></div>
|
||||
<div id="result"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group {{ $errors->has('num_sequence') ? 'has-error' : '' }}">
|
||||
{!! Form::label('num_sequence',Lang::get('lang.type')) !!}
|
||||
<a href="#" data-toggle="tooltip" data-placement="right" title="{{Lang::get('lang.ticket-number-type')}}"><i class="fa fa-question-circle" style="padding: 0px;"></i></a>
|
||||
|
||||
{!! Form::select('num_sequence',[''=>'Select','sequence'=>'Sequence','random'=>'Random'],null,['class'=>'form-control','id'=>'type']) !!}
|
||||
|
||||
<div id="result"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-6 {{ $errors->has('num_sequence') ? 'has-error' : '' }}">
|
||||
{!! Form::label('num_sequence',Lang::get('lang.type')) !!}
|
||||
<a href="#" data-toggle="tooltip" data-placement="right" title="{{Lang::get('lang.ticket-number-type')}}"><i class="fa fa-question-circle" style="padding: 0px;"></i></a>
|
||||
|
||||
{!! Form::select('num_sequence',[''=>'Select','sequence'=>'Sequence','random'=>'Random'],null,['class'=>'form-control','id'=>'type']) !!}
|
||||
|
||||
<div id="result"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="box-footer">
|
||||
<div class="card-footer">
|
||||
{!! Form::submit(Lang::get('lang.submit'),['class'=>'btn btn-primary'])!!}
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -483,14 +483,14 @@
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<li @yield('ticket-menu-parent') class="nav-item">
|
||||
|
||||
<a href="#" @yield('Tickets') class="nav-link">
|
||||
<i class="nav-icon fas fa-ticket-alt"></i>
|
||||
<p>{!! Lang::get('lang.tickets') !!} <i class="fas fa-angle-left right"></i></p>
|
||||
</a>
|
||||
|
||||
<ul class="nav nav-treeview">
|
||||
<ul @yield('ticket-menu-open') class="nav nav-treeview">
|
||||
|
||||
<li class="nav-item">
|
||||
<a href="{{url('getticket')}}" @yield('tickets') class="nav-link">
|
||||
|
Reference in New Issue
Block a user