Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to search by lteq, gteq in Sales order list #48

Open
kolyasya opened this issue May 1, 2018 · 0 comments
Open

How to search by lteq, gteq in Sales order list #48

kolyasya opened this issue May 1, 2018 · 0 comments

Comments

@kolyasya
Copy link

kolyasya commented May 1, 2018

Hello! We reimplementing some functions built with PHP using Node.js and your package.

Here is a part of old code which I don't understand how to correctly convert:

image

I tried this one

totalRange: ({ lowerTotal, greaterTotal }) => [{
    base_grand_total: { lteq: parseFloat(lowerTotal) },
    base_total_invoiced: { gteq: parseFloat(greaterTotal) }
}],

but it doesn't work.

I have no problems with other more simple situations without lteq and gteq.

Could you please help with the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant