feat: enhance agent profile with availability status and signature #3002
+77
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1.Agent Availability Status
Introduced an Availability Status field for agents (e.g. Available / Away).
This allows the system to clearly distinguish agents who are currently available to take tickets.
Added a Signature field to the HD Agent doctype.
This can be used in ticket responses and communications.
When assigning a ticket:
Only available agents are shown in the Assign To dropdown.
Prevents accidental assignment to away agents.
If an agent is marked as Away, a warning popup is shown during assignment.
Implemented a custom assign_to_conditions override to ensure:
Agent filtering is enforced at the backend level.
Only agents with availability status = Available are returned in assignment queries.
#issue #2872 – Enhance Agent’s Profile