Revision 0f862705
Von Bernd Bleßmann vor mehr als 4 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
1822 | 1822 |
t8('Save and Sales Order'), |
1823 | 1823 |
submit => [ '#order_form', { action => "Order/sales_order" } ], |
1824 | 1824 |
only_if => (any { $self->type eq $_ } (sales_quotation_type(), purchase_order_type())), |
1825 |
disabled => !$self->order->id ? t8('This object has not been saved yet.') : undef, |
|
1826 | 1825 |
], |
1827 | 1826 |
action => [ |
1828 | 1827 |
t8('Save and Purchase Order'), |
1829 | 1828 |
submit => [ '#order_form', { action => "Order/purchase_order" } ], |
1830 | 1829 |
only_if => (any { $self->type eq $_ } (sales_order_type(), request_quotation_type())), |
1831 |
disabled => !$self->order->id ? t8('This object has not been saved yet.') : undef, |
|
1832 | 1830 |
], |
1833 | 1831 |
action => [ |
1834 | 1832 |
t8('Save and Delivery Order'), |
Auch abrufbar als: Unified diff
Auftrags-Controller: "Speichern und ..." nicht ausgrauen, wenn nicht gespeichert…
…, da vorher ohnehin gespeichert wird.