Add blocked periods section in the business settings page (#432)
This commit is contained in:
parent
42ee635081
commit
e6ed92697f
34 changed files with 52 additions and 0 deletions
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -445,4 +445,5 @@ $lang['blocked_period'] = 'Blocked Period';
|
|||
$lang['blocked_periods'] = 'Blocked Periods';
|
||||
$lang['blocked_period_save'] = 'Blocked Period Save';
|
||||
$lang['blocked_period_delete'] = 'Blocked Period Delete';
|
||||
$lang['blocked_periods_hint'] = 'Define periods of time where public bookings will be disabled for all providers (e.g. closed dates, holidays etc.).';
|
||||
// End
|
||||
|
|
|
@ -52,6 +52,11 @@
|
|||
<?= lang('cancel') ?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<a href="<?= site_url('business_settings') ?>" class="btn btn-outline-primary ms-2">
|
||||
<i class="fas fa-chevron-left me-4"></i>
|
||||
<?= lang('back') ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<h4 class="text-black-50 mb-3 fw-light">
|
||||
|
|
|
@ -75,6 +75,21 @@
|
|||
<tbody><!-- Dynamic Content --></tbody>
|
||||
</table>
|
||||
|
||||
<?php if (can('view', PRIV_BLOCKED_PERIODS)): ?>
|
||||
<h5 class="text-black-50 mb-3 fw-light"><?= lang('blocked_periods') ?></h5>
|
||||
|
||||
<p class="form-text text-muted">
|
||||
<?= lang('blocked_periods_hint') ?>
|
||||
</p>
|
||||
|
||||
<div class="mb-5">
|
||||
<a href="<?= site_url('blocked_periods') ?>" class="btn btn-primary">
|
||||
<i class="fas fa-cogs me-2"></i>
|
||||
<?= lang('configure') ?>
|
||||
</a>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
<h5 class="text-black-50 mb-3 fw-light"><?= lang('allow_rescheduling_cancellation_before') ?></h5>
|
||||
|
||||
<div class="mb-5">
|
||||
|
|
Loading…
Reference in a new issue