accounting workflows

This commit is contained in:
Thanakorn S
2026-05-20 10:17:02 +07:00
parent 04a683bd02
commit 7396db6ffc
199 changed files with 23539 additions and 5345 deletions
@@ -0,0 +1,13 @@
<?php
session_start();
require '../../../assets/utils/db_auth.php';
require '../../../assets/utils/classes/CompanySettingManager.php';
$settings = new CompanySettingManager($pdo1, $company_id);
$open_from = $settings->get('posting_open_from') ?: $settings->get('gl_open_from') ?: '';
$open_to = $settings->get('posting_open_to') ?: $settings->get('gl_open_to') ?: '';
$answer['output'] = ['open_from' => $open_from, 'open_to' => $open_to];
$answer['success'] = 1;
exit(json_encode($answer));
?>