update v1.0.5.1

This commit is contained in:
sujitprasad
2016-01-27 19:46:55 +05:30
parent 366acf316e
commit b1d1ebbbef
699 changed files with 148371 additions and 1404 deletions

View File

@@ -18,7 +18,7 @@ class="active"
@section('profileimg')
@if(Auth::user() && Auth::user()->profile_pic)
<img src="{{asset('lb-faveo/profilepic')}}{{'/'}}{{Auth::user()->profile_pic}}" class="img-circle" alt="User Image" />
<img src="{{asset('lb-faveo/media/profilepic')}}{{'/'}}{{Auth::user()->profile_pic}}" class="img-circle" alt="User Image" />
@else
@if(Auth::user())
<img src="{{ Gravatar::src(Auth::user()->email,200) }}" class="img-circle" alt="User Image">
@@ -47,16 +47,28 @@ class="active"
@endif
<?php
if($user->primary_dpt){
$dept = App\Model\helpdesk\Agent\Department::where('id','=',$user->primary_dpt)->first();
$dept = App\Model\helpdesk\Agent\Department::where('id','=', $user->primary_dpt)->first();
$dept = $dept->name;
} else {
$dept = "";
}
if($user->assign_group){
$grp = App\Model\helpdesk\Agent\Groups::where('id','=',$user->assign_group)->first();
$grp = App\Model\helpdesk\Agent\Groups::where('id','=', $user->assign_group)->first();
$grp = $grp->name;
} else {
$grp = "";
}
if($user->agent_tzone){
$timezone = App\Model\helpdesk\Utility\Timezones::where('id','=', $user->agent_tzone)->first();
$timezone = $timezone->name;
} else {
$timezone = "";
}
?>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.department') !!}:</b></h4></th><td class="col-md-6"><h4>{{ $dept->name }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.group') !!}:</b></h4></th><td class="col-md-6"><h4>{{ $grp->name }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.department') !!}:</b></h4></th><td class="col-md-6"><h4>{{ $dept }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.group') !!}:</b></h4></th><td class="col-md-6"><h4>{{ $grp }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.company') !!}:</b></h4></th><td class="col-md-6"> <h4>{{ $user->company }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.time_zone') !!}:</b></h4></th><td class="col-md-6"><h4> {{ $user->agent_tzone }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.time_zone') !!}:</b></h4></th><td class="col-md-6"><h4> {{ $timezone }}</h4></td></tr>
<tr><th class="col-md-8"><h4><b>{!! Lang::get('lang.role') !!}:</b></h4></th><td class="col-md-6"> <h4>{{ $user->role }}</h4></td></tr>
</table>
</div>