Changes

no edit summary
Line 280: Line 280:  
Returns Array.
 
Returns Array.
   −
Returns list of available unit ids for specified date and service from provided $unitIds list.You can use this method with location Custom feature.
+
Returns list of available unit ids for specified date and service from provided $unitIds list.You can use this method with locations Custom feature.
 
Returns empty array if all units are not allowed.
 
Returns empty array if all units are not allowed.
 
Eg.: <code>[1, 2, 3]</code>
 
Eg.: <code>[1, 2, 3]</code>
Line 557: Line 557:  
Returns Array.
 
Returns Array.
   −
Returns available locations for company if Custom Feature [[Custom_Features#Unit_Location|Unit location Custom Feature]] is activated. Return
+
Returns available locations for company if Custom Feature [[Custom_Features#Multiple_Locations|Multiple locations Custom Feature]] is activated. Return
 
an error with code -32001 if Custom Feature is not activated. Use <code>[[#isPluginActivated|isPluginActivated('location')]]</code>
 
an error with code -32001 if Custom Feature is not activated. Use <code>[[#isPluginActivated|isPluginActivated('location')]]</code>
 
API method to check if Custom Feature activated.
 
API method to check if Custom Feature activated.
Line 755: Line 755:     
If locations Custom Feature activated for company you should pass a list as $unitID parameter for filter results with
 
If locations Custom Feature activated for company you should pass a list as $unitID parameter for filter results with
units available only for selected location. See [[Custom_Features#Unit_Location|Unit Location]] Custom Feature description for
+
units available only for selected location. See [[Custom_Features#Multiple_Locations|Multiple Locations]] Custom Feature description for
 
more details.
 
more details.
   Line 1,100: Line 1,100:  
*:Limit bookings
 
*:Limit bookings
 
* location
 
* location
*:Unit location
+
*:Multiple locations
 
* mobile_app_backend
 
* mobile_app_backend
 
*:Mobile application  
 
*:Mobile application