consolibyte/quickbooks-php — pull request #28 by chadsaun (2014-04-24 20:43:10+00:00)
Title: Fixed Issues with QBXML Objects  - SalesOrder and ReceivePayment

Matched the asQBXML signature to match its parent's asQBXML signature
Inside asQBXML add a variable to grab the type of request (Add, Mod, or Query) so that could be added to the end of the "SalesOrderLine(Add)" tag. You may want to update this section to detect the request type a different way, maybe via a parameter or something. This works for now though.
Modified the appropriate methods to add a SalesOrderLine. It looks like it was copied from the InvoiceLine class and was never changed.
Fixed bug in setAmount()