- Initialize git repository - Add comprehensive .gitignore (protects .env and secrets) - Fix package.json (correct main entry, add metadata) - Expand .env.example with all required variables and comments - Add README.md with architecture, setup, and commands - Clean up empty scaffolding directories (logs removed, agents/models marked) - Backup previous .env file locally This establishes a safe foundation before further development.
15 lines
No EOL
652 B
JavaScript
15 lines
No EOL
652 B
JavaScript
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 }; |