This website requires JavaScript.
Explore
Help
Sign in
adam
/
meal-order-manager
Watch
1
Star
0
Fork
You've already forked meal-order-manager
0
mirror of
https://github.com/Sea-Haven-Industries/meal-order-manager.git
synced
2026-10-07 00:01:58 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
cd1ac08388
meal-order-manager
/
src
/
shared
/
requirements.txt
3 lines
17 B
Text
Raw
Normal View
History
Unescape
Escape
Initial commit: meal ordering automation system (#1) Playwright-based menu scraper for Redefine Meals, self-contained HTML order form with S3/CloudFront hosting, DynamoDB-backed order submission via API Gateway, and automated payroll deduction reports via SES.
2026-05-12 18:25:15 -04:00
boto3
Add weekly summary PDF and admin order-list download (#16) (#17) Generate a per-person weekly summary PDF at Thursday close and store it alongside the CSV reports, plus a client-side admin download that rolls orders up into item -> total quantity for bulk ordering. - shared/pdf.py: build_weekly_summary_pdf() via fpdf2 (pure-Python, ARM64-safe; first non-boto3 layer dep). Per-person employee -> item -> quantity, no pricing. - aggregate_orders: write reports/{week}/weekly-summary-{week}.pdf (application/pdf) and stamp weekly_summary_pdf_s3_key on the SUMMARY. No new IAM (existing S3CrudPolicy). No email/Slack delivery. - generate_form.py: "Download order list" admin button aggregates the loaded week's orders into an item->qty CSV (no per-employee breakdown, no prices) via a Blob download. Works for open weeks too. - Tests: tests/test_pdf.py; aggregate happy-path now asserts 3 S3 uploads + the pdf key. - README updated.
2026-06-01 18:49:58 -04:00
fpdf2>=2.7
Reference in a new issue
Copy permalink