mirror of
https://github.com/itflow-org/itflow
synced 2026-11-29 15:48:59 +00:00
Module switches: Dispatch, Bookkeeping, Purchasing, Trips and Calendar can be switched off in Admin > Settings > Modules, Dispatch coming with ticketing and the other three with invoicing, each hidden from menus, dashboard, search, reports and the API and refused on its pages, windows and handlers while off; Purchasing starts off unless already in use, Bookkeeping off posts the default accounts in place of account pickers, database 3.9.4, new moduleOn, moduleOffText and bookkeepingAccount helpers, purchase order settings tile summary, 26.11.9 changelog entries
This commit is contained in:
@@ -142,7 +142,7 @@ $csrf = $_SESSION['csrf_token'];
|
||||
<?php if ($row['account_name'] === null) { ?>
|
||||
<span class="text-danger-emphasis"><i class="fas fa-fw fa-exclamation-triangle me-1"></i>No account - pick one in Edit</span>
|
||||
<?php } else { ?>
|
||||
<a class="text-reset" href="/agent/accounts.php"><?= escapeHtml($row['account_name']) ?></a>
|
||||
<?php if (moduleOn('bookkeeping')) { ?><a class="text-reset" href="/agent/accounts.php"><?= escapeHtml($row['account_name']) ?></a><?php } else { ?><?= escapeHtml($row['account_name']) ?><?php } ?>
|
||||
<?php if ($row['account_archived_at']) { ?><div class="text-danger-emphasis"><i class="fas fa-fw fa-archive me-1"></i>Archived - pick another in Edit</div><?php } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user