Add stocktake_date field to stock API, and to stock table

This commit is contained in:
Oliver Walters committed 2021-01-14 11:29:35 +11:00
1 parent 1316e6bf5b
commit df327d4e64
3 files changed
+7 -2

No files matched your search

+5
View File
@@ -590,6 +590,11 @@ function loadStockTable(table, options) {
return locationDetail(row);
}
},
{
field: 'stocktake_date',
title: '{% trans "Stocktake" %}',
sortable: true,
},
{% settings_value "STOCK_ENABLE_EXPIRY" as expiry %}
{% if expiry %}
{