You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Host Detail Dropdown Selection: Admins can now explicitly assign property ownership directly from the property creation/editing form:
Admin Ownership: Default option, assigning the logged-in admin's ID as the host_id.
Existing Host Ownership: Retains existing host ID in edit mode for non-admin hosts.
NULL Ownership (Unregistered/Custom Host): Disables host association (host_id set to NULL) and opens fields to capture details manually.
Conditional Host Contact Fields: Choosing NULL dynamically renders two new required input fields:
Host Email (validated for correct email formatting)
Host Mobile Number
Dynamic Dashboard Display: If a property has no associated host_id (NULL), the property management dashboard card displays the Host Mobile Number in place of the Host username.
🛠️ Technical Details & Refactoring
Database Updates: Altered schema to add host_email and host_mobile_number columns.
AJAX Hook Integrations: Enhanced creation, update, and autosave AJAX endpoints to extract, validate, and persist the custom host credentials.
Asset Optimization: Ensured complete synchronization of templates, JS scripts, and PHP hooks across standard and minified paths in minify-version/.