Leite Legacy OTC auf ERP Formular um
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
require_once __DIR__ . '/../../modules/shared/auth/service.php';
|
||||
|
||||
$env = expand_env_values(parse_env_file(__DIR__ . '/../../.env'));
|
||||
$pdo = connect_database($env);
|
||||
auth_bootstrap_session();
|
||||
auth_ensure_schema($pdo);
|
||||
auth_require_user($pdo);
|
||||
|
||||
require_once __DIR__ . '/../../modules/erp/direktverkauf/ui/index.php';
|
||||
// The current OTC workflow is the authenticated, data-driven form on the ERP
|
||||
// start page. The former standalone page had hard-coded products and an
|
||||
// incompatible API payload.
|
||||
header('Location: /', true, 302);
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user