sale price in ui

This commit is contained in:
Matthias 2021-05-04 22:50:04 +02:00
parent a6fc5d2ebe
commit 7fa235282b

View File

@ -223,6 +223,14 @@ $("#so-lines-table").inventreeTable({
field: 'quantity',
title: '{% trans "Quantity" %}',
},
{
sortable: true,
field: 'sale_price',
title: '{% trans "Unit Price" %}',
formatter: function(value, row) {
return row.sale_price_string || row.sale_price;
}
},
{
field: 'allocated',
{% if order.status == SalesOrderStatus.PENDING %}