Commit dc8cead7 authored by Monish Deb's avatar Monish Deb

minor fixes

parent a65a8c33
...@@ -86,8 +86,9 @@ class CRM_Syncintacct_API { ...@@ -86,8 +86,9 @@ class CRM_Syncintacct_API {
$journalLineEntry->setVendorId($entry['VENDORID']); $journalLineEntry->setVendorId($entry['VENDORID']);
$journalLineEntry->setTransactionCurrency($entry['CURRENCY']); $journalLineEntry->setTransactionCurrency($entry['CURRENCY']);
$journalLineEntry->setTransactionAmount($entry['AMOUNT']); $journalLineEntry->setTransactionAmount($entry['AMOUNT']);
$journalLineEntry->setMemo($entry['description']); $journalLineEntry->setMemo($entry['DESCRIPTION']);
$journalLineEntry->setCustomAllocationSplits(CustomFieldsTrait($entry['customfields'])); $customFields = new CustomFieldsTrait($entry['customfields']);
$journalLineEntry->setCustomAllocationSplits($customFields);
return $journalEntry; return $journalEntry;
} }
......
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