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/framework/views/ |
<?php echo Form::model($obj, ['url' => URL::to('admin/users/therapists/updatecommisions') . '/' . $obj->id, 'method' => 'put', 'class' => 'bf', 'files' => true]); ?>
<div class="row">
<div class="col-md-12">
<!--commision-->
<div class="form-group">
<div class="col-md-2">
<div class="therapist-commision-table-header">
Category
</div>
</div>
<div class="col-md-2">
<div class="therapist-commision-table-header">
Sub Category
</div>
</div>
<div class="col-md-2">
<div class="therapist-commision-table-header">
<?php echo e(trans('users::therapists.tabel_services_duration_name')); ?>
</div>
</div>
<div class="col-md-2">
<div class="therapist-commision-table-header">
<?php echo e(trans('users::therapists.tabel_services_duration_price')); ?>
</div>
</div>
<div class="col-md-2">
<div class="therapist-commision-table-header">
<?php echo e(trans('users::therapists.tabel_services_duration_commision_co')); ?>
</div>
</div>
<div class="col-md-2">
<div class="therapist-commision-table-header">
<?php echo e(trans('users::therapists.tab_services_duration_commision_th')); ?>
</div>
</div>
</div>
<!--end commision-->
</div>
<div class="col-md-12">
<?php $__currentLoopData = $form['services_duration_commisions']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $service): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<!--commision-->
<div class="col-md-2 category_name">
<?php echo e($service['category_name']); ?>
<span class="help-block text-danger"><?php echo e($errors->first('first_name', ':message')); ?></span>
</div>
<div class="col-md-2 category_name">
<?php echo e($service['subcategory_name']); ?>
<span class="help-block text-danger"><?php echo e($errors->first('first_name', ':message')); ?></span>
</div>
<div class="form-group clearfix <?php echo e($errors->has('price_' . $service['services_duration_id']) ? 'has-error' : ''); ?>">
<label class="control-label col-md-2 <?php if(!$service['is_custom']): ?> text-danger <?php endif; ?>">
<?php echo e($service['name']); ?>
<?php if($service['is_default']): ?>
<span class='badge badge-primary badge-roundless'><?php echo e(trans('services::duration.text_default_session')); ?></span>
<?php elseif($service['is_extra']): ?>
<span class='badge badge-warning badge-roundless'><?php echo e(trans('services::duration.text_extra_session')); ?></span>
<?php endif; ?>
</label>
<div class="col-md-2">
<?php echo Form::text(
'services_duration_commisions[' . $service['services_duration_id'] . '][price_' . $service['services_duration_id'] . ']',
$service['price'],
['class' => 'form-control', 'placeholder' => '']
); ?>
<span class="help-block text-danger"><?php echo e($errors->first('first_name', ':message')); ?></span>
</div>
<div class="col-md-2">
<?php echo Form::text(
'services_duration_commisions[' . $service['services_duration_id'] . '][commision_co]',
$service['commision_co'],
['class' => 'form-control', 'placeholder' => '']
); ?>
<span class="help-block text-danger"><?php echo e($errors->first('first_name', ':message')); ?></span>
</div>
<div class="col-md-2">
<?php echo Form::text(
'services_duration_commisions[' . $service['services_duration_id'] . '][commision_th]',
$service['commision_th'],
['class' => 'form-control', 'placeholder' => '']
); ?>
<span class="help-block text-danger"><?php echo e($errors->first('first_name', ':message')); ?></span>
</div>
</div>
<!--end commision-->
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
<div class="portlet-title">
<hr>
<div class="actions btn-set pull-right">
<a href="<?php echo e(route('admin.users.providers.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 green btn-sm" name="save" value="save">
<i class="fa fa-check"></i>
<?php echo e(trans('general.action_save')); ?>
</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_exit')); ?>
</button>
</div>
</div>
<?php echo Form::close(); ?>
<?php /**PATH /home/tradze/public_html/app/Modules/Users/Resources/Views/admin/partials/therapists_commissions_tab.blade.php ENDPATH**/ ?>