feat(atlas): import catalog, customers and historical sales + viewer

- Add scripts/import_atlas_data.py to load Atlas data from Excel files
- Import 6,206 inventory items, 251 customers and 4,582 historical sales
- Create historical_sales table in tenant DB
- Add /pos/historical-sales page and /pos/api/historical-sales endpoint
- Link in reports sidebar for easy access
This commit is contained in:
2026-06-12 06:33:48 +00:00
parent 383799ff3d
commit 913e507adc
5 changed files with 550 additions and 0 deletions

View File

@@ -201,6 +201,10 @@ def create_app():
def pos_marketplace_external_callback():
return render_template('marketplace_external.html')
@app.route('/pos/historical-sales')
def pos_historical_sales():
return render_template('historical_sales.html')
@app.route('/pos/static/<path:filename>')
def pos_static(filename):
return send_from_directory('static', filename)