2
0
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:
Oliver
2024-03-15 12:24:17 +11:00
committed by GitHub
parent 0196dd2f60
commit 57a1a81e9b
9 changed files with 47 additions and 9 deletions

View File

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