@if (auth()->user()->is_senior_management) @else
@method('PATCH') @csrf
@lang('general.general_settings')
@if (auth()->user()->company->subscribedTo('system'))

{{ __('general.contracts_settings') }}


@endif

@lang('general.policies')
# {{__('validation.attributes.title')}} {{__('validation.attributes.text_color')}} {{__('validation.attributes.with_checkbox')}} {{__('general.options')}}
# {{__('validation.attributes.title')}} {{__('validation.attributes.text_color')}} {{__('validation.attributes.with_checkbox')}} {{__('general.options')}}

@method('PATCH') @csrf
@lang('general.working_days')
@foreach ($days as $day)
working_days->{$day}->open_24_hours ?? false) value="on" checked @endif class="form-check-input open-24-hours-input" type="checkbox" id="always_opened_on_{{ $day }}" name="open_24_hours[{{ $day }}]">
working_days->{$day}->holiday ?? false) value="on" checked @endif class="form-check-input holiday-input" type="checkbox" id="holiday_{{ $day }}" name="holiday[{{ $day }}]">

@endforeach
@method('PATCH') @csrf
@lang('general.settings')
@lang('general.delivery_working_times')
@foreach ($days as $day)
delivery_working_days->{$day}->open_24_hours ?? false) value="on" checked @endif class="form-check-input open-24-hours-input" type="checkbox" id="always_opened_on_{{ $day }}" name="delivery_open_24_hours[{{ $day }}]">
delivery_working_days->{$day}->holiday ?? false) value="on" checked @endif class="form-check-input holiday-input" type="checkbox" id="holiday_{{ $day }}" name="delivery_holiday[{{ $day }}]">

@endforeach
@endif