Commit dc8cead7 authored by Monish Deb's avatar Monish Deb

minor fixes

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