[UI] Fix stock dates
- Display creation date - Display stocktake date
This commit is contained in:
parent
25b83c7388
commit
a242187b1f
|
|
@ -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
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue