Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/tradze/www/storage-old/framework/views/ |
<?php $__env->startSection('content'); ?>
<div class="page-content">
<!-- BEGIN PAGE HEADER-->
<div class="page-bar">
<ul class="page-breadcrumb">
<li>
<i class="fa fa-home"></i>
<a href="<?php echo url(''); ?>"><?php echo e(trans('general.breadcrumbs_home')); ?></a>
<i class="fa fa-angle-right"></i>
</li>
<li>
<a href="<?php echo route('admin.users.salon.index'); ?>"><?php echo e(trans('users::salon.breadcrumbs_title')); ?></a>
<i class="fa fa-angle-right"></i>
</li>
<li>
<a href="<?php echo route('admin.users.salon.index'); ?>"><?php echo e(trans('users::salon.page_title')); ?></a>
<i class="fa fa-angle-right"></i>
</li>
<li>
<a href="#"><?php echo e(trans('users::salon.show_title')); ?></a>
</li>
</ul>
<div class="page-toolbar">
<a href="<?php echo e(route('admin.users.salon.index')); ?>" class="btn blue">
<i class="fa fa-angle-left"></i>
<?php echo e(trans('general.action_back')); ?>
</a>
</div>
</div>
<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->
<div class="row margin-top-20">
<div class="col-md-12">
<!-- BEGIN PROFILE SIDEBAR -->
<div class="profile-sidebar">
<!-- PORTLET MAIN -->
<div class="portlet light profile-sidebar-portlet">
<!-- SIDEBAR USERPIC -->
<div class="profile-userpic">
<img src="data:image/jpeg;base64,<?php echo e(base64_encode($obj->avatar)); ?>" class="img-responsive" alt="">
</div>
<!-- END SIDEBAR USERPIC -->
<!-- SIDEBAR USER TITLE -->
<div class="profile-usertitle">
<div class="profile-usertitle-name">
<?php echo e($obj->name); ?>
</div>
<div class="profile-usertitle-job">
<?php echo e($obj->role); ?>
</div>
</div>
<!-- END SIDEBAR USER TITLE -->
<!-- SIDEBAR MENU -->
<div class="profile-usermenu">
<ul class="nav">
<li class="active">
<a href="<?php echo e(route('admin.users.salon.show',['id'=>$obj->id])); ?>">
<i class="icon-home"></i>
<?php echo e(trans('users::salon.overview_title')); ?>
</a>
</li>
<li>
<a href="<?php echo e(route('admin.users.salon.edit',['id'=>$obj->id])); ?>">
<i class="icon-settings"></i>
<?php echo e(trans('users::salon.settings_title')); ?>
</a>
</li>
<li>
<a href="<?php echo e(route('admin.users.loginas',['id'=>$obj->id])); ?>">
<i class="icon-login"></i>
Login As
</a>
</li>
</ul>
</div>
<!-- END MENU -->
<div class="portlet light">
<div>
<h4 class="profile-desc-title">About <?php echo e($obj->name); ?></h4>
<div class="margin-top-10 profile-desc-link">
<i class="fa fa-phone"></i>
<a href="tel:<?php echo e($obj->profile->mobile_number); ?>"><?php echo e($obj->profile->mobile_number); ?></a>
</div>
<div class="margin-top-10 profile-desc-link">
<i class="fa fa-envelope"></i>
<a href="mailto:<?php echo e($obj->email); ?>"><?php echo e($obj->email); ?></a>
</div>
<div class="margin-top-20">
<span class="profile-desc-text"><?php echo e(str_limit($obj->profile->about,200)); ?></span>
</div>
</div>
</div>
</div>
<!-- END PORTLET MAIN -->
</div>
<!-- END BEGIN PROFILE SIDEBAR -->
<!-- BEGIN PROFILE CONTENT -->
<div class="profile-content">
<!--Bookings-->
<div class="row">
<div class="col-md-12">
<!-- BEGIN PORTLET -->
<div class="portlet light ">
<div class="portlet-title">
<div class="caption caption-md">
<i class="icon-calendar"></i>
<span class="caption-subject font-blue-madison bold uppercase"><?php echo e(trans('users::salon.portlet_bookings')); ?></span>
</div>
<div class="actions">
</div>
</div>
<div class="portlet-body">
<table class="table table-striped table-bordered table-advance table-hover table-condensed">
<thead>
<tr>
<th>
<?php echo e(trans('users::salon.col_date_hour')); ?>
</th>
<th>
<?php echo e(trans('users::salon.col_location')); ?>
</th>
<th>
<?php echo e(trans('users::salon.col_duration')); ?>
</th>
<th>
<?php echo e(trans('users::salon.col_therapist')); ?>
</th>
<th></th>
</tr>
</thead>
<tbody>
<?php $__empty_1 = true; foreach($bookings as $booking): $__empty_1 = false; ?>
<tr>
<td><?php echo e($booking->date_to_human); ?> <?php echo e($booking->hour_to_human); ?></td>
<td><?php echo e($booking->location); ?></td>
<td><?php echo e($booking->duration); ?></td>
<td>
<?php if($booking->therapists): ?>
<?php foreach($booking->therapists as $therapist): ?>
<div><?php echo e($therapist->name); ?></div>
<?php endforeach; ?>
<?php endif; ?>
</td>
<td>
<a href="<?php echo e(route('admin.schedules.bookings.show',['bookings'=>$booking->id])); ?>" title="" class="btn btn-xs default tooltips" data-original-title="details"><i class="fa fa-eye"></i> View</a>
</td>
</tr>
<?php endforeach; if ($__empty_1): ?>
<tr>
<td colspan="5"><?php echo e(trans('general.no_data')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
</div>
</div>
<!-- END PORTLET -->
</div>
</div>
<!--End Bookings-->
<div class="row">
<!--chats-->
<div class="col-md-6">
<!-- BEGIN PORTLET -->
<div class="portlet light">
<div class="portlet-title tabbable-line">
<div class="caption caption-md">
<i class="icon-bubble"></i>
<span class="caption-subject font-blue-madison bold uppercase"><?php echo e(trans('users::salon.portlet_chats')); ?></span>
</div>
<div class="actions">
<a href="<?php echo e(route('admin.users.salon.messages.create',['userid'=>$obj->id])); ?>" class="btn btn-sm blue"><i class="fa fa-plus"></i></a>
</div>
</div>
<div class="portlet-body">
<?php if($threads->count() > 0): ?>
<div class="scroller" style="max-height: 600px;" data-always-visible="0" data-rail-visible="0" data-handle-color="#dae3e7">
<div class="todo-tasklist">
<?php foreach($threads as $thread): ?>
<div class="todo-tasklist-item">
<a href="<?php echo e(route('admin.users.salon.messages.show',['user_id'=>$obj->id,'id'=>$thread->id])); ?>" style="text-decoration:none;">
<img class="todo-userpic pull-left" width="40" src="data:image/jpeg;base64,<?php echo e(base64_encode($thread->latestMessage->user->getAvatar())); ?>" data-pagespeed-url-hash="2816098985" onload="pagespeed.CriticalImages.checkImageForCriticality(this);">
<div class="todo-tasklist-item-title">
<?php echo e($thread->subject); ?>
</div>
<div class="todo-tasklist-item-text">
<?php echo e($thread->latestMessage->body); ?>
</div>
<div class="todo-tasklist-controls pull-left">
<span class="todo-tasklist-date"><i class="fa fa-calendar"></i> <?php echo e($thread->created_at->format('d M Y h:i A')); ?> </span>
<span class="todo-tasklist-badge badge badge-roundless"><?php echo e($thread->creator()->name); ?></span>
</div>
</a>
</div>
<?php endforeach; ?>
</div>
</div>
<?php else: ?>
<p>Sorry, no threads.</p>
<?php endif; ?>
</div>
</div>
<!-- END PORTLET -->
</div>
<!--end chats-->
<!--address-->
<div class="col-md-6">
<div class="portlet light">
<div class="portlet-title">
<div class="caption caption-md">
<i class="icon-directions theme-font"></i>
<span class="caption-subject font-blue-madison bold uppercase"><?php echo e(trans('users::salon.portlet_address')); ?></span>
</div>
</div>
<div class="portlet-body">
<table class="table table-striped table-bordered table-advance table-hover table-condensed">
<thead>
<tr>
<th>
<?php echo e(trans('users::salon.col_postcode')); ?>
</th>
<th>
<?php echo e(trans('users::salon.col_county')); ?>
</th>
<th>
<?php echo e(trans('users::salon.col_address')); ?>
</th>
</tr>
</thead>
<tbody>
<?php $__empty_1 = true; foreach($address as $adr): $__empty_1 = false; ?>
<tr>
<td><?php echo e($adr->postcode); ?></td>
<td><?php echo e($adr->county); ?></td>
<td><?php echo e(str_limit($adr->address,20)); ?></td>
</tr>
<?php endforeach; if ($__empty_1): ?>
<tr>
<td colspan="3"><?php echo e(trans('general.no_data')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
</div>
</div>
</div>
<!--end address-->
</div>
</div>
<!-- END PROFILE CONTENT -->
</div>
<!-- END PAGE CONTENT-->
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts_page'); ?>
@parent
<script src="<?php echo e(asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/wysihtml5-0.3.0.js')); ?>"
type="text/javascript"></script>
<script src="<?php echo e(asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.js')); ?>"
type="text/javascript"></script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts_custom2'); ?>
<script>
var CSRF_TOKEN = $('input[name="_token"]').val();
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.profile', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>