Fix russian language for creating ticket

This commit is contained in:
maranqz
2019-07-19 13:46:54 +03:00
committed by Manish Verma
parent 500f674473
commit 4aca819f54
18 changed files with 130 additions and 41 deletions

View File

@@ -210,7 +210,7 @@ class = "nav-item active"
<div class="col-md-12 form-group">
<label>{!! Lang::get('lang.attachment') !!}</label>
<input type="file" name="attachment[]" multiple/><br/>
{!! Lang::get('lang.max') !!}. 10MB
{!! Lang::get('lang.max') !!}. {!! $max_size_in_actual !!}
</div>
{{-- Event fire --}}
<?php Event::fire(new App\Events\ClientTicketForm()); ?>

View File

@@ -327,11 +327,11 @@ class="active"
</li>
<li>
<?php if($conversation->staff_id > 0) { ?>
<i class="fa fa-group bg-yellow" title="Posted by Support Team"></i>
<i class="fa fa-group bg-yellow" title="<?= Lang::get('lang.posted_by_support_team') ?>"></i>
<?php } elseif($conversation->user_id > 0) { ?>
<i class="fa fa-user bg-aqua" title="Posted by Customer"></i>
<i class="fa fa-user bg-aqua" title="<?= Lang::get('lang.posted_by_customer') ?>"></i>
<?php } else { ?>
<i class="fa fa-mail-reply-all bg-purple" title="Posted by System"></i>
<i class="fa fa-mail-reply-all bg-purple" title="<?= Lang::get('lang.posted_by_system') ?>"></i>
<?php } ?>
<div class="timeline-item">
<span id="date" class="time"><i class="fa fa-clock-o"> </i> {{date_format($conversation->created_at, 'd/m/Y H:i:s')}}</span>

View File

@@ -327,11 +327,11 @@ class="active"
</li>
<li>
<?php if($conversation->staff_id > 0) { ?>
<i class="fa fa-group bg-yellow" title="Posted by Support Team"></i>
<i class="fa fa-group bg-yellow" title="<?= Lang::get('lang.posted_by_support_team') ?>"></i>
<?php } elseif($conversation->user_id > 0) { ?>
<i class="fa fa-user bg-aqua" title="Posted by Customer"></i>
<i class="fa fa-user bg-aqua" title="<?= Lang::get('lang.posted_by_customer') ?>"></i>
<?php } else { ?>
<i class="fa fa-mail-reply-all bg-purple" title="Posted by System"></i>
<i class="fa fa-mail-reply-all bg-purple" title="<?= Lang::get('lang.posted_by_system') ?>"></i>
<?php } ?>
<div class="timeline-item">
<span id="date" class="time"><i class="fa fa-clock-o"> </i> {{date_format($conversation->created_at, 'd/m/Y H:i:s')}}</span>

View File

@@ -418,13 +418,13 @@ $data = $ConvDate[0];
</li>
<li>
<?php if($conversation->is_internal) { ?>
<i class="fa fa-tag bg-purple" title="Posted by System"></i>
<i class="fa fa-tag bg-purple" title="<?= Lang::get('lang.posted_by_system') ?>"></i>
<?php }else{ if ($role->role == 'agent' || $role->role == 'admin') { ?>
<i class="fa fa-mail-reply-all bg-yellow" title="Posted by Support Team"></i>
<i class="fa fa-mail-reply-all bg-yellow" title="<?= Lang::get('lang.posted_by_support_team') ?>"></i>
<?php } elseif ($role->role == 'user') { ?>
<i class="fa fa-user bg-aqua" title="Posted by Customer"></i>
<i class="fa fa-user bg-aqua" title="<?= Lang::get('lang.posted_by_customer') ?>"></i>
<?php } else { ?>
<i class="fa fa-mail-reply-all bg-purple" title="Posted by System"></i>
<i class="fa fa-mail-reply-all bg-purple" title="<?= Lang::get('lang.posted_by_system') ?>"></i>
<?php } }
$attachment = App\Model\Ticket\Ticket_attachments::where('thread_id','=',$conversation->id)->first();
if($attachment == null ) {

View File

@@ -379,11 +379,11 @@ $data = $ConvDate[0];
<?php if($conversation->is_internal) { ?>
<i class="fa fa-tag bg-purple" title="Posted by System"></i>
<?php }else{ if ($role->role == 'agent' || $role->role == 'admin') { ?>
<i class="fa fa-mail-reply-all bg-yellow" title="Posted by Support Team"></i>
<i class="fa fa-mail-reply-all bg-yellow" title="<?= Lang::get('lang.posted_by_support_team') ?>"></i>
<?php } elseif ($role->role == 'user') { ?>
<i class="fa fa-user bg-aqua" title="Posted by Customer"></i>
<i class="fa fa-user bg-aqua" title="<?= Lang::get('lang.posted_by_customer') ?>"></i>
<?php } else { ?>
<i class="fa fa-mail-reply-all bg-purple" title="Posted by System"></i>
<i class="fa fa-mail-reply-all bg-purple" title="<?= Lang::get('lang.posted_by_system') ?>"></i>
<?php } }
$attachment = App\Model\Ticket\Ticket_attachments::where('thread_id','=',$conversation->id)->first();
if($attachment == null ) {