lib/intacctrb/journal_entry.rb in intacctrb-0.8.11 vs lib/intacctrb/journal_entry.rb in intacctrb-0.8.12

- old
+ new

@@ -158,17 +158,16 @@ object.intacct_key end def je_xml xml xml.recordno object.intacct_id if object.intacct_id - xml.empower_id if object.empower_id - xml.empower_class if object.empower_class xml.journal object.journal_id xml.batch_date date_string(object.date) if object.date xml.reverse_date date_string(object.reverse_date) if object.reverse_date xml.batch_title object.description xml.referenceno object.reference_number + custom_fields_xml(xml, object) je_item_fields(xml) end def je_item_fields xml xml.entries { @@ -183,9 +182,10 @@ xml.customerid row[:customer_id] if row[:customer_id] xml.employeeid row[:employee_id] if row[:employee_id] xml.projectid row[:project_id] if row[:project_id] xml.itemid row[:item_id] if row[:itemid] xml.classid row[:class_id] if row[:class_id] + custom_fields_xml(xml, object) } end } end