now using unit price in the post tab, allowing decimals to still be able to undercut by 1c

This commit is contained in:
Manuel Simon Hirsig
2016-02-06 17:23:41 +01:00
parent 17e7b840c3
commit 76fca97a40
6 changed files with 35 additions and 32 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ local methods = {
-- GetRowPrices = function(record, isPerUnit) return end, -- TODO
GetRowPrices = function(record, per_unit)
if per_unit then
return record.unit_bid_price, record.unit_buyout_price
return ceil(record.unit_bid_price), ceil(record.unit_buyout_price)
else
return record.bid_price, record.buyout_price
end