2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

Company docs updates (#4710)

* Refactor order documentation into simpler consolidated pages

* Reorganize images

* Add documentation on "Contact"

* Add imgae
This commit is contained in:
Oliver
2023-04-27 22:27:21 +10:00
committed by GitHub
parent bb860227c8
commit e2c3b28640
42 changed files with 290 additions and 307 deletions

View File

@ -217,14 +217,11 @@ Each part object has access to a lot of context variables about the part. The fo
### Orders
!!! incomplete "TODO"
This section requires further work
The [Purchase Order](../buy/po.md) context variables are described in the [Purchase Order](purchase_order.md) section.
The [Purchase Order](../order/purchase_order.md) context variables are described in the [Purchase Order](./purchase_order.md) section.
#### SalesOrder
A [Sales Order](../sell/so.md) object has the following context variables available.
A [Sales Order](../order/sales_order.md) object has the following context variables available.
| Variable | Description |
|----------|-------------|
@ -235,7 +232,7 @@ A [Sales Order](../sell/so.md) object has the following context variables availa
#### Return Order
A [Return Order](../sell/return.md) object has the following context variables avaiable.
A [Return Order](../order/return_order.md) object has the following context variables avaiable.
| Variable | Description |
| --- | --- |
@ -244,7 +241,6 @@ A [Return Order](../sell/return.md) object has the following context variables a
| lines | The lines in the Sales Order |
| reference | The reference number |
### User
| Variable | Description |

View File

@ -4,11 +4,11 @@ title: Purchase Order Report
## Purchase Order Reports
Custom purchase order reports may be generated against any given [Purchase Order](../buy/po.md). For example, purchase order reports could be used to generate a pdf of the order to send to a supplier.
Custom purchase order reports may be generated against any given [Purchase Order](../order/purchase_order.md). For example, purchase order reports could be used to generate a pdf of the order to send to a supplier.
### Purchase Order Filters
The report template can be filtered against available [Purchase Order](../buy/po.md) instances.
The report template can be filtered against available [Purchase Order](../order/purchase_order.md) instances.
### Context Variables
@ -19,7 +19,7 @@ In addition to the default report context variables, the following variables are
| order | The specific Purchase Order object |
| reference | The order reference field (can also be accessed as `{% raw %}{{ order.reference }}{% endraw %}`) |
| description | The order description field |
| supplier | The [supplier](../buy/supplier.md) associated with this purchase order |
| supplier | The [supplier](../order/company.md#suppliers) associated with this purchase order |
| lines | A list of available line items for this order |
| extra_lines | A list of available *extra* line items for this order |
| order.created_by | The user who created the order |

View File

@ -4,7 +4,7 @@ title: Return Order Reports
## Return Order Reports
Custom reports may be generated against any given [Return Order](../sell/return.md). For example, return order reports can be used to generate an RMA request to send to a customer.
Custom reports may be generated against any given [Return Order](../order/return_order.md). For example, return order reports can be used to generate an RMA request to send to a customer.
### Context Variables

View File

@ -4,11 +4,11 @@ title: Sales Order Reports
## Sales Order Reports
Custom sales order reports may be generated against any given [Sales Order](../sell/so.md). For example, a sales order report could be used to generate an invoice to send to a customer.
Custom sales order reports may be generated against any given [Sales Order](../order/sales_order.md). For example, a sales order report could be used to generate an invoice to send to a customer.
### Sales Order Filters
The report template can be filtered against available [Sales Order](../sell/so.md) instances.
The report template can be filtered against available [Sales Order](../order/sales_order.md) instances.
### Context Variables
@ -19,7 +19,7 @@ In addition to the default report context variables, the following variables are
| order | The specific Sales Order object |
| reference | The order reference field (can also be accessed as `{% raw %}{{ order.description }}{% endraw %}`) |
| description | The order description field |
| customer | The [customer](../sell/customer.md) associated with the particular sales order |
| customer | The [customer](../order/company.md#customers) associated with the particular sales order |
| lines | A list of available line items for this order |
| extra_lines | A list of available *extra* line items for this order |
| order.currency | The currency code associated with this order, e.g. 'CAD' |