Sh3ll
OdayForums


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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/tradze/public_html/dev/storage/framework/views/5b2b78dc5be9b3ac6aa7608904e0baa794aa9f4b.php
<?php $__env->startSection('title'); ?>
    <?php if(isset($label)): ?>
        <?php echo e(trans("services::duration.edit_label_title")); ?>

    <?php else: ?>
        <?php echo e(trans("services::duration.create_label_title")); ?>

    <?php endif; ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('css_page'); ?>
<link href="<?php echo e(asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.css')); ?>"
      rel="stylesheet">
<?php $__env->stopSection(); ?>


<?php $__env->startSection('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.services.duration.index'); ?>"><?php echo e(trans('services::duration.breadcrumbs_title')); ?></a>
            <i class="fa fa-angle-right"></i>
        </li>
        <li>
            <a href="<?php echo route('admin.services.duration.index'); ?>"><?php echo e(trans('services::duration.page_title')); ?></a>
            <i class="fa fa-angle-right"></i>
        </li>
        <li>
            <?php if(isset($obj)): ?>
                <a href="#"><?php echo e(trans('services::duration.edit_title')); ?></a>
            <?php else: ?>
                <a href="#"><?php echo e(trans('services::duration.create_new_title')); ?></a>
            <?php endif; ?>
        </li>
    </ul>
</div>
<!-- END PAGE HEADER-->

<!-- BEGIN PAGE CONTENT-->
<div class="row">
    <div class="col-md-12">

        <?php if(isset($obj)): ?>
        <?php echo Form::model($obj, array('url' => URL::to('admin/services/duration') . '/' . $obj->id, 'method' => 'put', 'class' => 'bf form-horizontal', 'files'=> true)); ?>

        <?php else: ?>
        <?php echo Form::open(array('url' => URL::to('admin/services/duration'), 'method' => 'post', 'class' => 'bf form-horizontal', 'files'=> true)); ?>

        <?php endif; ?>


        <div class="portlet">
            <div class="portlet-title">
                <div class="caption">
                    <?php if(isset($obj)): ?>
                        <?php echo e(trans('services::duration.edit_title')); ?>

                    <?php else: ?>
                        <?php echo e(trans('services::duration.create_new_title')); ?>

                    <?php endif; ?>
                </div>
                <div class="actions btn-set">
                    <a href="<?php echo e(route('admin.services.duration.index')); ?>" name="back" class="btn default"><i class="fa fa-angle-left"></i> <?php echo e(trans('general.action_back')); ?></a>
                    <button class="btn default" type="reset"><i class="fa fa-reply"></i> <?php echo e(trans('general.action_reset')); ?></button>
                    <button class="btn green" name="save" value="save"><i class="fa fa-check"></i> <?php echo e(trans('general.action_save')); ?></button>
                    <button class="btn blue" name="save_exit" value="save_exit"><?php echo e(trans('general.action_save_exit')); ?> <i class="fa fa-arrow-circle-right"></i></button>
                </div>
            </div>

            <!--form-->
            <div class="portlet-body">
                <?php echo $__env->make('flash::message', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

                <!--GENERAL-->

                <div class="portlet">
                    <div class="portlet-body">
                        <div class="row">
                            <div class="col-md-6">
                                <!--category-->
                                <!-- <div class="form-group <?php echo e($errors->has('category_id') ? 'has-error' : ''); ?>">
                                    <label class="control-label col-md-3">
                                        <?php echo e(trans('services::duration.form_category_id')); ?>

                                        <span class="required" aria-required="true">*</span>
                                    </label>
                                    <div class="col-md-9">
                                        <?php echo Form::select('category_id', $form['categories'], @$obj?$obj->category_id:0, ['class'=>'form-control']); ?>

                                        <span class="help-block"><?php echo e($errors->first('category_id', ':message')); ?></span>
                                    </div>
                                </div> -->
                                <!--end category-->

                                <!--sub Category-->
                                <div class="form-group <?php echo e($errors->has('sub_category_id') ? 'has-error' : ''); ?> parent-category">
                                    <label class="control-label col-md-3">
                                        <?php echo e(trans('services::duration.form_sub_category')); ?>

                                        <span class="required" aria-required="true"></span>
                                    </label>
                                    <div class="col-md-9">
                                        <?php if(isset($obj->sub_category_id)): ?>
                                        <?php echo Form::select('sub_category_id', $parent_category, $obj->sub_category_id,array('class' => 'form-control select2' ));; ?>

                                        <?php else: ?>
                                        <?php echo Form::select('sub_category_id', $parent_category, 0,array('class' => 'form-control select2' ));; ?>

                                        <?php endif; ?>
                                        <span class="help-block"><?php echo e($errors->first('sub_category_id', ':message')); ?></span>
                                    </div>
                                </div>
                                <!--end sub Category-->

                                <!--name-->
                                <div class="form-group <?php echo e($errors->has('name') ? 'has-error' : ''); ?>">
                                    <label class="control-label col-md-3">
                                        <?php echo e(trans('services::duration.form_name')); ?>

                                        <span class="required" aria-required="true">*</span>
                                    </label>
                                    <div class="col-md-9">
                                        <?php echo Form::text('name', null, array('class' => 'form-control','placeholder'=>'')); ?>

                                        <span class="help-block"><?php echo e($errors->first('name', ':message')); ?></span>
                                    </div>
                                </div>
                                <!--end name-->

                                <!--duration-->
                                <div class="form-group <?php echo e($errors->has('duration') ? 'has-error' : ''); ?>">
                                    <label class="control-label col-md-3">
                                        <?php echo e(trans('services::duration.form_duration')); ?>

                                        <span class="required" aria-required="true">*</span>
                                    </label>
                                    <div class="col-md-9">
                                        <?php echo Form::number('duration', null, array('class' => 'form-control','placeholder'=>trans('services::duration.form_duration_placeholder'),'min'=>30)); ?>

                                        <span class="help-block"><?php echo e($errors->first('duration', ':message')); ?></span>
                                    </div>
                                </div>
                                <!--end duration-->

                                <!--price-->
                                <div class="form-group <?php echo e($errors->has('price') ? 'has-error' : ''); ?>">
                                    <label class="control-label col-md-3">
                                        <?php echo e(trans('services::duration.form_price')); ?>

                                        <span class="required" aria-required="true">*</span>
                                    </label>
                                    <div class="col-md-9">
                                        <?php echo Form::text('price', null, array('class' => 'form-control','placeholder'=>'')); ?>

                                        <span class="help-block"><?php echo e($errors->first('price', ':message')); ?></span>
                                    </div>
                                </div>
                                <!--end price-->

                                <!--company commision-->
                                <div class="form-group <?php echo e($errors->has('commision_co') ? 'has-error' : ''); ?>">
                                    <label class="control-label col-md-3">
                                        <?php echo e(trans('services::duration.form_commision_co')); ?>

                                        <span class="required" aria-required="true">*</span>
                                    </label>
                                    <div class="col-md-9">
                                        <?php echo Form::text('commision_co', null, array('class' => 'form-control','placeholder'=>'')); ?>

                                        <span class="help-block"><?php echo e($errors->first('commision_co', ':message')); ?></span>
                                    </div>
                                </div>
                                <!--end company commision-->

                                <!--therapist commision-->
                                <div class="form-group <?php echo e($errors->has('commision_th') ? 'has-error' : ''); ?>">
                                    <label class="control-label col-md-3">
                                        <?php echo e(trans('services::duration.form_commision_th')); ?>

                                        <span class="required" aria-required="true">*</span>
                                    </label>
                                    <div class="col-md-9">
                                        <?php echo Form::text('commision_th', null, array('class' => 'form-control','placeholder'=>'')); ?>

                                        <span class="help-block"><?php echo e($errors->first('commision_th', ':message')); ?></span>
                                    </div>
                                </div>
                                <!--end therapist commision-->
                            </div>
                            <!--end row left-->

                            <!--col right-->
                            <div class="col-md-6">
                                <!--is_default-->
                                <div class="form-group <?php echo e($errors->has('is_default') ? 'has-error' : ''); ?>">
                                    <label class="control-label col-md-3">
                                        <?php echo e(trans('services::duration.form_is_default')); ?>

                                    </label>

                                    <div class="col-md-9 checkbox-list">
                                        <label class="checkbox-inline">
                                            <?php echo Form::checkbox('is_default', 1, null); ?>

                                        </label>
                                        <span class="help-block"><?php echo e($errors->first('is_default', ':message')); ?></span>
                                    </div>
                                </div>
                                <!--end is_default-->

                                <!--is_extra-->
                                <div class="form-group <?php echo e($errors->has('is_extra') ? 'has-error' : ''); ?>">
                                    <label class="control-label col-md-3">
                                        <?php echo e(trans('services::duration.form_is_extra')); ?>

                                    </label>

                                    <div class="col-md-9 checkbox-list">
                                        <label class="checkbox-inline">
                                            <?php echo Form::checkbox('is_extra', 1, null); ?>

                                        </label>
                                        <span class="help-block"><?php echo e($errors->first('is_extra', ':message')); ?></span>
                                    </div>
                                </div>
                                <!--end is_extra-->

                                <!--is_massage_duration-->
                                <div class="form-group <?php echo e($errors->has('is_massage_duration') ? 'has-error' : ''); ?>">
                                    <label class="control-label col-md-3">
                                        <?php echo e(trans('services::duration.form_is_massage_duration')); ?>

                                    </label>

                                    <div class="col-md-9 checkbox-list">
                                        <label class="checkbox-inline">
                                            <?php echo Form::checkbox('is_massage_duration', 1, null ,array('class' => 'form-control is-massage' )); ?>

                                        </label>
                                        <span class="help-block"><?php echo e($errors->first('is_massage_duration', ':message')); ?></span>
                                    </div>
                                </div>
                                <!--end is_massage_duration-->
                            </div>
                            <!--end col right-->
                        </div>
                    </div>
                </div>

                <!--END GENERAL-->

            </div>
            <!--/form-->

            <!--actions-->
            <div class="portlet-title">
                <div class="actions btn-set">
                    <a href="<?php echo e(route('admin.services.duration.index')); ?>" name="back" class="btn default"><i class="fa fa-angle-left"></i> <?php echo e(trans('general.action_back')); ?></a>
                    <button class="btn default" type="reset"><i class="fa fa-reply"></i> <?php echo e(trans('general.action_reset')); ?></button>
                    <button class="btn green" name="save" value="save"><i class="fa fa-check"></i> <?php echo e(trans('general.action_save')); ?></button>
                    <button class="btn blue" name="save_exit" value="save_exit"><?php echo e(trans('general.action_save_exit')); ?> <i class="fa fa-arrow-circle-right"></i></button>
                </div>
            </div>
            <!--/actions-->
        </div>
        <?php echo Form::close(); ?>


    </div>
</div>
<!-- END PAGE CONTENT-->
<?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>
<script>
    document.onload = function() {
        console.log("inside on load");
        if($('.is-massage').is(':checked')){
            $(".parent-category").hide();
        }
    }
</script>
<script>
    $(document).ready(function(e){
      $(".is-massage").change(function(){
        if($('.is-massage').is(':checked')){
            $(".parent-category").hide();
        } else {
            $(".parent-category").show();
        }
        });
    });
</script>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('admin.layouts.form', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

ZeroDay Forums Mini