Add ability to set stock status when receiving goods

This commit is contained in:
Oliver Walters committed 2020-05-03 09:50:00 +10:00
1 parent fe87bba577
commit 7430abc237
5 files changed
+71 -17

No files matched your search

@@ -28,6 +28,11 @@ def stock_status_label(key, *args, **kwargs):
return mark_safe(StockStatus.render(key, large=kwargs.get('large', False)))
@register.simple_tag
def stock_status_text(key, *args, **kwargs):
return mark_safe(StockStatus.text(key))
@register.simple_tag
def build_status_label(key, *args, **kwargs):
""" Render a Build status label """