Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions zmsadmin/templates/block/queue/table.twig
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@
{#DL#}
<td>Dieser Kunde ist geparkt</td>
{% if workstation.scope.preferences.client.customTextfieldActivated|default(0) == 1 %}
<td title="{{ item.customTextfield|decodeEntities }}">
<td title="{{ item.customTextfield|decodeEntities }}" class="limited-width">
{{ item.customTextfield|decodeEntities|slice(0, textfieldDisplayLength) }}
{% if item.customTextfield|decodeEntities|length > textfieldDisplayLength %}...{% endif %}
</td>
{% endif %}
{% if workstation.scope.preferences.client.customTextfield2Activated|default(0) == 1 %}
<td title="{{ item.customTextfield2|decodeEntities }}">
<td title="{{ item.customTextfield2|decodeEntities }}" class="limited-width">
{{ item.customTextfield2|decodeEntities|slice(0, textfieldDisplayLength) }}
{% if item.customTextfield2|decodeEntities|length > textfieldDisplayLength %}...{% endif %}
</td>
Expand Down Expand Up @@ -422,13 +422,13 @@
</p>
</td>
{% if workstation.scope.preferences.client.customTextfieldActivated|default(0) == 1 %}
<td title="{{ item.customTextfield|decodeEntities }}">
<td title="{{ item.customTextfield|decodeEntities }}" class="limited-width">
{{ item.customTextfield|decodeEntities|slice(0, textfieldDisplayLength) }}
{% if item.customTextfield|decodeEntities|length > textfieldDisplayLength %}...{% endif %}
</td>
{% endif %}
{% if workstation.scope.preferences.client.customTextfield2Activated|default(0) == 1 %}
<td title="{{ item.customTextfield2|decodeEntities }}">
<td title="{{ item.customTextfield2|decodeEntities }}" class ="limited-width">
{{ item.customTextfield2|decodeEntities|slice(0, textfieldDisplayLength) }}
{% if item.customTextfield2|decodeEntities|length > textfieldDisplayLength %}...{% endif %}
</td>
Expand Down Expand Up @@ -553,13 +553,13 @@
{#DL#}
<td>Dieser Kunde ist nicht erschienen</td>
{% if workstation.scope.preferences.client.customTextfieldActivated|default(0) == 1 %}
<td title="{{ item.customTextfield|decodeEntities }}">
<td title="{{ item.customTextfield|decodeEntities }}" class="limited-width">
{{ item.customTextfield|decodeEntities|slice(0, textfieldDisplayLength) }}
{% if item.customTextfield|decodeEntities|length > textfieldDisplayLength %}...{% endif %}
</td>
{% endif %}
{% if workstation.scope.preferences.client.customTextfield2Activated|default(0) == 1 %}
<td title="{{ item.customTextfield2|decodeEntities }}">
<td title="{{ item.customTextfield2|decodeEntities }}" class="limited-width">
{{ item.customTextfield2|decodeEntities|slice(0, textfieldDisplayLength) }}
{% if item.customTextfield2|decodeEntities|length > textfieldDisplayLength %}...{% endif %}
</td>
Expand Down Expand Up @@ -719,4 +719,9 @@ content.addClass('hidden')
cursor: not-allowed;
pointer-events: none;
}
.limited-width {
overflow-wrap: break-word;
hyphens: auto;
max-width: 300px;
}
</style>
12 changes: 3 additions & 9 deletions zmsdb/src/Zmsdb/Query/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -875,15 +875,9 @@ protected function addValuesClientData($process)
if ($client && $client->offsetExists('notificationsSendCount')) {
$data['SMSverschickt'] = ('-1' == $client->notificationsSendCount) ? 0 : $client->notificationsSendCount;
}
if ($process->getAmendment()) {
$data['Anmerkung'] = $process->getAmendment();
}
if ($process->getCustomTextfield()) {
$data['custom_text_field'] = $process->getCustomTextfield();
}
if ($process->getCustomTextfield2()) {
$data['custom_text_field2'] = $process->getCustomTextfield2();
}
$data['Anmerkung'] = $process->getAmendment();
$data['custom_text_field'] = $process->getCustomTextfield();
$data['custom_text_field2'] = $process->getCustomTextfield2();
$data['zustimmung_kundenbefragung'] = ($client->surveyAccepted) ? 1 : 0;
$data['Erinnerungszeitpunkt'] = $process->getReminderTimestamp();
$data['AnzahlPersonen'] = $process->getClients()->count();
Expand Down