Revision 68748667
Von Tamino Steinert vor 6 Tagen hinzugefügt
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
|
||
$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.'))
|
||
->run('kivi.ActionBar.setDisabled', '#close_order',
|
||
t8('This record has already been closed.'))
|
||
->html('#data-status-line', delivery_order_status_line($self->order))
|
||
... | ... | |
}],
|
||
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 => [
|
||
... | ... | |
}],
|
||
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 => [
|
Auch abrufbar als: Unified diff
FIX: S:C:DeliveryOrder: Speichern für geschl. Lieferscheine erlauben