stock aggregate table
This commit is contained in:
@@ -14,6 +14,13 @@ try {
|
||||
exit(json_encode($answer));
|
||||
}
|
||||
|
||||
if ($action === 'get_current_gaps') {
|
||||
$gaps = $etl->getGaps();
|
||||
$answer['output'] = ['current_gaps' => count($gaps)];
|
||||
$answer['success'] = 1;
|
||||
exit(json_encode($answer));
|
||||
}
|
||||
|
||||
if ($action === 'get_periods') {
|
||||
$sth = $pdo2->prepare(
|
||||
"SELECT DISTINCT period FROM td_gl WHERE company_id = :cid ORDER BY period"
|
||||
|
||||
Reference in New Issue
Block a user