2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-28 13:46:54 +00:00

Fixed typos

This commit is contained in:
Michael 2022-04-19 21:28:09 +02:00 committed by GitHub
parent b317ffdf36
commit b6b759ef49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,19 +19,19 @@ In addition to the default report context variables, the following context varia
| --- | --- | | --- | --- |
| build | The [Build](./context_variables.md#build) object the report is being generated against | | build | The [Build](./context_variables.md#build) object the report is being generated against |
| part | The [Part](./context_variables.md#part) object that the build references | | part | The [Part](./context_variables.md#part) object that the build references |
| reference | The build order reference string. This is just the string that follors BO... | | reference | The build order reference string. This is just the string that follows BO... |
| title | The full name of the build including the BO | | title | The full name of the build including the BO |
| quantity | Build order quantity | | quantity | Build order quantity |
| build.title | The description of the build | | build.title | The description of the build |
| build.status | The status of the build. 20 meand 'Production' | | build.status | The status of the build. 20 means 'Production' |
| build.bom_items | A query set with all bom items fo the build | | build.bom_items | A query set with all bom items for the build |
bom_items that cen be looped using {%for line in build.bom_items %} Each bom_item line has further context variables. bom_items that can be looped using {%for line in build.bom_items %} Each bom_item line has further context variables.
| Variable | Description | | Variable | Description |
| --- | --- | | --- | --- |
| line.reference | The reference designator of the component | | line.reference | The reference designator of the component |
| line.sub_part | The part as this position | | line.sub_part | The part at this position |
| line.quantity | The number of components | | line.quantity | The number of components |
| line.sub_part.build_order_allocations | ... | | line.sub_part.build_order_allocations | ... |