37 Commits
Author SHA1 Message Date
gitea_admin cc534b0ce4 Add fixed chapters to market occurrence checklists 2026-09-30 11:59:35 +02:00
gitea_admin f9b5383ae9 Add occurrence checklist submodule 2026-09-30 10:08:48 +02:00
gitea_admin 7f61df4052 Anmeldehinweis fuer Marktdurchfuehrungen ergaenzen 2026-09-27 09:14:33 +02:00
gitea_admin 345b015137 Remove market travel duration 2026-09-27 08:43:12 +02:00
gitea_admin dc52003c01 Standkosten mit Standardsteuersatz versehen 2026-09-20 12:19:13 +02:00
gitea_admin 3a0cb81a97 Kostenarten und geschützte Standkosten umsetzen 2026-09-20 12:16:31 +02:00
gitea_admin 2d3c9ce4ab Gemeinderegister für Marktdurchführungen ergänzen 2026-09-20 11:48:00 +02:00
gitea_admin 36fb17ac32 Veranstalter strikt von Lieferanten trennen 2026-09-20 11:04:13 +02:00
gitea_admin 0e71aca89b Veranstalter am Markt verankern 2026-09-20 10:57:40 +02:00
gitea_admin 47c09a3e4c Link OTC sales to market days 2026-09-19 17:32:23 +02:00
gitea_admin 20f130f614 Add first-day inheritance for occurrence days 2026-09-19 16:50:53 +02:00
gitea_admin f9ffa5a6b6 Ergaenze Website-URL am Marktstamm 2026-09-19 10:08:49 +02:00
gitea_admin 9bde337506 Vervollstaendige Marktmanagement-MCP-Abdeckung 2026-09-19 09:24:14 +02:00
gitea_admin 2607f448ad Implementiere Marktmanagement-Datenmodell 2026-09-19 08:30:01 +02:00
gitea_admin 51a5e630a8 Backfill qualified lot activation selection 2026-09-08 14:41:13 +02:00
gitea_admin 3f15756596 Correct independent stock lot activation flow 2026-09-08 14:38:54 +02:00
gitea_admin d640f3656d Revert "Add documents to stock lots"
This reverts commit 2bec934732.
2026-09-08 13:49:20 +02:00
gitea_admin 2bec934732 Add documents to stock lots 2026-09-08 11:38:10 +02:00
gitea_admin 28fa29f294 Offene Chargen mit Zielmenge korrigieren 2026-09-08 09:18:31 +02:00
gitea_admin ca5cf5a03f Erlaube mehrere offene Lagerchargen 2026-09-06 17:37:01 +02:00
gitea_admin bf875f6dea Automate Shopify reconciliation in daily cron 2026-09-06 15:31:57 +02:00
gitea_admin 19ce29c3d0 Add manufacturer lot traceability 2026-09-06 10:16:47 +02:00
gitea_admin b406ad3b10 Ensure forecast snapshot date exists 2026-09-06 08:57:05 +02:00
gitea_admin 1639960ab6 Add daily stock lot sellout forecast 2026-09-06 08:55:10 +02:00
gitea_admin 99dd615f01 Erlaube mehrere OTC-Zahlungsarten 2026-09-06 08:21:01 +02:00
gitea_admin ee03fd70b9 Verlange menschliche Aktivierung echter Chargen 2026-09-06 08:09:21 +02:00
gitea_admin ed8927b37d Erfasse Shopify-Bestellungen trotz Fehlbestand 2026-09-06 08:05:43 +02:00
gitea_admin 8c4b9a7f89 Process Shopify webhooks asynchronously 2026-08-12 18:15:24 +02:00
gitea_admin db4168abd9 Add Shopify delta order import 2026-08-12 17:47:33 +02:00
gitea_admin fd00a851ed Erweitere Schema fuer Shopify Delta Import 2026-08-12 17:31:37 +02:00
gitea_admin 56bbfdc9c1 Gleiche ERP Katalog an Shopify an 2026-08-12 17:18:42 +02:00
gitea_admin f2c9150cb3 Fuehre technische Shopify-Runpersistenz ein 2026-08-12 16:14:02 +02:00
gitea_admin 57dfae624d Zentrale Excel-Webhook-Zustellung 2026-06-16 15:16:02 +02:00
gitea_admin 0d8353fb9c Implement Excel webhook integration
Features:
- Migration 0007: shipping_date column with automatic next-business-day calculation
- New function trigger_excel_webhook() in order-import.php
- SQL query for extracting Excel data from ERP database
- Integration after successful order import
- Documentation for n8n Postgres node configuration

Changes:
1. db/migrations/0007_phase1_excel_webhook.sql - adds shipping_date column, trigger, next-business-day function
2. order-import.php - adds trigger_excel_webhook() function and integration point
3. docs/EXAKTE_POSTGRES_QUERY.sql - exact SQL query for n8n Postgres node
4. docs/N8N_POSTGRES_QUERY.md - comprehensive documentation
5. docs/N8N_POSTGRES_NODE.* - n8n node configurations
6. docs/N8N_EXCEL_WORKFLOW.json - complete workflow JSON
7. docs/N8N_NODE_COPY_PASTE.md - copy-paste ready instructions

The implementation triggers an Excel webhook after every successful order import, sending all necessary data for Excel bookkeeping to n8n.
2026-04-06 21:23:50 +02:00
gitea_admin d52b6953ed Add OTC sales UI with direct sales support
- Create OTC UI form at public/otc/index.php
- Add API endpoint public/api/otc-order.php
- Extract shared DB connection to includes/db.php
- Add migration for OTC products (0006_phase1_otc_products.sql)
- Support order_source='direct' with automatic DIR- reference generation
- Include billing address capture with default values
- Add payment methods cash and paypal for direct sales
- Implement stock allocation and inventory management
2026-04-06 19:55:24 +02:00
gitea_admin 3b8a8aeb69 Fix order import mapping and lot auto-switch robustness 2026-03-29 21:52:26 +02:00
gitea_admin b214723a46 Add ERP order import endpoint and n8n order-ingest flow export 2026-03-29 20:45:00 +02:00