Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ZMS-3507): redirect without appointment #775

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open
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
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
Loading