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 committed 2021-02-06 17:36:22 +11:00
1 parent dbaa0fc300
commit 30d95e1511
5 files changed
+79 -24

No files matched your search

@@ -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>