mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-30 00:21:34 +00:00
Reporting: Build line label fix (#6717)
* Fix "BuildLine" label in PUI - Point to "buildline" not "build" * Prevent escape closing template ediror * Update report docs * Fix for format_number - Prevent number from being represented as scientific notation
This commit is contained in:
@@ -117,6 +117,7 @@ So, if you are writing a template which has custom formatting, (or any other sec
|
||||
|
||||
```html
|
||||
{% raw %}
|
||||
{% load l10n %}
|
||||
<head>
|
||||
<style>
|
||||
@page {
|
||||
@@ -133,6 +134,9 @@ So, if you are writing a template which has custom formatting, (or any other sec
|
||||
!!! tip "Close it out"
|
||||
Don't forget to end with a `{% raw %}{% endlocalize %}{% endraw %}` tag!
|
||||
|
||||
!!! tip "l10n"
|
||||
You will need to add `{% raw %}{% load l10n %}{% endraw %}` to the top of your template file to use the `{% raw %}{% localize %}{% endraw %}` tag.
|
||||
|
||||
### Extending with Plugins
|
||||
|
||||
The [ReportMixin plugin class](../extend/plugins/report.md) allows reporting functionality to be extended with custom features.
|
||||
|
Reference in New Issue
Block a user