Commit Graph

46 Commits

Author SHA1 Message Date
gitea_admin 3a9f2f04d0 Constrain worktree scope in AGENTS 2026-06-15 11:52:33 +02:00
gitea_admin a42e8d2907 Add root login compatibility wrappers 2026-06-15 11:30:26 +02:00
gitea_admin da29732cba Add shared auth login flow 2026-06-15 11:20:22 +02:00
gitea_admin b648d789e9 Fix shared DB env resolution 2026-06-15 10:41:15 +02:00
gitea_admin 6e656e00c5 Split ERP flows into modules 2026-06-15 10:36:20 +02:00
gitea_admin 56b9edefa8 Remove legacy entry points 2026-06-15 10:20:14 +02:00
gitea_admin 6893792723 Sync module docs with code 2026-06-15 10:13:06 +02:00
gitea_admin 6fc7ba6a0b Move app into module structure 2026-06-15 10:11:05 +02:00
gitea_admin 63a1e79147 Add module ownership docs 2026-06-15 10:06:42 +02:00
gitea_admin c6b5a0572c Add architecture module map 2026-06-15 09:58:33 +02:00
gitea_admin 39d936cfba Sync styleguide 2026.05.18.1 2026-06-14 16:00:49 +02:00
gitea_admin cd2a3a0a56 Sync styleguide 2026.05.18.1 2026-06-14 12:07:52 +02:00
gitea_admin ca25fc7638 Sync styleguide 2026.05.18.1 2026-06-12 09:02:48 +02:00
gitea_admin 4c7322cfbd Sync styleguide 2026.05.18.1 2026-06-12 08:53:40 +02:00
gitea_admin ebe0e59efc Sync styleguide 2026.05.18.1 2026-06-11 11:20:37 +02:00
gitea_admin 5009e5ff3b Sync styleguide 2026.05.18.1 2026-06-11 07:57:07 +02:00
gitea_admin 379d11f11a Sync styleguide 2026.05.18.1 2026-06-11 07:50:42 +02:00
gitea_admin 1b4ba2e65e Sync styleguide 2026.05.18.1 2026-06-10 18:23:46 +02:00
gitea_admin b9fc1a52b1 Sync styleguide 2026.05.18.1 2026-06-10 18:04:47 +02:00
gitea_admin 3c435d5ebb Sync styleguide 2026.05.18.1 2026-06-10 13:55:15 +02:00
gitea_admin baf8b97938 Sync styleguide 2026.05.18.1 2026-06-10 13:28:58 +02:00
gitea_admin 94b761a1b7 Sync styleguide 2026.05.18.1 2026-06-09 10:51:49 +02:00
gitea_admin bca4c086e7 Sync styleguide 2026.05.18.1 2026-06-09 09:14:33 +02:00
gitea_admin 2cccdfb793 Sync styleguide 2026.05.18.1 2026-06-09 09:06:35 +02:00
gitea_admin 12efc31cac Sync styleguide 2026.05.18.1 2026-06-09 08:55:23 +02:00
gitea_admin 4c67276645 Sync styleguide 2026.05.18.1 2026-06-05 08:08:46 +02:00
gitea_admin 896e6bfddb Sync styleguide 2026.05.18.1 2026-06-04 14:33:11 +02:00
gitea_admin 2603c326b2 Sync styleguide 2026.05.18.1 2026-06-04 13:56:17 +02:00
gitea_admin f26d848d21 Sync styleguide 2026.05.18.1 2026-06-03 16:29:03 +02:00
gitea_admin 1387aec5e1 Sync styleguide 2026.05.18.1 2026-06-03 16:28:19 +02:00
gitea_admin 543d3e5af5 Sync styleguide 2026.05.18.1 2026-06-03 16:25:03 +02:00
gitea_admin 70272e81d6 DEV-Ist-Stand fuer Phase 1 dokumentiert 2026-06-02 21:49:57 +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 d2943b446b Use strict alias mapping for article-to-product components 2026-03-30 08:18:05 +02:00
gitea_admin ef06b4dd90 Auto-seed new current lot on lot switch to avoid allocation loop 2026-03-29 22:07:16 +02:00
gitea_admin 68fb6e138c Support bundle title parsing into single inventory products 2026-03-29 22:01:19 +02:00
gitea_admin 3b8a8aeb69 Fix order import mapping and lot auto-switch robustness 2026-03-29 21:52:26 +02:00
gitea_admin bcf1f5523e Automate inventory allocation during order import with idempotent rollback 2026-03-29 21:31:51 +02:00
gitea_admin a828345ac9 Automate post-import shipping label trigger and wire label webhook flow 2026-03-29 21:20:34 +02:00
gitea_admin a4798f8e04 Trigger label webhook with broader env-secret header compatibility 2026-03-29 21:19:30 +02:00
gitea_admin 8e74ccab67 Auto-trigger shipping label flow after successful order import 2026-03-29 21:17:24 +02:00
gitea_admin de890e6b91 Accept array payloads and add DB schema preflight for order import 2026-03-29 20:47:03 +02:00
gitea_admin 49770a58ec Harden order import SQL with explicit public schema 2026-03-29 20:46:01 +02:00
gitea_admin b214723a46 Add ERP order import endpoint and n8n order-ingest flow export 2026-03-29 20:45:00 +02:00
gitea_admin 09c978f8aa Initial commit 2026-03-29 13:32:01 +00:00