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,18 @@
<?php
session_start();
require '../../../assets/utils/db_auth.php';
require '../../../assets/utils/classes_ac/GlQueryManager.php';
try {
$gl_query = new GlQueryManager($pdo2, $company_id);
$answer['output'] = $gl_query->getJournalListing(
trim((string)($data['source_type'] ?? '')),
trim((string)($data['date_from'] ?? '')),
trim((string)($data['date_to'] ?? ''))
);
$answer['success'] = 1;
} catch (Exception $e) {
$answer['message'] = $e->getMessage();
}
exit(json_encode($answer));