Dropped entirely rather than adapted to Doormile, per direction: none of
these are needed for the Doormile console right now.
Deleted:
- src/pages/nearle/invoice/ (invoice.js, invoicePreview.js)
- src/pages/nearle/reports/ (ordersSummary, ordersDetails, ridersSummary,
ridersLogs, profitability, plus their only consumers: mapWithRoute.js,
RiderLocationMap.js, RidersRoutes.js)
Removed the corresponding routes (MainRoutes.js) and sidebar entries
(menu-items/nearle.js: the whole "reports" collapse + "invoice" item),
and their locale keys from en.json.
Removed now-orphaned api.js functions that only those pages called:
getreportsummary, getreportlocationsummary, getriderbydelivery, fetchCount,
fetchRidersSummary, fetchinvoiceinsight, fetchdeliverylist, fetchOrders1,
getallriders. Verified each had zero remaining importers before removing.
Kept fetchorderdetails (still used by orders/details.js) and fetchRidersLogs
(still used by Dispatch.js) -- same name, different consumer than the
deleted reports pages.