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