diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-19 14:05:07 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-19 14:05:07 +0100 |
| commit | 5d3e672dd7f35c348a98fd149c02c5c9d79cb520 (patch) | |
| tree | aeb54fdb20f2e5c60cf2ee1f1952f6f604248909 /add_business.php | |
| parent | 53bb19704b1e99245b755caf2d573a4406066902 (diff) | |
| download | contact-5d3e672dd7f35c348a98fd149c02c5c9d79cb520.tar.gz contact-5d3e672dd7f35c348a98fd149c02c5c9d79cb520.tar.bz2 contact-5d3e672dd7f35c348a98fd149c02c5c9d79cb520.zip | |
Map contact persons to registered users via contact.role_id
contact.role_id stores the user_id of the linked registered user (NULL = no
account). load() joins users_users on role_id to expose linked_user_login and
linked_user_name. verify() accepts user_id from the edit form and writes it to
contact_store['role_id']. getList() now filters by user_id key (was role_id).
Edit form shows the user_id field to admins with current login shown inline;
display template shows the linked user when set.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'add_business.php')
0 files changed, 0 insertions, 0 deletions
