Skip to content

Instantly share code, notes, and snippets.

@jacoroux
Created October 2, 2015 09:19
Show Gist options
  • Save jacoroux/40377f4020178c83ada9 to your computer and use it in GitHub Desktop.
Save jacoroux/40377f4020178c83ada9 to your computer and use it in GitHub Desktop.
$order_adjustments = $this->BillingOrderAdjustments
->find('active')
->contain(['Accounts'])
->where([
'BillingOrderAdjustments.amount >' => 0
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment