Keep the calendar view to table when clicking on the backend header menu item.
This commit is contained in:
parent
387ac5bc19
commit
2e28567e7f
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
<?php $hidden = can('view', PRIV_APPOINTMENTS) ? '' : 'd-none' ?>
|
||||
<?php $active = $active_menu == PRIV_APPOINTMENTS ? 'active' : '' ?>
|
||||
<li class="nav-item <?= $active . $hidden ?>">
|
||||
<a href="<?= site_url('calendar') ?>" class="nav-link"
|
||||
<a href="<?= site_url('calendar' . (vars('calendar_view') === CALENDAR_VIEW_TABLE ? '?view=table' : '')) ?>" class="nav-link"
|
||||
data-tippy-content="<?= lang('manage_appointment_record_hint') ?>">
|
||||
<i class="fas fa-calendar-alt me-2"></i>
|
||||
<?= lang('calendar') ?>
|
||||
|
|
Loading…
Reference in a new issue