[UI] Fix stock dates

- Display creation date
- Display stocktake date
This commit is contained in:
Oliver Walters 2026-06-29 03:27:20 +00:00
parent 25b83c7388
commit a242187b1f
1 changed files with 9 additions and 2 deletions

View File

@ -430,6 +430,13 @@ export default function StockDetail() {
label: t`Packaging`,
hidden: !stockitem.packaging
},
{
type: 'text',
name: 'creation_date',
icon: 'calendar',
label: t`Created`,
hidden: !stockitem.creation_date
},
{
type: 'text',
name: 'updated',
@ -438,10 +445,10 @@ export default function StockDetail() {
},
{
type: 'text',
name: 'stocktake',
name: 'stocktake_date',
icon: 'calendar',
label: t`Last Stocktake`,
hidden: !stockitem.stocktake
hidden: !stockitem.stocktake_date
}
];