<div class="pos-tab-content">
    <div class="col-sm-2">
        <label for="">Working Hours</label>        
    </div>
    <div class="clearfix"></div>
    <div class="col-sm-8" style="padding: 0;">
        <div class="form-group">
            {{-- <div class="checkbox">
            <br>
              <label>
                {!! Form::checkbox('enable_working_hours', 1, null , 
                [ 'class' => 'input-icheck', 'id' => 'enable_working_hours', 'onchange' => 'showView(this, \'working_hours\')']); !!} {{ __( 'lang_v1.enable_working_hours' ) }}
              </label>
            </div> --}}
            <div class="checkbox">                    
                <label>
                {{-- $e_commerce_settings['enable_working_hours'] == 1 ? true : false 
                $e_commerce_settings['enable_working_hours'] == 0 ? true : false --}}
                {!! Form::radio('enable_working_hours', '1',  $business->working_hours_enable == 1 ? true : false, 
                    [ 'class' => 'input-iradio', 'onchange' => 'showView(this.value, "working_hours")']); !!} {{ __( 'business.enable' ) }}
                {!! Form::radio('enable_working_hours', '0',  $business->working_hours_enable == 0 ? true : false, 
                    [ 'class' => 'input-iradio', 'onchange' => 'showView(this.value, "working_hours")']); !!} {{ __( 'business.disable' ) }}
                
                </label>
            </div>
        </div>
    </div>
    <div class="clearfix"></div>
    <section id="working_hour_section" class="hide">
        <div class="col-sm-4">
            <div class="form-group">
                {!! Form::label('start_hour_login_restricitions', __('business.start_hour') . ':') !!}
                <div class="input-group">
                    <span class="input-group-addon">
                        <i class="fas fa-clock"></i>
                    </span>
                    {!! Form::text('start_hour_login_restricitions', $business->start_hour_working, ['class' => 'form-control working_hours', 'readonly', 'style' => 'width: 100%','placeholder' => __('business.start_hour')]); !!}
                </div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="form-group">
                {!! Form::label('end_hour_login_restricitions', __('business.end_hour') . ':') !!}
                <div class="input-group">
                    <span class="input-group-addon">
                        <i class="fas fa-clock"></i>
                    </span>
                    {!! Form::text('end_hour_login_restricitions', $business->end_hour_working, ['class' => 'form-control working_hours', 'readonly', 'style' => 'width: 100%', 'placeholder' => __('business.end_hour')]); !!}
                </div>
            </div>
        </div>
        <div class="clearfix"></div>
        <div class="col-sm-4">
            <div class="form-group">
                {!! Form::label('apply_to_login_restrictions', __('business.apply_to') . ':') !!}
                <div class="input-group">
                    <span class="input-group-addon">
                        <i class="fa fa-user"></i>
                    </span>
                    {!! Form::select('apply_to_login_restrictions[]', $role_db, json_decode($business->apply_to_working_hours), ['class' => 'form-control select2', 'style' => 'width: 100%;', 'multiple', 'id' => 'apply_to', $business->working_hours_enable == 0 ? '' : 'required']); !!}
                </div>
            </div>
        </div>
    </section>
    <div class="clearfix"></div>
    <hr>
    <div class="col-sm-2">
        <label for="">Locations</label>
    </div>
    <div class="clearfix"></div>    
    <div class="col-sm-8" style="padding: 0">
        <div class="form-group">
            <div class="checkbox">                    
                <label>
                {{-- $e_commerce_settings['enable_working_hours'] == 1 ? true : false 
                $e_commerce_settings['enable_working_hours'] == 0 ? true : false --}}
                {!! Form::radio('enable_location', '1',  $business->enable_location == 1 ? true : false, 
                    [ 'class' => 'input-iradio', 'onchange' => 'showView(this.value, "location")']); !!} {{ __( 'business.enable' ) }}
                {!! Form::radio('enable_location', '0',  $business->enable_location == 0 ? true : false, 
                    [ 'class' => 'input-iradio', 'onchange' => 'showView(this.value, "location")']); !!} {{ __( 'business.disable' ) }}
                
                </label>
            </div>
        </div>
    </div>
    <div class="clearfix"></div>
</div>