Skip to content

Commit

Permalink
FIX: S:C:DeliveryOrder: Speichern für geschl. Lieferscheine erlauben
Browse files Browse the repository at this point in the history
  • Loading branch information
z4m1n0 committed Sep 18, 2024
1 parent 7094cde commit a774963
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions SL/Controller/DeliveryOrder.pm
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,6 @@ sub action_close_order {

$self->js
->flash("info", t8("The record has been closed."))
->run('kivi.ActionBar.setDisabled', '#save_action',
t8('This record has already been closed.'))
->run('kivi.ActionBar.setDisabled', '#save_and_close',
t8('This record has already been closed.'))
->html('#data-status-line', delivery_order_status_line($self->order))
->render
}
Expand Down Expand Up @@ -1975,7 +1971,6 @@ sub setup_edit_action_bar {
}],
disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.')
: $self->order->delivered ? t8('This record has already been delivered.')
: $self->order->closed ? t8('This record has already been closed.')
: undef,
],
action => [
Expand All @@ -1991,7 +1986,6 @@ sub setup_edit_action_bar {
}],
disabled => !$may_edit_create ? t8('You do not have the permissions to access this function.')
: $self->order->delivered ? t8('This record has already been delivered.')
: $self->order->closed ? t8('This record has already been closed.')
: undef,
],
action => [
Expand Down

0 comments on commit a774963

Please sign in to comment.