Skip to content

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

@kolyasya

Description

@kolyasya

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions