diff --git a/src/frontend/src/pages/stock/StockDetail.tsx b/src/frontend/src/pages/stock/StockDetail.tsx index 5d73866074..fa4bb80fa9 100644 --- a/src/frontend/src/pages/stock/StockDetail.tsx +++ b/src/frontend/src/pages/stock/StockDetail.tsx @@ -431,17 +431,24 @@ export default function StockDetail() { hidden: !stockitem.packaging }, { - type: 'text', + type: 'date', + name: 'creation_date', + icon: 'calendar', + label: t`Created`, + hidden: !stockitem.creation_date + }, + { + type: 'date', name: 'updated', icon: 'calendar', label: t`Last Updated` }, { - type: 'text', - name: 'stocktake', + type: 'date', + name: 'stocktake_date', icon: 'calendar', label: t`Last Stocktake`, - hidden: !stockitem.stocktake + hidden: !stockitem.stocktake_date } ];