2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

Add 'REPORT_DEBUG_MODE' setting

- If set, reports are printed in raw HTML
- Not pretty, but useful for debugging output of rendered template
This commit is contained in:
Oliver Walters
2021-02-06 17:36:22 +11:00
parent dbaa0fc300
commit 30d95e1511
5 changed files with 79 additions and 24 deletions

View File

@ -16,6 +16,7 @@
{% include "InvenTree/settings/header.html" %}
<tbody>
{% include "InvenTree/settings/setting.html" with key="REPORT_DEFAULT_PAGE_SIZE" %}
{% include "InvenTree/settings/setting.html" with key="REPORT_DEBUG_MODE" %}
{% include "InvenTree/settings/setting.html" with key="REPORT_ENABLE_TEST_REPORT" %}
</tbody>
</table>