Company administration service methods: Difference between revisions
| Line 416: | Line 416: | ||
* '''order''' string either 'record_date', 'date_start' or 'date_start_asc'. By default used 'date_start' value. | * '''order''' string either 'record_date', 'date_start' or 'date_start_asc'. By default used 'date_start' value. | ||
* '''booking_type''' a string. Value of this field depends on Approve booking plugin status. | * '''booking_type''' a string. Value of this field depends on Approve booking plugin status. | ||
If plugin not active: | *: If plugin not active: | ||
** '''all''' for all bookings (default value) | ** '''all''' for all bookings (default value) | ||
** '''cancelled''' alias to 'is_confirmed' equal to 0 | ** '''cancelled''' alias to 'is_confirmed' equal to 0 | ||
** '''non_cancelled''' alias to 'is_confirmed' equal to 1 | ** '''non_cancelled''' alias to 'is_confirmed' equal to 1 | ||
If plugin active: | *: If plugin active: | ||
** '''all''' for all bookings (default value) | ** '''all''' for all bookings (default value) | ||
** '''cancelled''' returns bookings with 'is_confirmed' field equals to 0 and approve booking status equals to 'cancelled' (or booking does not have any approve status) | ** '''cancelled''' returns bookings with 'is_confirmed' field equals to 0 and approve booking status equals to 'cancelled' (or booking does not have any approve status) | ||