2023-11-29 12:24:09 +03:00
|
|
|
<?php extend('layouts/backend_layout'); ?>
|
2023-11-03 20:25:23 +03:00
|
|
|
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php section('content'); ?>
|
2023-11-03 20:25:23 +03:00
|
|
|
|
|
|
|
<div class="container-fluid backend-page" id="blocked-periods-page">
|
|
|
|
|
|
|
|
<div class="row" id="blocked-periods">
|
|
|
|
<div id="filter-blocked-periods" class="filter-records column col-12 col-md-5">
|
|
|
|
<form class="input-append mb-4">
|
|
|
|
<div class="input-group">
|
|
|
|
<input type="text" class="key form-control" aria-label="keyword">
|
|
|
|
|
|
|
|
<button class="filter btn btn-outline-secondary" type="submit"
|
|
|
|
data-tippy-content="<?= lang('filter') ?>">
|
|
|
|
<i class="fas fa-search"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<h4 class="text-black-50 mb-3 fw-light">
|
|
|
|
<?= lang('blocked_periods') ?>
|
|
|
|
</h4>
|
|
|
|
|
2024-05-11 18:50:45 +03:00
|
|
|
<?php slot('after_page_title'); ?>
|
|
|
|
|
2023-11-03 20:25:23 +03:00
|
|
|
<div class="results">
|
|
|
|
<!-- JS -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="record-details col-12 col-md-5">
|
|
|
|
<div class="btn-toolbar mb-4">
|
2024-01-06 12:40:02 +03:00
|
|
|
<a href="<?= site_url('business_settings') ?>" class="btn btn-outline-primary me-2">
|
|
|
|
<i class="fas fa-chevron-left me-2"></i>
|
|
|
|
<?= lang('back') ?>
|
|
|
|
</a>
|
|
|
|
|
2023-11-03 20:25:23 +03:00
|
|
|
<div class="add-edit-delete-group btn-group">
|
|
|
|
<button id="add-blocked-period" class="btn btn-primary">
|
|
|
|
<i class="fas fa-plus-square me-2"></i>
|
|
|
|
<?= lang('add') ?>
|
|
|
|
</button>
|
|
|
|
<button id="edit-blocked-period" class="btn btn-outline-secondary" disabled="disabled">
|
|
|
|
<i class="fas fa-edit me-2"></i>
|
|
|
|
<?= lang('edit') ?>
|
|
|
|
</button>
|
|
|
|
<button id="delete-blocked-period" class="btn btn-outline-secondary" disabled="disabled">
|
|
|
|
<i class="fas fa-trash-alt me-2"></i>
|
|
|
|
<?= lang('delete') ?>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="save-cancel-group" style="display:none;">
|
|
|
|
<button id="save-blocked-period" class="btn btn-primary">
|
|
|
|
<i class="fas fa-check-square me-2"></i>
|
|
|
|
<?= lang('save') ?>
|
|
|
|
</button>
|
|
|
|
<button id="cancel-blocked-period" class="btn btn-secondary">
|
|
|
|
<?= lang('cancel') ?>
|
|
|
|
</button>
|
|
|
|
</div>
|
2024-05-11 18:50:45 +03:00
|
|
|
|
|
|
|
<?php slot('after_page_actions'); ?>
|
2023-11-03 20:25:23 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<h4 class="text-black-50 mb-3 fw-light">
|
|
|
|
<?= lang('details') ?>
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
<div class="form-message alert" style="display:none;"></div>
|
|
|
|
|
|
|
|
<input type="hidden" id="id">
|
|
|
|
|
|
|
|
<div class="mb-3">
|
|
|
|
<label class="form-label" for="name">
|
|
|
|
<?= lang('name') ?>
|
|
|
|
<span class="text-danger" hidden>*</span>
|
|
|
|
</label>
|
|
|
|
<input id="name" class="form-control required" disabled>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-3">
|
2023-11-17 10:04:27 +03:00
|
|
|
<label class="form-label" for="start-date-time">
|
2023-11-03 20:25:23 +03:00
|
|
|
<?= lang('start') ?>
|
|
|
|
<span class="text-danger" hidden>*</span>
|
|
|
|
</label>
|
2023-11-17 10:04:27 +03:00
|
|
|
<input id="start-date-time" class="form-control required" disabled>
|
2023-11-03 20:25:23 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-3">
|
2023-11-17 10:04:27 +03:00
|
|
|
<label class="form-label" for="end-date-time">
|
2023-11-03 20:25:23 +03:00
|
|
|
<?= lang('end') ?>
|
|
|
|
<span class="text-danger" hidden>*</span>
|
|
|
|
</label>
|
2023-11-17 10:04:27 +03:00
|
|
|
<input id="end-date-time" class="form-control required" disabled>
|
2023-11-03 20:25:23 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-3">
|
2023-11-17 11:37:38 +03:00
|
|
|
<label class="form-label" for="notes">
|
|
|
|
<?= lang('notes') ?>
|
2023-11-03 20:25:23 +03:00
|
|
|
</label>
|
2023-11-17 11:37:38 +03:00
|
|
|
<textarea id="notes" rows="4" class="form-control" disabled></textarea>
|
2023-11-03 20:25:23 +03:00
|
|
|
</div>
|
2024-05-11 18:50:45 +03:00
|
|
|
|
|
|
|
<?php slot('after_primary_fields'); ?>
|
2023-11-03 20:25:23 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php end_section('content'); ?>
|
2023-11-03 20:25:23 +03:00
|
|
|
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php section('scripts'); ?>
|
2023-11-03 20:25:23 +03:00
|
|
|
|
|
|
|
<script src="<?= asset_url('assets/js/utils/message.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/utils/validation.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/utils/url.js') ?>"></script>
|
2023-11-17 10:04:27 +03:00
|
|
|
<script src="<?= asset_url('assets/js/utils/ui.js') ?>"></script>
|
2023-11-03 20:25:23 +03:00
|
|
|
<script src="<?= asset_url('assets/js/http/blocked_periods_http_client.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/pages/blocked_periods.js') ?>"></script>
|
|
|
|
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php end_section('scripts'); ?>
|