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/public_html/dev/storage/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.therapists.index'); ?>"><?php echo e(trans('users::therapists.breadcrumbs_title')); ?></a>
<i class="fa fa-angle-right"></i>
</li>
<li>
<a href="<?php echo route('admin.users.therapists.index'); ?>"><?php echo e(trans('users::therapists.page_title')); ?></a>
<i class="fa fa-angle-right"></i>
</li>
<li>
<a href="#"><?php echo e(trans('users::therapists.create_new_title')); ?></a>
</li>
</ul>
</div>
<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->
<div class="row margin-top-20">
<div class="col-md-12">
<!-- BEGIN PROFILE CONTENT -->
<div class="profile-content">
<div class="row">
<div class="col-md-12">
<div class="portlet light">
<div class="portlet-title tabbable-line">
<div class="caption caption-md">
<i class="icon-globe theme-font hide"></i>
<span class="caption-subject font-blue-madison bold uppercase"><?php echo e(trans('users::therapists.profile_title')); ?></span>
</div>
<ul class="nav nav-tabs">
<li class="active">
<a href="#tab_1_1" data-toggle="tab"><?php echo e(trans('users::therapists.tab_personal_info')); ?></a>
</li>
<!-- <li>
<a href="#tab_1_2" data-toggle="tab"><?php echo e(trans('users::therapists.tab_areas')); ?></a>
</li> -->
</ul>
</div>
<div class="portlet-body">
<?php if(!isset($id)): ?>
<?php echo Form::open(array('url' => URL::to('admin/users/therapists'), 'method' => 'post', 'class' => 'bf', 'files'=> true)); ?>
<?php else: ?>
<?php echo Form::open(array('url' => URL::to('admin/users/salon/therapists/store',[$id]), 'method' => 'post', 'class' => 'bf', 'files'=> true)); ?>
<?php endif; ?>
<div class="tab-content">
<!-- PERSONAL INFO TAB -->
<div class="tab-pane active" id="tab_1_1">
<div class="row">
<div class="col-md-6">
<!--name-->
<div class="form-group clearfix <?php echo e($errors->has('first_name') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('users::therapists.form_first_name')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::text('first_name', null, array('class' => 'form-control','placeholder'=>'')); ?>
<span class="help-block"><?php echo e($errors->first('first_name', ':message')); ?></span>
</div>
</div>
<!--end name-->
<!--last name-->
<div class="form-group clearfix <?php echo e($errors->has('last_name') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('users::therapists.form_last_name')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::text('last_name', null, array('class' => 'form-control','placeholder'=>'')); ?>
<span class="help-block"><?php echo e($errors->first('last_name', ':message')); ?></span>
</div>
</div>
<!--end last name-->
<!--Payment MEthod-->
<div class="form-group clearfix <?php echo e($errors->has('payment_method') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('users::therapists.form_payment_method')); ?>
<?php /*<span class="required"
aria-required="true">*</span>*/ ?>
</label>
<div class="col-md-9">
<?php echo Form::text('payment_method', null, ['class' => 'form-control',
'placeholder' => '']); ?>
<span
class="help-block text-danger"><?php echo e($errors->first('payment_method', ':message')); ?></span>
</div>
</div>
<!--end Payment Method-->
<?php if(Auth::user()->hasRole('developer')): ?>
<!--website_url-->
<div class="form-group clearfix <?php echo e($errors->has('website_url') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('users::therapists.form_website_url')); ?>
<?php /*<span class="required"
aria-required="true">*</span>*/ ?>
</label>
<div class="col-md-9">
<?php echo Form::text('website_url', null, ['class' => 'form-control',
'placeholder' => '']); ?>
<span
class="help-block text-danger"><?php echo e($errors->first('website_url', ':message')); ?></span>
</div>
</div>
<!--end website_url-->
<!--Instagram-->
<div class="form-group clearfix <?php echo e($errors->has('instagram_id') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('users::therapists.form_instagram_id')); ?>
<?php /*<span class="required"
aria-required="true">*</span>*/ ?>
</label>
<div class="col-md-9">
<?php echo Form::text('instagram_id', null, ['class' => 'form-control',
'placeholder' => '']); ?>
<span
class="help-block text-danger"><?php echo e($errors->first('instagram_id', ':message')); ?></span>
</div>
</div>
<!--end instagram-->
<!--Facebook-->
<div class="form-group clearfix <?php echo e($errors->has('facebook_id') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('users::therapists.form_facebook_id')); ?>
<?php /*<span class="required"
aria-required="true">*</span>*/ ?>
</label>
<div class="col-md-9">
<?php echo Form::text('facebook_id', null, ['class' => 'form-control',
'placeholder' => '']); ?>
<span
class="help-block text-danger"><?php echo e($errors->first('facebook_id', ':message')); ?></span>
</div>
</div>
<!--end Facebook-->
<!--TICTOK-->
<div class="form-group clearfix <?php echo e($errors->has('payment_method') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('users::therapists.form_tictok_id')); ?>
<?php /*<span class="required"
aria-required="true">*</span>*/ ?>
</label>
<div class="col-md-9">
<?php echo Form::text('tictok_id', null, ['class' => 'form-control',
'placeholder' => '']); ?>
<span
class="help-block text-danger"><?php echo e($errors->first('tictok_id', ':message')); ?></span>
</div>
</div>
<!--end TICTOK-->
<!--TICTOK-->
<div class="form-group clearfix <?php echo e($errors->has('youtube_id') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('users::therapists.form_youtube_id')); ?>
<?php /*<span class="required"
aria-required="true">*</span>*/ ?>
</label>
<div class="col-md-9">
<?php echo Form::text('youtube_id', null, ['class' => 'form-control',
'placeholder' => '']); ?>
<span
class="help-block text-danger"><?php echo e($errors->first('youtube_id', ':message')); ?></span>
</div>
</div>
<!--end TICTOK-->
<?php endif; ?>
<!--mobile number-->
<div class="form-group clearfix <?php echo e($errors->has('mobile_number') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('users::therapists.form_mobile_number')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::text('mobile_number', null, array('class' => 'form-control','placeholder'=>'')); ?>
<span class="help-block"><?php echo e($errors->first('mobile_number', ':message')); ?></span>
</div>
</div>
<!--end mobile number-->
<!--techniques-->
<div class="form-group clearfix <?php echo e($errors->has('about') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('users::therapists.form_techniques')); ?>
</label>
<div class="col-md-9">
<?php echo Form::select('service_id[]', $form['services'], null, ['class'=>'form-control select2' ,'multiple']); ?>
<span class="help-block"><?php echo e($errors->first('product_id', ':message')); ?></span>
</div>
</div>
<!--end techniques-->
<!--about-->
<div class="form-group clearfix <?php echo e($errors->has('about') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('users::therapists.form_about')); ?>
</label>
<div class="col-md-9">
<?php echo Form::textarea('about', null, array('class' => 'form-control wysihtml5','placeholder'=>'')); ?>
<span class="help-block"><?php echo e($errors->first('about', ':message')); ?></span>
</div>
</div>
<!--end about-->
</div>
<div class="col-md-6">
<!--email-->
<div class="form-group clearfix <?php echo e($errors->has('email') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('users::therapists.form_email')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::text('email', null, array('class' => 'form-control','placeholder'=>'')); ?>
<span class="help-block"><?php echo e($errors->first('email', ':message')); ?></span>
</div>
</div>
<!--end email-->
<!--password-->
<div class="form-group clearfix <?php echo e($errors->has('password') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('users::therapists.form_password')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::password('password', array('class' => 'form-control','placeholder'=>'password')); ?>
<span class="help-block"><?php echo e($errors->first('password', ':message')); ?></span>
</div>
</div>
<!--end password-->
<!--confirm password-->
<div class="form-group clearfix <?php echo e($errors->has('password_confirmation') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('users::therapists.form_confirm_password')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::password('password_confirmation', array('class' => 'form-control','placeholder'=>'confirm password')); ?>
<span class="help-block"><?php echo e($errors->first('confirm_password', ':message')); ?></span>
</div>
</div>
<!--end confirm password-->
</div>
</div>
<!-- END PERSONAL INFO TAB -->
<!--MODES OF TRANSPORT-->
<?php if(!isset($id)): ?>
<div class="row">
<div class="col-md-12">
<div class="portlet modes_of_transport">
<div class="portlet-title">
<div class="caption">
<i class="fa fa-location-arrow"></i> Modes of Transport
</div>
</div>
<div class="portlet-body">
<!--modes-->
<div class="form-group row <?php echo e($errors->has('transport_modes') ? 'has-error' : ''); ?>">
<div class="col-md-12">
<?php echo Form::select('transport_mode',$form['transport_modes'],null,['class'=>'form-control']); ?>
<span class="help-block"><?php echo e($errors->first('transport_modes', ':message')); ?></span>
</div>
</div>
<!--end modes-->
</div>
</div>
</div>
</div>
<?php endif; ?>
<!--END MODES OF TRANSPORT-->
<!--WORKING DAYS-->
<div class="row">
<div class="col-md-12">
<div class="portlet">
<div class="portlet-title">
<div class="caption">
<i class="icon-calendar"></i> Working Days
</div>
</div>
<div class="portlet-body">
<table class="table table-hover table-bordered">
<thead>
<tr class="heading">
<th width="15%">Day of week</th>
<th width="10%">Day off</th>
<th width="35%">From</th>
<th width="35%">Until</th>
</tr>
</thead>
<tbody>
<?php foreach($form['workingdays'] as $day): ?>
<tr>
<td>
<label class="control-label">
<?php echo e($day->name); ?>
<?php echo Form::hidden("dayname[{$day->weekday}]",$day->name); ?>
</label>
</td>
<td>
<label class="checkbox-inline">
<?php echo Form::checkbox("dayoff[{$day->weekday}]", 1, !$day->open); ?>
</label>
</td>
<td>
<div class="input-group">
<?php echo Form::text("bo_start[{$day->weekday}]", $day->bo_start, array('class' => 'form-control timepicker timepicker-no-seconds','placeholder'=>'')); ?>
<span class="input-group-btn">
<button class="btn default" type="button"><i class="fa fa-clock-o"></i></button>
</span>
</div>
<span class="help-block"><?php echo e($errors->first('bo_start', ':message')); ?></span>
</td>
<td>
<div class="input-group">
<?php echo Form::text("bo_end[{$day->weekday}]", $day->bo_end, array('class' => 'form-control timepicker timepicker-no-seconds','placeholder'=>'')); ?>
<span class="input-group-btn">
<button class="btn default" type="button"><i class="fa fa-clock-o"></i></button>
</span>
</div>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!--END WORKING DAYS-->
<!--MASSAGE TABLE-->
<?php if(!isset($id)): ?>
<div class="row">
<div class="col-md-12">
<div class="portlet">
<div class="portlet-title">
<div class="caption">
<i class="fa fa-cogs"></i> Equipment
</div>
</div>
<div class="portlet-body">
<div class="checkbox-list">
<label class="text-left checkbox-inline col-md-12">
<?php echo Form::checkbox('massage_table_status', 1, $form['massage_table_status']); ?> Equipment included
</label>
</div>
</div>
</div>
</div>
</div>
<?php endif; ?>
<!--END MASSAGE TABLE-->
</div>
<!-- END PERSONAL INFO TAB -->
<!--ZONES-->
<div class="tab-pane" id="tab_1_2">
<div>
<div class="portlet">
<div class="portlet-body">
<?php if($errors->has('zone_id')): ?>
<div class="alert alert-danger">
<?php echo e(trans('users::therapists.message_therapists_zone_id_required')); ?>
</div>
<?php endif; ?>
<div class="portlet">
<div class="portlet-title">
<div class="caption">HEADQUATER</div>
</div>
<div class="portlet-body">
<?php echo Form::select('district_id',$form['districts'],null,['class'=>'form-control']); ?>
</div>
</div>
<?php $__empty_1 = true; foreach($form['zones'] as $district=>$zones): $__empty_1 = false; ?>
<div class="portlet">
<div class="portlet-title">
<div class="caption"><?php echo e($district); ?> </div>
<div class="tools">
<span class="badge badge-primary"><?php echo count($zones); ?></span>
<a href="javascript:;" class="collapse" data-original-title="" title="">
</a>
</div>
</div>
<div class="portlet-body">
<?php foreach(collect($zones)->chunk(3) as $chunk): ?>
<div class="row" style="margin-bottom:5px;">
<?php foreach($chunk as $zone_id=>$zone_name): ?>
<div class="col-xs-4">
<div class="checkbox-list ">
<label class="text-left checkbox-inline" style="font-size:12px;">
<?php echo Form::checkbox('zone_id[]', $zone_id, 'checked'); ?> <?php echo e($zone_name); ?>
</label>
</div>
</div>
<?php endforeach; ?>
</div>
<?php endforeach; ?>
</div>
</div>
<?php endforeach; if ($__empty_1): ?>
<div>No areas</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
<!--actions-->
<div class="portlet-title">
<hr>
<div class="actions btn-set pull-right">
<a href="<?php echo e(route('admin.users.therapists.index')); ?>" name="back" class="btn btn-sm default"><i class="fa fa-angle-left"></i> <?php echo e(trans('general.action_back')); ?></a>
<button class="btn default btn-sm" type="reset"><i class="fa fa-reply"></i> <?php echo e(trans('general.action_reset')); ?></button>
<button class="btn green btn-sm" name="save_exit" value="save_exit"><i class="fa fa-check"></i> <?php echo e(trans('general.action_save')); ?></button>
</div>
</div>
<!--/actions-->
<?php echo Form::close(); ?>
</div>
</div>
</div>
</div>
<!-- END PROFILE CONTENT -->
</div>
</div>
<!-- END PAGE CONTENT-->
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.profile', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>