
<?php $__env->startSection('title', __('messages.settings')); ?>

<?php $__env->startSection('content'); ?>
    <?php echo $__env->make('gym::layouts.nav', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <!-- Main content -->
    <section class="content">
        <!-- Custom Tabs -->
        <?php $__env->startComponent('components.widget', ['class' => 'box-primary', 'title' => __('messages.settings') . ':']); ?>
            <div class="nav-tabs-custom">
                <ul class="nav nav-tabs">
                    <li class="active">
                        <a href="#cn_1" data-toggle="tab" aria-expanded="true">
                            <?php echo app('translator')->get('gym::lang.settings'); ?>
                        </a>
                    </li>
                </ul>
                <div class="tab-content">
                    <div class="tab-pane active" id="cn_1">
                        <div class="row">
                            <div class="box-body">
                                <?php echo Form::open([
                                    'url' => action([\Modules\Gym\Http\Controllers\SettingController::class, 'store']),
                                    'method' => 'post',
                                    'id' => 'setting',
                                    'files' => true,
                                ]); ?>

                                <?php
                                    $settings = json_decode($busines->gym_settings);
                                ?>
                            

                                <div class="col-md-4">
                                    <div class="form-group">
                                        <?php echo Form::label('phone', __('contact.contact')); ?>

                                        <?php echo Form::text('phone', $settings->gym->phone ?? null, [
                                            'class' => 'form-control',
                                            'id' => 'phone',
                                            'placeholder' => __('contact.contact'),
                                        ]); ?>

                                    </div>
                                </div>
                                <div class="col-md-4">
                                    <div class="form-group">
                                        <?php echo Form::label('email', __('gym::lang.email')); ?>

                                        <?php echo Form::email('email', $settings->gym->email ?? null, [
                                            'class' => 'form-control',
                                            'id' => 'email',
                                            'placeholder' => __('gym::lang.email'),
                                        ]); ?>

                                    </div>
                                </div>
                                <div class="col-md-4">
                                    <div class="form-group">
                                        <?php echo Form::label('website', __('gym::lang.website')); ?>

                                        <?php echo Form::text('website', $settings->gym->website ?? null, [
                                            'class' => 'form-control',
                                            'id' => 'website',
                                            'placeholder' => __('gym::lang.website'),
                                        ]); ?>

                                    </div>
                                </div>
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <?php echo Form::label('address', __('gym::lang.address')); ?>

                                        <?php echo Form::textarea('address', $settings->gym->address ?? null, [
                                            'class' => 'form-control',
                                            'id' => 'address',
                                            'rows' => '4',
                                            'placeholder' => __('gym::lang.address'),
                                        ]); ?>

                                    </div>
                                </div>
                                <div class="col-md-12 text-center">
                                    <?php echo Form::submit(__('messages.submit'), ['class' => 'tw-dw-btn tw-dw-btn-success tw-text-white tw-dw-btn-lg']); ?>

                                </div>

                                <?php echo Form::close(); ?>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <p class="help-block"><i><?php echo __('gym::lang.version_info', ['version' => $module_version]); ?></i></p>
            </div>
        <?php echo $__env->renderComponent(); ?>
        
    </section>
    <!-- /.content -->
<?php $__env->stopSection(); ?>

<?php $__env->startSection('javascript'); ?>
    <script type="text/javascript">
        tinymce.init({
            selector: 'textarea#email_body',
        });
        tinymce.init({
            selector: 'textarea#footer_text',
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/gyannewsoftware/public_html/pos11_UltimatePOS65/Modules/Gym/Resources/views/setting/setting.blade.php ENDPATH**/ ?>