Display purcahse price for stock item

This commit is contained in:
Oliver 2021-07-26 23:31:36 +10:00
parent 8a114d345f
commit fd821bbfc5
4 changed files with 25 additions and 1 deletions

View file

@ -534,6 +534,18 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
);
}
if (item.hasPurchasePrice) {
tiles.add(
ListTile(
title: Text(L10().purchasePrice),
leading: FaIcon(FontAwesomeIcons.dollarSign),
trailing: Text(item.purchasePrice),
)
);
}
// TODO - Is this stock item linked to a PurchaseOrder?
// TODO - Re-enable stock item history display
if (false && item.trackingItemCount > 0) {
tiles.add(