@@ -221,8 +235,16 @@ function OrdersBreakdownTable({ orders, getRevenue }) {
|
- {km.toFixed(1)}
- km
+ {plannedDist.value}
+ {plannedDist.unit}
+ |
+
+ {actualDist.value}
+ {actualDist.unit}
+ |
+
+ {dist.value}
+ {dist.unit}
|
{rupees(rev)}
diff --git a/src/pages/nearle/reports/profitability.js b/src/pages/nearle/reports/profitability.js
index f811ec0..d973863 100644
--- a/src/pages/nearle/reports/profitability.js
+++ b/src/pages/nearle/reports/profitability.js
@@ -299,7 +299,7 @@ export default function ProfitabilityReport() {
const slot = getRowBatch(o, customBatches);
if (!slot) return;
- const oKms = parseFloat(o.kms || o.actualkms || 0);
+ const oKms = parseFloat(o.riderkms || 0);
rKms += oKms;
rRevenue += oKms <= 8 ? 30 : 30 + (oKms - 8) * 6;
@@ -611,7 +611,7 @@ export default function ProfitabilityReport() {
>
-
+
@@ -658,7 +658,7 @@ export default function ProfitabilityReport() {
#
Rider
Orders
- Distance
+ Rider KMs
Revenue
Fixed Cost
Variable Cost
|