Skip to content

Support the use of supplying custom XML for insert to Xero

Robert Sinton requested to merge feature/custom_xml_for_xero into master

What I did

  • Copied this change from commit 9c4b2ac3 to Pulse's custom zon-core branch
  • Allows the supply of custom raw XML data for an insert, rather than just an array of data to be converted.

Implications

  • Original code reads oddly without this change — why was there a boolean $generate_xml parameter if there was no sensible behaviour when it was not set to TRUE? Feels like this option should have been there from the start?
  • Might need to check in with @josh on this one?

Setup

None

How to test

  • Code review
  • ?

Merge request reports