tonexv

Results 2 issues of tonexv

How to sort the results by 2 columns? This doesn't work: `$objs = $xero->load('Accounting\\Payment') ->where('Account.AccountID=GUID("' . $bankID . '")') ->orderBy('Date', 'desc') ->orderBy('Reference', 'desc') ->execute();` Thanks!

As the title says, how do I pass data from a db or a PHP variable to the date component so that the default date value is the one derived...