diff --git a/docs/assets/images/report/picklist.png b/docs/assets/images/report/picklist.png new file mode 100644 index 0000000..ceebf8e Binary files /dev/null and b/docs/assets/images/report/picklist.png differ diff --git a/docs/report/build.md b/docs/report/build.md index 4986bf3..ce448be 100644 --- a/docs/report/build.md +++ b/docs/report/build.md @@ -76,6 +76,7 @@ will result in the first part of the list. Each query set has again its own cont | --- | --- | | .bom_item | The bom item where this part belongs to | | .stock_item | The allocated [StockItem](./context_variables.md#stockitem) | +| .quantity | The number of components needed for the build (components in BOM x parts to build) | ### Example diff --git a/docs/report/pack.md b/docs/report/pack.md index dc5b315..42fa9db 100644 --- a/docs/report/pack.md +++ b/docs/report/pack.md @@ -6,3 +6,49 @@ title: Packing List Report !!! missing "TODO" This section requires further work + +## Pick List + +When all material has been allocated someone has to pick all things from the warehouse. +In case you need a printed pick list you can use the following template. This it just the +table. All other info and CSS has been left out for simplicity. Please have a look at the +BOM report for details. + +{% raw %} +```html +
Original IPN | +Allocated Part | +Location | +PCS | +|
---|---|---|---|---|
{{ line.bom_item.sub_part.IPN }} | + {% if line.stock_item.part.IPN != line.bom_item.sub_part.IPN %} +{{ line.stock_item.part.IPN }} | + {% else %} +{{ line.stock_item.part.IPN }} | + {% endif %} +{{ line.stock_item.location.pathstring }} | +{{ line.quantity }} | +