- Added customer search functionality in the solution management editor, allowing users to select a customer. - Updated the API endpoint for incoming call logging to use the local recipient extension. - Implemented a new case number navigation feature in the global search. - Modified case creation logic to include relations and adjust module visibility. - Added tests for new features including customer selection in solutions and call logging URL changes.
42 lines
2.4 KiB
HTML
42 lines
2.4 KiB
HTML
{% extends "modules/sag/templates/detail_v4.html" %}
|
|
{% block title %}{{ case.titel }} · Sagsbord V5 - BMC Hub{% endblock %}
|
|
{% block extra_css %}
|
|
{{ super() }}
|
|
<link rel="stylesheet" href="/static/css/case-v5.css">
|
|
{% endblock %}
|
|
{% block content %}
|
|
{{ super() }}
|
|
<template id="caseV5Tools">
|
|
<div class="v5-version-line"><span>Sagsbord <strong>V5</strong></span><div><a href="/planner">Åbn Planner</a><a href="/sag/{{ case.id }}/v4">Åbn V4</a></div></div>
|
|
</template>
|
|
<template id="caseV5ComposerTools">
|
|
<div class="v5-composer-actions">
|
|
<button id="v5ActionToggle" type="button" class="btn btn-outline-secondary" aria-label="Tilføj handling" aria-expanded="false" aria-controls="v5ActionMenu"><i class="bi bi-plus-lg"></i></button>
|
|
<div id="v5SelectedActions" class="v5-selected-actions" aria-live="polite"></div>
|
|
</div>
|
|
<div id="v5ActionMenu" class="v5-action-menu" hidden>
|
|
<div class="v5-menu-title">Tilføj handling</div>
|
|
<div id="v5ActionOptions" class="v5-action-options"></div>
|
|
</div>
|
|
<div id="v5AssignmentFields" class="v5-assignment-fields" hidden>
|
|
<label for="v5GroupSearch">Søg gruppe</label>
|
|
<input id="v5GroupSearch" class="form-control form-control-sm" type="search" placeholder="Find gruppe…" autocomplete="off">
|
|
<div id="v5GroupOptions" class="v5-picker" aria-label="Vælg gruppe"></div>
|
|
<label for="v5UserSearch">Søg ansvarlig medarbejder</label>
|
|
<input id="v5UserSearch" class="form-control form-control-sm" type="search" placeholder="Vælg først en gruppe…" autocomplete="off" disabled>
|
|
<div id="v5UserOptions" class="v5-picker" aria-label="Vælg ansvarlig medarbejder"></div>
|
|
<label for="v5AssignmentReason">Begrundelse for tildeling <span class="text-danger">*</span></label>
|
|
<textarea id="v5AssignmentReason" class="form-control" rows="2" maxlength="2000" placeholder="Hvorfor overdrages sagen?"></textarea>
|
|
<p class="small text-muted mt-2 mb-0">Kommentar og begrundelse gemmes internt. Andre medarbejdere i den valgte gruppe bevares.</p>
|
|
</div>
|
|
<div id="v5SubmitFeedback" class="small mt-2" role="status" aria-live="polite"></div>
|
|
</template>
|
|
<script id="caseV5Data" type="application/json">{{ {
|
|
'caseId': case.id,
|
|
'groups': assignment_groups or [],
|
|
'groupId': case.assigned_group_id,
|
|
'userId': case.ansvarlig_bruger_id
|
|
}|tojson }}</script>
|
|
<script src="/static/js/case-v5.js"></script>
|
|
{% endblock %}
|