master^2
Varun 8 months ago
parent fd9ed2c3c7
commit a9b702970e

@ -1560,7 +1560,7 @@ exports.createquotationforSensor = async (req, reply) => {
message: 'Quotation for sensors created successfully.',
data: savedQuotation,
});
} catch (error) {
console.error('Error creating quotation:', error);
reply.code(500).send({
@ -1695,6 +1695,7 @@ exports.getallquotationdata = async (req, reply) => {
return acc;
}, {});
// Attach customer details to quotations
const enrichedQuotations = quotations.map((quotation) => ({
...quotation,

Loading…
Cancel
Save