Commit 93368a1a authored by Monish Deb's avatar Monish Deb

minor fixes

parent a4cf9573
......@@ -222,11 +222,12 @@ class CRM_Syncintacct_Util {
}
public static function createGLEntries($batchEntries) {
$syncIntacctConfig = CRM_Syncintacct_API::singleton();
foreach ($batchEntries['ENTRIES'] as $key => &$entry) {
$batchEntries['ENTRIES'][$key] = $syncIntacctConfig->createGLEntry($entry);
}
return CRM_Syncintacct_API::singleton()->createGLBatch($batchEntries);
return $syncIntacctConfig->createGLBatch($batchEntries);
}
public static function processSyncIntacctResponse($batchID, $response) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment