mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 06:45:46 +00:00
chore: rename total_sales_price to average_sales_price in SalesSummary
This commit is contained in:
@@ -149,7 +149,7 @@ const DailyMarketingsTable = ({
|
||||
cell: (props) => formatCurrency(props.row.original.sales_price_per_kg),
|
||||
footer: () => {
|
||||
const totalSalesPrice = isResponseSuccess(dailyMarketings)
|
||||
? dailyMarketings?.total?.total_sales_price
|
||||
? dailyMarketings?.total?.average_sales_price
|
||||
: 0;
|
||||
|
||||
return totalSalesPrice ? formatNumber(totalSalesPrice) : '-';
|
||||
|
||||
Reference in New Issue
Block a user