mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 12:05:53 +00:00
Report: Add date rendering (#6706)
* Validate timezone in settings.py * Add helper functions for timezone information - Extract server timezone - Convert provided time to specified timezone * Add more unit tests * Remove debug print * Test fix * Add report helper tags - format_date - format_datetime - Update report templates - Unit tests * Add setting to control report errors - Only log errors to DB if setting is enabled * Update example report * Fixes for to_local_time * Update type hinting * Fix unit test typo
This commit is contained in:
@ -152,6 +152,7 @@ export default function SystemSettings() {
|
||||
'REPORT_ENABLE',
|
||||
'REPORT_DEFAULT_PAGE_SIZE',
|
||||
'REPORT_DEBUG_MODE',
|
||||
'REPORT_LOG_ERRORS',
|
||||
'REPORT_ENABLE_TEST_REPORT',
|
||||
'REPORT_ATTACH_TEST_REPORT'
|
||||
]}
|
||||
|
Reference in New Issue
Block a user