Display purcahse price for stock item

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

No files matched your search

+12
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(