Admin: invite several agents at once with one role, try an email against the support mailbox to see what it would become without sending anything, and a weekly summary email to the owners with the week beside the week before and what needs a look (db 4.0.7)

This commit is contained in:
johnnyq
2026-11-19 21:05:51 -05:00
parent 0b9ee57e97
commit 61488305cb
17 changed files with 858 additions and 2 deletions

View File

@@ -251,6 +251,12 @@ $csrf = $_SESSION['csrf_token'];
<?php } ?>
<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-label="More"></button>
<div class="dropdown-menu dropdown-menu-end">
<?php if (userInvitesReady() && !$agent_user_limit_reached) { ?>
<a class="dropdown-item ajax-modal" href="#" data-modal-url="modals/user/user_invite_bulk.php?role=<?= $role_filter ?>">
<i class="fa fa-fw fa-users text-secondary me-2"></i>Invite several
</a>
<div class="dropdown-divider"></div>
<?php } ?>
<a class="dropdown-item ajax-modal" href="#" data-modal-url="<?= buildExportModalUrl('modals/user/user_export.php', ['q', 'role'], ['archived' => $show === 'archived' ? 1 : null]) ?>">
<i class="fa fa-fw fa-download text-secondary me-2"></i>Export
</a>