2016-08-17 10:10:23 +02:00
|
|
|
<div class="panel panel-default m-t-lg">
|
|
|
|
<div class="panel-heading">
|
2019-12-17 18:06:56 +01:00
|
|
|
<span class="font-sbold" translate>{{ 'app.admin.settings.reservations_parameters' }}</span>
|
2016-08-17 10:10:23 +02:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div>
|
|
|
|
<div class="row">
|
2019-12-17 18:06:56 +01:00
|
|
|
<h3 class="m-l" translate>{{ 'app.admin.settings.confine_the_booking_agenda' }}</h3>
|
2016-08-17 10:10:23 +02:00
|
|
|
<div class="col-md-2">
|
2019-12-17 18:06:56 +01:00
|
|
|
<h4 translate>{{ 'app.admin.settings.opening_time' }}</h4>
|
2016-08-17 10:10:23 +02:00
|
|
|
<uib-timepicker ng-model="windowStart.value" hour-step="timepicker.hstep" minute-step="timepicker.mstep" show-meridian="false"></uib-timepicker>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4 m-t">
|
2019-12-17 18:06:56 +01:00
|
|
|
<button name="button" class="btn btn-warning m-l" ng-click="save(windowStart)" translate>{{ 'app.shared.buttons.save' }}</button>
|
2016-08-17 10:10:23 +02:00
|
|
|
</div>
|
|
|
|
<div class="col-md-2">
|
2019-12-17 18:06:56 +01:00
|
|
|
<h4 translate>{{ 'app.admin.settings.closing_time' }}</h4>
|
2016-08-17 10:10:23 +02:00
|
|
|
<uib-timepicker ng-model="windowEnd.value" hour-step="timepicker.hstep" minute-step="timepicker.mstep" show-meridian="false"></uib-timepicker>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4 m-t">
|
2019-12-17 18:06:56 +01:00
|
|
|
<button name="button" class="btn btn-warning m-l" ng-click="save(windowEnd)" translate>{{ 'app.shared.buttons.save' }}</button>
|
2016-08-17 10:10:23 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-20 17:18:19 +02:00
|
|
|
<div class="section-separator"></div>
|
2016-08-17 10:10:23 +02:00
|
|
|
<div class="row">
|
2019-12-17 18:06:56 +01:00
|
|
|
<h3 class="m-l m-t-lg" translate>{{ 'app.admin.settings.max_visibility' }}</h3>
|
2020-05-20 16:35:07 +02:00
|
|
|
<number-setting name="visibility_yearly"
|
|
|
|
settings="allSettings"
|
|
|
|
label="app.admin.settings.visibility_for_yearly_members"
|
|
|
|
classes="col-md-4"
|
|
|
|
fa-icon="fa-calendar"
|
|
|
|
min="1"
|
2021-03-24 18:24:03 +01:00
|
|
|
required="true">
|
2020-05-20 16:35:07 +02:00
|
|
|
</number-setting>
|
|
|
|
<number-setting name="visibility_others"
|
|
|
|
settings="allSettings"
|
|
|
|
label="app.admin.settings.visibility_for_other_members"
|
2020-05-20 17:18:19 +02:00
|
|
|
classes="col-md-4 col-md-offset-2"
|
2020-05-20 16:35:07 +02:00
|
|
|
fa-icon="fa-calendar"
|
|
|
|
min="1"
|
2021-03-24 18:24:03 +01:00
|
|
|
required="true">
|
2020-05-20 16:35:07 +02:00
|
|
|
</number-setting>
|
2017-08-24 18:34:18 +02:00
|
|
|
</div>
|
2020-05-20 17:18:19 +02:00
|
|
|
<div class="section-separator"></div>
|
2017-08-24 18:34:18 +02:00
|
|
|
<div class="row">
|
2020-06-02 12:14:53 +02:00
|
|
|
<h3 class="m-l m-t-lg" translate>{{ 'app.admin.settings.ability_for_the_users_to_move_their_reservations' }}</h3>
|
2020-05-25 16:10:40 +02:00
|
|
|
<div class="col-md-6">
|
2022-03-18 19:44:30 +01:00
|
|
|
<boolean-setting name="'booking_move_enable'"
|
|
|
|
label="'app.admin.settings.reservations_shifting' | translate"
|
|
|
|
on-success="onSuccess"
|
|
|
|
on-error="onError">
|
2020-10-05 17:22:59 +02:00
|
|
|
</boolean-setting>
|
2020-06-02 12:14:53 +02:00
|
|
|
</div>
|
|
|
|
<div class="col-md-6" ng-show="allSettings.booking_move_enable === 'true'">
|
|
|
|
<number-setting name="booking_move_delay"
|
|
|
|
settings="allSettings"
|
|
|
|
label="app.admin.settings.prior_period_hours"
|
|
|
|
classes="col-md-8"
|
2021-12-03 18:25:25 +01:00
|
|
|
fa-icon="fas fa-clock"
|
2020-06-02 12:14:53 +02:00
|
|
|
min="0"
|
|
|
|
required="allSettings.booking_move_enable === 'true'">
|
|
|
|
</number-setting>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<h3 class="m-l m-t-lg" translate>{{ 'app.admin.settings.ability_for_the_users_to_cancel_their_reservations' }}</h3>
|
|
|
|
<div class="col-md-6">
|
2022-03-18 19:44:30 +01:00
|
|
|
<boolean-setting name="'booking_cancel_enable'"
|
|
|
|
label="'app.admin.settings.reservations_cancelling' | translate"
|
|
|
|
on-success="onSuccess"
|
|
|
|
on-error="onError">
|
2020-10-05 17:22:59 +02:00
|
|
|
</boolean-setting>
|
2020-06-02 12:14:53 +02:00
|
|
|
</div>
|
|
|
|
<div class="col-md-6" ng-show="allSettings.booking_cancel_enable === 'true'">
|
|
|
|
<number-setting name="booking_cancel_delay"
|
|
|
|
settings="allSettings"
|
|
|
|
label="app.admin.settings.prior_period_hours"
|
|
|
|
classes="col-md-8"
|
2021-12-03 18:25:25 +01:00
|
|
|
fa-icon="fas fa-clock"
|
2020-06-02 12:14:53 +02:00
|
|
|
min="0"
|
|
|
|
required="allSettings.booking_cancel_enable === 'true'">
|
|
|
|
</number-setting>
|
2020-05-25 16:10:40 +02:00
|
|
|
</div>
|
2016-08-17 10:10:23 +02:00
|
|
|
</div>
|
2020-05-20 17:18:19 +02:00
|
|
|
<div class="section-separator"></div>
|
2020-05-19 17:08:11 +02:00
|
|
|
<div class="row">
|
|
|
|
<h3 class="m-l m-t-lg" translate>{{ 'app.admin.settings.book_overlapping_slots_info' }}</h3>
|
2021-10-21 18:09:36 +02:00
|
|
|
<div class="col-md-6">
|
2022-03-18 19:44:30 +01:00
|
|
|
<boolean-setting name="'book_overlapping_slots'"
|
|
|
|
label="'app.admin.settings.allow_booking' | translate"
|
|
|
|
on-success="onSuccess"
|
|
|
|
on-error="onError">
|
2021-10-21 18:09:36 +02:00
|
|
|
</boolean-setting>
|
2021-10-22 14:50:02 +02:00
|
|
|
<div class="alert alert-warning" ng-show="allSettings.book_overlapping_slots !== 'true'" translate>
|
|
|
|
{{ 'app.admin.settings.overlapping_categories_info' }}
|
|
|
|
</div>
|
2021-10-21 18:09:36 +02:00
|
|
|
</div>
|
2021-10-22 14:50:02 +02:00
|
|
|
<div class="col-md-6" ng-show="allSettings.book_overlapping_slots !== 'true'">
|
|
|
|
<check-list-setting name="'overlapping_categories'"
|
2021-10-21 18:09:36 +02:00
|
|
|
label="'app.admin.settings.overlapping_categories' | translate"
|
2021-10-22 14:50:02 +02:00
|
|
|
available-options="availableOverlappingOptions"
|
2021-10-21 18:09:36 +02:00
|
|
|
on-success="onSuccess"
|
|
|
|
on-error="onError">
|
|
|
|
</check-list-setting>
|
|
|
|
</div>
|
2020-05-19 17:08:11 +02:00
|
|
|
</div>
|
2020-05-20 17:18:19 +02:00
|
|
|
<div class="section-separator"></div>
|
2022-11-29 21:02:01 +01:00
|
|
|
<div class="row">
|
|
|
|
<h3 class="m-l m-t-lg" translate>{{ 'app.admin.settings.reservation_deadline' }}</h3>
|
|
|
|
<number-setting name="reservation_deadline"
|
|
|
|
settings="allSettings"
|
|
|
|
label="app.admin.settings.deadline_minutes"
|
|
|
|
classes="col-md-4"
|
|
|
|
fa-icon="fas fa-clock"
|
|
|
|
min="0"
|
|
|
|
required="true">
|
|
|
|
</number-setting>
|
|
|
|
</div>
|
|
|
|
<div class="section-separator"></div>
|
2020-05-20 17:18:19 +02:00
|
|
|
<div class="row">
|
|
|
|
<h3 class="m-l m-t-lg" translate>{{ 'app.admin.settings.default_slot_duration' }}</h3>
|
|
|
|
<p class="alert alert-warning m-h-md" translate>{{ 'app.admin.settings.default_slot_duration_info' }}</p>
|
|
|
|
<number-setting name="slot_duration"
|
|
|
|
settings="allSettings"
|
|
|
|
label="app.admin.settings.duration_minutes"
|
|
|
|
classes="col-md-4"
|
2021-12-03 18:25:25 +01:00
|
|
|
fa-icon="fas fa-clock"
|
2020-05-20 17:18:19 +02:00
|
|
|
min="1"
|
2021-03-24 18:24:03 +01:00
|
|
|
required="true">
|
2020-05-20 17:18:19 +02:00
|
|
|
</number-setting>
|
|
|
|
</div>
|
2021-12-21 16:32:02 +01:00
|
|
|
|
|
|
|
<div class="section-separator"></div>
|
|
|
|
<div class="row">
|
|
|
|
<h3 class="m-l" translate>{{ 'app.admin.settings.pack_only_for_subscription_info' }}</h3>
|
|
|
|
<p class="alert alert-warning m-h-md" ng-bind-html="'app.admin.settings.pack_only_for_subscription_info_html' | translate"></p>
|
2022-03-18 19:44:30 +01:00
|
|
|
<boolean-setting name="'pack_only_for_subscription'"
|
|
|
|
label="'app.admin.settings.pack_only_for_subscription' | translate"
|
|
|
|
class-name="'m-l'"
|
|
|
|
on-success="onSuccess"
|
|
|
|
on-error="onError">
|
2021-12-21 16:32:02 +01:00
|
|
|
</boolean-setting>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section-separator"></div>
|
|
|
|
<div class="row">
|
|
|
|
<h3 class="m-l" translate>{{ 'app.admin.settings.extended_prices' }}</h3>
|
|
|
|
<p class="alert alert-warning m-h-md" ng-bind-html="'app.admin.settings.extended_prices_info_html' | translate"></p>
|
2022-03-18 19:44:30 +01:00
|
|
|
<boolean-setting name="'extended_prices_in_same_day'"
|
|
|
|
label="'app.admin.settings.extended_prices_in_same_day' | translate"
|
|
|
|
class-name="'m-l'"
|
|
|
|
on-success="onSuccess"
|
|
|
|
on-error="onError">
|
2021-12-21 16:32:02 +01:00
|
|
|
</boolean-setting>
|
|
|
|
</div>
|
2016-08-17 10:10:23 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-08-17 12:49:52 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel panel-default m-t-lg">
|
|
|
|
<div class="panel-heading">
|
2019-12-17 18:06:56 +01:00
|
|
|
<span class="font-sbold" translate>{{ 'app.admin.settings.reservations_reminders' }}</span>
|
2016-08-17 12:49:52 +02:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="row">
|
2019-12-17 18:06:56 +01:00
|
|
|
<h3 class="m-l" translate>{{ 'app.admin.settings.notification_sending_before_the_reservation_occurs' }}</h3>
|
2022-03-18 19:44:30 +01:00
|
|
|
<boolean-setting name="'reminder_enable'"
|
|
|
|
label="'app.admin.settings.reservations_reminders' | translate"
|
|
|
|
class-name="'m-l'"
|
|
|
|
on-success="onSuccess"
|
|
|
|
on-error="onError">
|
2020-10-05 17:22:59 +02:00
|
|
|
</boolean-setting>
|
2016-08-17 12:49:52 +02:00
|
|
|
</div>
|
2020-05-20 15:57:03 +02:00
|
|
|
<div class="row" ng-show="allSettings.reminder_enable === 'true'">
|
2020-05-20 16:35:07 +02:00
|
|
|
<number-setting name="reminder_delay"
|
|
|
|
settings="allSettings"
|
|
|
|
label="app.admin.settings.prior_period_hours"
|
|
|
|
classes="col-md-4"
|
2021-12-03 18:25:25 +01:00
|
|
|
fa-icon="fas fa-clock"
|
2020-05-20 16:35:07 +02:00
|
|
|
helper-text="app.admin.settings.default_value_is_24_hours"
|
|
|
|
min="0">
|
|
|
|
</number-setting>
|
2016-08-17 12:49:52 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-07-24 12:24:51 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="panel panel-default m-t-lg">
|
|
|
|
<div class="panel-heading">
|
2020-05-25 17:05:54 +02:00
|
|
|
<span class="font-sbold" translate>{{ 'app.admin.settings.display' }}</span>
|
2018-07-24 12:24:51 +02:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2022-05-11 11:54:00 +02:00
|
|
|
<div class="row" ng-show="$root.modules.machines">
|
2022-07-19 11:32:12 +02:00
|
|
|
<h3 class="m-l" translate>{{ 'app.admin.settings.display_reservation_user_name' }}</h3>
|
2020-05-25 17:05:54 +02:00
|
|
|
<p class="alert alert-warning m-h-md" ng-bind-html="'app.admin.settings.display_name_info_html' | translate"></p>
|
2022-03-18 19:44:30 +01:00
|
|
|
<boolean-setting name="'display_name_enable'"
|
|
|
|
label="'app.admin.settings.display_name' | translate"
|
|
|
|
class-name="'m-l'"
|
|
|
|
on-success="onSuccess"
|
|
|
|
on-error="onError">
|
2020-10-05 17:22:59 +02:00
|
|
|
</boolean-setting>
|
2018-07-24 12:24:51 +02:00
|
|
|
</div>
|
2020-05-25 17:36:53 +02:00
|
|
|
<div class="row">
|
2020-05-26 10:53:49 +02:00
|
|
|
<h3 class="m-l" translate>{{ 'app.admin.settings.events_in_the_calendar' }}</h3>
|
2020-05-25 17:36:53 +02:00
|
|
|
<p class="alert alert-warning m-h-md" translate>{{ 'app.admin.settings.events_in_calendar_info' }}</p>
|
2022-03-18 19:44:30 +01:00
|
|
|
<boolean-setting name="'events_in_calendar'"
|
|
|
|
label="'app.admin.settings.show_event' | translate"
|
|
|
|
on-success="onSuccess"
|
|
|
|
on-error="onError"
|
|
|
|
class-name="'m-l'"></boolean-setting>
|
2020-05-25 17:36:53 +02:00
|
|
|
</div>
|
2021-12-21 16:32:02 +01:00
|
|
|
|
|
|
|
<div class="section-separator"></div>
|
2021-06-29 09:07:11 +02:00
|
|
|
<div class="row">
|
|
|
|
<h3 class="m-l" translate>{{ 'app.admin.settings.display_invite_to_renew_pack' }}</h3>
|
|
|
|
<p class="alert alert-warning m-h-md" ng-bind-html="'app.admin.settings.packs_threshold_info_html' | translate"></p>
|
|
|
|
<number-setting name="renew_pack_threshold"
|
|
|
|
settings="allSettings"
|
|
|
|
label="app.admin.settings.renew_pack_threshold"
|
|
|
|
classes="col-md-4"
|
|
|
|
fa-icon="fa-sliders-h"
|
|
|
|
min="0"
|
|
|
|
step="0.01">
|
|
|
|
</number-setting>
|
|
|
|
</div>
|
2018-07-24 12:24:51 +02:00
|
|
|
</div>
|
2019-04-18 11:35:09 +02:00
|
|
|
</div>
|