Revision cce0311c
Von Bernd Bleßmann vor fast 4 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
350 | 350 |
|
351 | 351 |
$self->save_history('PRINTED'); |
352 | 352 |
|
353 |
$self->js->render; |
|
353 |
$self->js |
|
354 |
->run('kivi.ActionBar.setEnabled', '#save_and_email_action') |
|
355 |
->render; |
|
354 | 356 |
} |
355 | 357 |
|
356 | 358 |
# open the email dialog |
... | ... | |
1861 | 1863 |
], |
1862 | 1864 |
action => [ |
1863 | 1865 |
t8('Save and E-mail'), |
1866 |
id => 'save_and_email_action', |
|
1864 | 1867 |
call => [ 'kivi.Order.save', 'save_and_show_email_dialog', $::instance_conf->get_order_warn_duplicate_parts ], |
1865 | 1868 |
disabled => !$self->order->id ? t8('This object has not been saved yet.') : undef, |
1866 | 1869 |
], |
Auch abrufbar als: Unified diff
Order-Controller: Knopf f. E-Mail-Aktion nach "Speichern und drucken" freigeben