I need to set the filter by date using function getSelectFilters. End date after yesterday. My code:
It works, but in CRM field is empty. I assume this is due to incorrect filling "date". Examples of filling the array with data type date is not found, tried the method of random selection - no results. yesterday - it's the date in format 2019-06-14. How to set a filter correctly?
PHP Code:
'endDate': {
attribute: 'endDate',
type: 'after',
value: yesterday,
data: {
type: 'after',
nameValue: yesterday
}
}
Comment