2021-11-10 10:32:46 +03:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @var array $timezones
|
2022-01-12 13:20:07 +03:00
|
|
|
* @var string $timezone
|
2021-11-10 10:32:46 +03:00
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2021-11-22 10:02:26 +03:00
|
|
|
<div id="manage-unavailable" class="modal fade">
|
2021-11-09 10:53:09 +03:00
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h3 class="modal-title"><?= lang('new_unavailable_title') ?></h3>
|
2021-11-23 10:35:39 +03:00
|
|
|
<button class="btn-close" data-bs-dismiss="modal"></button>
|
2021-11-09 10:53:09 +03:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<div class="modal-message alert d-none"></div>
|
|
|
|
|
|
|
|
<form>
|
|
|
|
<fieldset>
|
|
|
|
<input id="unavailable-id" type="hidden">
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label for="unavailable-provider" class="form-label">
|
2021-11-09 10:53:09 +03:00
|
|
|
<?= lang('provider') ?>
|
|
|
|
</label>
|
|
|
|
<select id="unavailable-provider" class="form-control"></select>
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label for="unavailable-start" class="form-label">
|
2021-11-09 10:53:09 +03:00
|
|
|
<?= lang('start') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
|
|
|
<input id="unavailable-start" class="form-control">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label for="unavailable-end" class="form-label">
|
2021-11-09 10:53:09 +03:00
|
|
|
<?= lang('end') ?>
|
|
|
|
<span class="text-danger">*</span>
|
|
|
|
</label>
|
|
|
|
<input id="unavailable-end" class="form-control">
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label"><?= lang('timezone') ?></label>
|
2021-11-09 10:53:09 +03:00
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<?= lang('provider') ?>:
|
|
|
|
<span class="provider-timezone">
|
|
|
|
-
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<?= lang('current_user') ?>:
|
|
|
|
<span>
|
|
|
|
<?= $timezones[$timezone] ?>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label for="unavailable-notes" class="form-label">
|
2021-11-09 10:53:09 +03:00
|
|
|
<?= lang('notes') ?>
|
|
|
|
</label>
|
|
|
|
<textarea id="unavailable-notes" rows="3" class="form-control"></textarea>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2021-11-23 10:46:32 +03:00
|
|
|
<button class="btn btn-outline-secondary" data-bs-dismiss="modal">
|
2021-11-09 10:53:09 +03:00
|
|
|
<i class="fas fa-ban"></i>
|
|
|
|
<?= lang('cancel') ?>
|
|
|
|
</button>
|
|
|
|
<button id="save-unavailable" class="btn btn-primary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-check-square me-2"></i>
|
2021-11-09 10:53:09 +03:00
|
|
|
<?= lang('save') ?>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|