Skip to content

Commit

Permalink
feat(ZMS-3507): redirect without appointment (#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
manjencic authored Feb 3, 2025
1 parent 2fa7c15 commit a67a422
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions zmsadmin/templates/block/process/info.twig
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,8 @@
</dl>
<a class="button button--positive button--fullwidth button-finish right" href="{{ urlGet("workstationProcessFinished", {}, {}) }}" style="margin: 0.5em 0;">Fertig stellen</a>

{% if workstation.process.withAppointment %}
<a class="button button--default button--fullwidth button-finish right" href="{{ urlGet("workstationProcessRedirect", {}, {}) }}" style="margin: 0.5em 0;">Weiterleiten</a>
{% endif %}
<button
<a class="button button--default button--fullwidth button-finish right" href="{{ urlGet("workstationProcessRedirect", {}, {}) }}" style="margin: 0.5em 0;">Weiterleiten</a>
<button
type="button"
class="button button--fullwidth client-called_button-parked left"
style="margin: 0.5em 0; background-color: #edc00f; border-color: #edc00f !important;"
Expand Down
2 changes: 1 addition & 1 deletion zmsapi/src/Zmsapi/ProcessRedirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function readResponse(
$newProcess = (new \BO\Zmsdb\Process())->redirectToScope(
$newProcess,
$process->scope,
$process->id,
$process->queue['number'] ?? $process->id,
$workstation->getUseraccount()
);

Expand Down

0 comments on commit a67a422

Please sign in to comment.