Varun 12 months ago
parent 143c9b2790
commit 063476085b

@ -4417,7 +4417,7 @@ exports.consumptionofparticulartank = async (request, reply) => {
try {
const { customerId } = request.params;
const { startDate, stopDate, tankName, tankLocation, block } = request.body;
console.log("hii")
// Convert input dates into strings in the same format as stored in the database
const start = moment(startDate, "DD-MMM-YYYY - HH:mm").format("DD-MMM-YYYY - HH:mm");
const end = moment(stopDate, "DD-MMM-YYYY - HH:mm").format("DD-MMM-YYYY - HH:mm");

Loading…
Cancel
Save