Seal live dashboard event gaps
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
}
|
||||
$pdo2->commit();
|
||||
|
||||
notify_node('gl_posted', ['doc_type' => $doc['doc_type'], 'id' => $id, 'action' => 'posted'], $company_id);
|
||||
notify_node('gl_posted', gl_posted_payload((string)$doc['doc_type'], (int)$id, $existing ? 'replaced' : 'posted', $built['lines'] ?? []), $company_id);
|
||||
$answer['gl_posted'] = true;
|
||||
} catch (Exception $e) {
|
||||
if ($pdo2->inTransaction()) $pdo2->rollBack();
|
||||
|
||||
Reference in New Issue
Block a user