function formatStoreReport(location, storeNumber) { let msg = `### Store ${storeNumber} - ${location.name || 'Unknown'}\n\n`; msg += `**ℹ️ Details**\n`; msg += `${location.address || ''}\n`; if (location.address2) msg += `${location.address2}\n`; if (location.address3) msg += `${location.address3}\n`; msg += `${location.city || ''}, ${location.state || ''} ${location.postal_code || ''} ${location.country_code || 'US'}\n`; msg += `Phone: ${location.phone || 'N/A'}\n`; msg += `District ID: ${location.district_id || 'N/A'} Region ID: ${location.region_id || 'N/A'}\n`; return msg; } module.exports = { formatStoreReport };